[jboss-svn-commits] JBL Code SVN: r21645 - in labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools: ws_ht and 2 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Aug 21 00:42:18 EDT 2008
Author: mark.proctor at jboss.com
Date: 2008-08-21 00:42:18 -0400 (Thu, 21 Aug 2008)
New Revision: 21645
Added:
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/ObjectFactory.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TArgument.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TBoolean.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TBooleanExpr.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadline.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadlineExpr.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadlines.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDelegation.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDescription.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDocumentation.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDurationExpr.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TEscalation.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExpression.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensibleElements.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensibleMixedContentElements.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtension.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensions.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TFrom.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TGenericHumanRole.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TGrouplist.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/THumanInteractions.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TImport.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLiteral.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLocalNotification.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLogicalPeopleGroup.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLogicalPeopleGroups.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotification.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotificationInterface.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotifications.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TOrganizationalEntity.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TParameter.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPeopleAssignments.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPotentialDelegatees.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationElements.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationParameter.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationParameters.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPriority.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TQuery.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TReassignment.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TRendering.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TRenderings.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTask.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTaskInterface.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTasks.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TText.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TToPart.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TToParts.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TUserlist.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/ObjectFactory.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TAttachment.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TAttachmentInfo.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TComment.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TStatus.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTask.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskAbstract.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskQueryResultRow.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskQueryResultSet.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/package-info.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Activate.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ActivateResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddAttachment.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddAttachmentResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddComment.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddCommentResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Claim.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ClaimResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Complete.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/CompleteResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Delegate.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DelegateResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteAttachments.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteAttachmentsResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteFault.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteFaultResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteOutput.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteOutputResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Fail.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/FailResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Forward.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ForwardResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentInfos.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentInfosResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachments.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentsResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetComments.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetCommentsResposne.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetFault.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetFaultResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetInput.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetInputResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTaskAbstracts.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTaskAbstractsResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTasks.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTasksResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetOutput.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetOutputResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRendering.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingTypes.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingTypesResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskDescription.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskDescriptionResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskInfo.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskInfoResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/IllegalState.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Nominate.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/NominateResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ObjectFactory.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Query.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/QueryResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Release.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ReleaseResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Remove.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/RemoveResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Resume.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ResumeResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetFault.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetFaultResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetGenericHumanRole.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetGenericHumanRoleResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetOutput.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetOutputResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetPriority.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetPriorityResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Skip.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SkipResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Start.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/StartResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Stop.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/StopResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Suspend.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendUntil.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendUntilResponse.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/TTime.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/package-info.java
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/package-info.java
Removed:
labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/task/
Log:
JBRULES-1745 WS-Human-Task
-Added complete EJB3 persistable JAXB model
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/ObjectFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/ObjectFactory.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/ObjectFactory.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.drools.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 _TaskInitiator_QNAME = new QName("http://www.drools.org/WS-HT", "taskInitiator");
+ private final static QName _LogicalPeopleGroups_QNAME = new QName("http://www.drools.org/WS-HT", "logicalPeopleGroups");
+ private final static QName _PeopleAssignments_QNAME = new QName("http://www.drools.org/WS-HT", "peopleAssignments");
+ private final static QName _Tasks_QNAME = new QName("http://www.drools.org/WS-HT", "tasks");
+ private final static QName _BusinessAdministrators_QNAME = new QName("http://www.drools.org/WS-HT", "businessAdministrators");
+ private final static QName _Import_QNAME = new QName("http://www.drools.org/WS-HT", "import");
+ private final static QName _PotentialOwners_QNAME = new QName("http://www.drools.org/WS-HT", "potentialOwners");
+ private final static QName _Group_QNAME = new QName("http://www.drools.org/WS-HT", "group");
+ private final static QName _Recipients_QNAME = new QName("http://www.drools.org/WS-HT", "recipients");
+ private final static QName _HumanInteractions_QNAME = new QName("http://www.drools.org/WS-HT", "humanInteractions");
+ private final static QName _Notification_QNAME = new QName("http://www.drools.org/WS-HT", "notification");
+ private final static QName _Groups_QNAME = new QName("http://www.drools.org/WS-HT", "groups");
+ private final static QName _Notifications_QNAME = new QName("http://www.drools.org/WS-HT", "notifications");
+ private final static QName _Priority_QNAME = new QName("http://www.drools.org/WS-HT", "priority");
+ private final static QName _TaskStakeholders_QNAME = new QName("http://www.drools.org/WS-HT", "taskStakeholders");
+ private final static QName _OrganizationalEntity_QNAME = new QName("http://www.drools.org/WS-HT", "organizationalEntity");
+ private final static QName _ExcludedOwners_QNAME = new QName("http://www.drools.org/WS-HT", "excludedOwners");
+ private final static QName _User_QNAME = new QName("http://www.drools.org/WS-HT", "user");
+ private final static QName _Task_QNAME = new QName("http://www.drools.org/WS-HT", "task");
+ private final static QName _Users_QNAME = new QName("http://www.drools.org/WS-HT", "users");
+ private final static QName _TExtensibleMixedContentElementsDocumentation_QNAME = new QName("http://www.drools.org/WS-HT", "documentation");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.drools.ws_ht
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link TNotification }
+ *
+ */
+ public TNotification createTNotification() {
+ return new TNotification();
+ }
+
+ /**
+ * Create an instance of {@link TNotifications }
+ *
+ */
+ public TNotifications createTNotifications() {
+ return new TNotifications();
+ }
+
+ /**
+ * Create an instance of {@link TText }
+ *
+ */
+ public TText createTText() {
+ return new TText();
+ }
+
+ /**
+ * Create an instance of {@link TArgument }
+ *
+ */
+ public TArgument createTArgument() {
+ return new TArgument();
+ }
+
+ /**
+ * Create an instance of {@link TReassignment }
+ *
+ */
+ public TReassignment createTReassignment() {
+ return new TReassignment();
+ }
+
+ /**
+ * Create an instance of {@link TExtension }
+ *
+ */
+ public TExtension createTExtension() {
+ return new TExtension();
+ }
+
+ /**
+ * Create an instance of {@link THumanInteractions }
+ *
+ */
+ public THumanInteractions createTHumanInteractions() {
+ return new THumanInteractions();
+ }
+
+ /**
+ * Create an instance of {@link TTaskInterface }
+ *
+ */
+ public TTaskInterface createTTaskInterface() {
+ return new TTaskInterface();
+ }
+
+ /**
+ * Create an instance of {@link TToParts }
+ *
+ */
+ public TToParts createTToParts() {
+ return new TToParts();
+ }
+
+ /**
+ * Create an instance of {@link TPresentationElements }
+ *
+ */
+ public TPresentationElements createTPresentationElements() {
+ return new TPresentationElements();
+ }
+
+ /**
+ * Create an instance of {@link TDurationExpr }
+ *
+ */
+ public TDurationExpr createTDurationExpr() {
+ return new TDurationExpr();
+ }
+
+ /**
+ * Create an instance of {@link TDeadlines }
+ *
+ */
+ public TDeadlines createTDeadlines() {
+ return new TDeadlines();
+ }
+
+ /**
+ * Create an instance of {@link TDelegation }
+ *
+ */
+ public TDelegation createTDelegation() {
+ return new TDelegation();
+ }
+
+ /**
+ * Create an instance of {@link TLogicalPeopleGroup }
+ *
+ */
+ public TLogicalPeopleGroup createTLogicalPeopleGroup() {
+ return new TLogicalPeopleGroup();
+ }
+
+ /**
+ * Create an instance of {@link TExpression }
+ *
+ */
+ public TExpression createTExpression() {
+ return new TExpression();
+ }
+
+ /**
+ * Create an instance of {@link TPresentationParameters }
+ *
+ */
+ public TPresentationParameters createTPresentationParameters() {
+ return new TPresentationParameters();
+ }
+
+ /**
+ * 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 TDeadline }
+ *
+ */
+ public TDeadline createTDeadline() {
+ return new TDeadline();
+ }
+
+ /**
+ * Create an instance of {@link TUserlist }
+ *
+ */
+ public TUserlist createTUserlist() {
+ return new TUserlist();
+ }
+
+ /**
+ * Create an instance of {@link TPresentationParameter }
+ *
+ */
+ public TPresentationParameter createTPresentationParameter() {
+ return new TPresentationParameter();
+ }
+
+ /**
+ * Create an instance of {@link TLocalNotification }
+ *
+ */
+ public TLocalNotification createTLocalNotification() {
+ return new TLocalNotification();
+ }
+
+ /**
+ * Create an instance of {@link TTask }
+ *
+ */
+ public TTask createTTask() {
+ return new TTask();
+ }
+
+ /**
+ * Create an instance of {@link TNotificationInterface }
+ *
+ */
+ public TNotificationInterface createTNotificationInterface() {
+ return new TNotificationInterface();
+ }
+
+ /**
+ * Create an instance of {@link TGenericHumanRole }
+ *
+ */
+ public TGenericHumanRole createTGenericHumanRole() {
+ return new TGenericHumanRole();
+ }
+
+ /**
+ * Create an instance of {@link TTasks }
+ *
+ */
+ public TTasks createTTasks() {
+ return new TTasks();
+ }
+
+ /**
+ * Create an instance of {@link TFrom }
+ *
+ */
+ public TFrom createTFrom() {
+ return new TFrom();
+ }
+
+ /**
+ * Create an instance of {@link TImport }
+ *
+ */
+ public TImport createTImport() {
+ return new TImport();
+ }
+
+ /**
+ * Create an instance of {@link TExtensibleMixedContentElements }
+ *
+ */
+ public TExtensibleMixedContentElements createTExtensibleMixedContentElements() {
+ return new TExtensibleMixedContentElements();
+ }
+
+ /**
+ * Create an instance of {@link TToPart }
+ *
+ */
+ public TToPart createTToPart() {
+ return new TToPart();
+ }
+
+ /**
+ * Create an instance of {@link TDocumentation }
+ *
+ */
+ public TDocumentation createTDocumentation() {
+ return new TDocumentation();
+ }
+
+ /**
+ * Create an instance of {@link TGrouplist }
+ *
+ */
+ public TGrouplist createTGrouplist() {
+ return new TGrouplist();
+ }
+
+ /**
+ * Create an instance of {@link TLiteral }
+ *
+ */
+ public TLiteral createTLiteral() {
+ return new TLiteral();
+ }
+
+ /**
+ * Create an instance of {@link TLogicalPeopleGroups }
+ *
+ */
+ public TLogicalPeopleGroups createTLogicalPeopleGroups() {
+ return new TLogicalPeopleGroups();
+ }
+
+ /**
+ * Create an instance of {@link TPriority }
+ *
+ */
+ public TPriority createTPriority() {
+ return new TPriority();
+ }
+
+ /**
+ * Create an instance of {@link TQuery }
+ *
+ */
+ public TQuery createTQuery() {
+ return new TQuery();
+ }
+
+ /**
+ * Create an instance of {@link TRendering }
+ *
+ */
+ public TRendering createTRendering() {
+ return new TRendering();
+ }
+
+ /**
+ * Create an instance of {@link TParameter }
+ *
+ */
+ public TParameter createTParameter() {
+ return new TParameter();
+ }
+
+ /**
+ * Create an instance of {@link TPeopleAssignments }
+ *
+ */
+ public TPeopleAssignments createTPeopleAssignments() {
+ return new TPeopleAssignments();
+ }
+
+ /**
+ * Create an instance of {@link TBooleanExpr }
+ *
+ */
+ public TBooleanExpr createTBooleanExpr() {
+ return new TBooleanExpr();
+ }
+
+ /**
+ * Create an instance of {@link TDescription }
+ *
+ */
+ public TDescription createTDescription() {
+ return new TDescription();
+ }
+
+ /**
+ * Create an instance of {@link TExtensions }
+ *
+ */
+ public TExtensions createTExtensions() {
+ return new TExtensions();
+ }
+
+ /**
+ * Create an instance of {@link TExtensibleElements }
+ *
+ */
+ public TExtensibleElements createTExtensibleElements() {
+ return new TExtensibleElements();
+ }
+
+ /**
+ * Create an instance of {@link TOrganizationalEntity }
+ *
+ */
+ public TOrganizationalEntity createTOrganizationalEntity() {
+ return new TOrganizationalEntity();
+ }
+
+ /**
+ * Create an instance of {@link TDeadlineExpr }
+ *
+ */
+ public TDeadlineExpr createTDeadlineExpr() {
+ return new TDeadlineExpr();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TLogicalPeopleGroups }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TPeopleAssignments }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TTasks }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TImport }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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.drools.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 String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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.drools.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 THumanInteractions }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TNotification }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TGrouplist }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TNotifications }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TPriority }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TOrganizationalEntity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TGenericHumanRole }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TTask }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TUserlist }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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 TDocumentation }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.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/ws_ht/TArgument.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TArgument.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TArgument.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TBoolean.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TBoolean.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TBoolean.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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/ws_ht/TBooleanExpr.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TBooleanExpr.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TBooleanExpr.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tBoolean-expr")
+ at Entity(name = "org.drools.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/ws_ht/TDeadline.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadline.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadline.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <choice>
+ * <element name="for" type="{http://www.drools.org/WS-HT}tDuration-expr"/>
+ * <element name="until" type="{http://www.drools.org/WS-HT}tDeadline-expr"/>
+ * </choice>
+ * <element name="escalation" type="{http://www.drools.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.drools.ws_ht.TDeadline")
+ at Table(name = "TDEADLINE")
+public class TDeadline
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(name = "for")
+ protected org.drools.ws_ht.TDurationExpr _for;
+ protected org.drools.ws_ht.TDeadlineExpr until;
+ protected List<org.drools.ws_ht.TEscalation> escalation;
+
+ /**
+ * Gets the value of the for property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TDurationExpr }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TDurationExpr.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "FOR__TDEADLINE_ID")
+ public org.drools.ws_ht.TDurationExpr getFor() {
+ return _for;
+ }
+
+ /**
+ * Sets the value of the for property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TDurationExpr }
+ *
+ */
+ public void setFor(org.drools.ws_ht.TDurationExpr value) {
+ this._for = value;
+ }
+
+ /**
+ * Gets the value of the until property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TDeadlineExpr }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TDeadlineExpr.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "UNTIL__TDEADLINE_ID")
+ public org.drools.ws_ht.TDeadlineExpr getUntil() {
+ return until;
+ }
+
+ /**
+ * Sets the value of the until property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TDeadlineExpr }
+ *
+ */
+ public void setUntil(org.drools.ws_ht.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.ws_ht.TEscalation }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TEscalation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ESCALATION_TDEADLINE_ID")
+ public List<org.drools.ws_ht.TEscalation> getEscalation() {
+ if (escalation == null) {
+ escalation = new ArrayList<org.drools.ws_ht.TEscalation>();
+ }
+ return this.escalation;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setEscalation(List<org.drools.ws_ht.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/ws_ht/TDeadlineExpr.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadlineExpr.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadlineExpr.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDeadline-expr")
+ at Entity(name = "org.drools.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/ws_ht/TDeadlines.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadlines.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDeadlines.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="startDeadline" type="{http://www.drools.org/WS-HT}tDeadline" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="completionDeadline" type="{http://www.drools.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.drools.ws_ht.TDeadlines")
+ at Table(name = "TDEADLINES")
+public class TDeadlines
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.TDeadline> startDeadline;
+ protected List<org.drools.ws_ht.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.ws_ht.TDeadline }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TDeadline.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "STARTDEADLINE_TDEADLINES_ID")
+ public List<org.drools.ws_ht.TDeadline> getStartDeadline() {
+ if (startDeadline == null) {
+ startDeadline = new ArrayList<org.drools.ws_ht.TDeadline>();
+ }
+ return this.startDeadline;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setStartDeadline(List<org.drools.ws_ht.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.ws_ht.TDeadline }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TDeadline.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "COMPLETIONDEADLINE_TDEADLINE_0")
+ public List<org.drools.ws_ht.TDeadline> getCompletionDeadline() {
+ if (completionDeadline == null) {
+ completionDeadline = new ArrayList<org.drools.ws_ht.TDeadline>();
+ }
+ return this.completionDeadline;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setCompletionDeadline(List<org.drools.ws_ht.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/ws_ht/TDelegation.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDelegation.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDelegation.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="from" type="{http://www.drools.org/WS-HT}tFrom" minOccurs="0"/>
+ * </sequence>
+ * <attribute name="potentialDelegatees" use="required" type="{http://www.drools.org/WS-HT}tPotentialDelegatees" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDelegation", propOrder = {
+ "from"
+})
+ at Entity(name = "org.drools.ws_ht.TDelegation")
+ at Table(name = "TDELEGATION")
+public class TDelegation
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.ws_ht.TFrom from;
+ @XmlAttribute(required = true)
+ protected TPotentialDelegatees potentialDelegatees;
+
+ /**
+ * Gets the value of the from property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TFrom }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TFrom.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "FROM__TDELEGATION_ID")
+ public org.drools.ws_ht.TFrom getFrom() {
+ return from;
+ }
+
+ /**
+ * Sets the value of the from property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TFrom }
+ *
+ */
+ public void setFrom(org.drools.ws_ht.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/ws_ht/TDescription.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDescription.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDescription.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TDocumentation.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDocumentation.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDocumentation.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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 String }
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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.ws_ht.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.drools.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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", 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/ws_ht/TDurationExpr.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDurationExpr.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TDurationExpr.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tDuration-expr")
+ at Entity(name = "org.drools.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/ws_ht/TEscalation.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TEscalation.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TEscalation.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="condition" type="{http://www.drools.org/WS-HT}tBoolean-expr" minOccurs="0"/>
+ * <element name="toParts" type="{http://www.drools.org/WS-HT}tToParts" maxOccurs="unbounded" minOccurs="0"/>
+ * <choice>
+ * <element ref="{http://www.drools.org/WS-HT}notification"/>
+ * <element name="localNotification" type="{http://www.drools.org/WS-HT}tLocalNotification"/>
+ * <element name="reassignment" type="{http://www.drools.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.drools.ws_ht.TEscalation")
+ at Table(name = "TESCALATION")
+public class TEscalation
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.ws_ht.TBooleanExpr condition;
+ protected List<org.drools.ws_ht.TToParts> toParts;
+ protected org.drools.ws_ht.TNotification notification;
+ protected org.drools.ws_ht.TLocalNotification localNotification;
+ protected org.drools.ws_ht.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.ws_ht.TBooleanExpr }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TBooleanExpr.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "CONDITION_TESCALATION_ID")
+ public org.drools.ws_ht.TBooleanExpr getCondition() {
+ return condition;
+ }
+
+ /**
+ * Sets the value of the condition property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TBooleanExpr }
+ *
+ */
+ public void setCondition(org.drools.ws_ht.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.ws_ht.TToParts }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TToParts.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TOPARTS_TESCALATION_ID")
+ public List<org.drools.ws_ht.TToParts> getToParts() {
+ if (toParts == null) {
+ toParts = new ArrayList<org.drools.ws_ht.TToParts>();
+ }
+ return this.toParts;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setToParts(List<org.drools.ws_ht.TToParts> toParts) {
+ this.toParts = toParts;
+ }
+
+ /**
+ * Gets the value of the notification property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TNotification }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TNotification.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NOTIFICATION_TESCALATION_ID")
+ public org.drools.ws_ht.TNotification getNotification() {
+ return notification;
+ }
+
+ /**
+ * Sets the value of the notification property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TNotification }
+ *
+ */
+ public void setNotification(org.drools.ws_ht.TNotification value) {
+ this.notification = value;
+ }
+
+ /**
+ * Gets the value of the localNotification property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TLocalNotification }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TLocalNotification.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "LOCALNOTIFICATION_TESCALATIO_0")
+ public org.drools.ws_ht.TLocalNotification getLocalNotification() {
+ return localNotification;
+ }
+
+ /**
+ * Sets the value of the localNotification property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TLocalNotification }
+ *
+ */
+ public void setLocalNotification(org.drools.ws_ht.TLocalNotification value) {
+ this.localNotification = value;
+ }
+
+ /**
+ * Gets the value of the reassignment property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TReassignment }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TReassignment.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "REASSIGNMENT_TESCALATION_ID")
+ public org.drools.ws_ht.TReassignment getReassignment() {
+ return reassignment;
+ }
+
+ /**
+ * Sets the value of the reassignment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TReassignment }
+ *
+ */
+ public void setReassignment(org.drools.ws_ht.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/ws_ht/TExpression.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExpression.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExpression.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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 String }
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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.ws_ht.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.drools.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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", 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/ws_ht/TExtensibleElements.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensibleElements.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensibleElements.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.ws_ht.TExtensibleElements")
+ at Table(name = "TEXTENSIBLEELEMENTS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.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.ws_ht.TDocumentation }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TDocumentation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DOCUMENTATION_TEXTENSIBLEELE_0")
+ public List<org.drools.ws_ht.TDocumentation> getDocumentation() {
+ if (documentation == null) {
+ documentation = new ArrayList<org.drools.ws_ht.TDocumentation>();
+ }
+ return this.documentation;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setDocumentation(List<org.drools.ws_ht.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 Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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.ws_ht.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.drools.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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", 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/ws_ht/TExtensibleMixedContentElements.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensibleMixedContentElements.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensibleMixedContentElements.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.ws_ht.TExtensibleMixedContentElements")
+ at Table(name = "TEXTENSIBLEMIXEDCONTENTELEME_1")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TExtensibleMixedContentElements
+ implements Equals, HashCode
+{
+
+ @XmlElementRef(name = "documentation", namespace = "http://www.drools.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.ws_ht.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.ws_ht.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.drools.ws_ht.TExtensibleMixedContentElements$ContentItem")
+ @Table(name = "TEXTENSIBLEMIXEDCONTENTELEME_0")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class ContentItem
+ implements MixedItem<Object> , Equals, HashCode
+ {
+
+ @XmlElementRef(name = "documentation", namespace = "http://www.drools.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.ws_ht.TDocumentation }{@code >}
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ * {@link Element }
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.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.ws_ht.TDocumentation.class, new QName("http://www.drools.org/WS-HT", "documentation"), TExtensibleMixedContentElements.class, this.getItem()))&&JAXBContextUtils.isElement("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TDocumentation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMDOCUMENTATION_TEXTENSIBL_0")
+ public org.drools.ws_ht.TDocumentation getItemDocumentation() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TDocumentation.class, new QName("http://www.drools.org/WS-HT", "documentation"), TExtensibleMixedContentElements.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TDocumentation> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemDocumentation(org.drools.ws_ht.TDocumentation target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TDocumentation.class, new QName("http://www.drools.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/ws_ht/TExtension.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtension.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtension.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.org/WS-HT}tBoolean" />
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tExtension")
+ at Entity(name = "org.drools.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/ws_ht/TExtensions.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensions.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TExtensions.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="extension" type="{http://www.drools.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.drools.ws_ht.TExtensions")
+ at Table(name = "TEXTENSIONS")
+public class TExtensions
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.ws_ht.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.ws_ht.TExtension }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TExtension.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "EXTENSION_TEXTENSIONS_ID")
+ public List<org.drools.ws_ht.TExtension> getExtension() {
+ if (extension == null) {
+ extension = new ArrayList<org.drools.ws_ht.TExtension>();
+ }
+ return this.extension;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setExtension(List<org.drools.ws_ht.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/ws_ht/TFrom.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TFrom.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TFrom.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleMixedContentElements">
+ * <sequence>
+ * <choice>
+ * <element name="argument" type="{http://www.drools.org/WS-HT}tArgument" minOccurs="0"/>
+ * <element name="literal" type="{http://www.drools.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.drools.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/ws_ht/TGenericHumanRole.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TGenericHumanRole.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TGenericHumanRole.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="from" type="{http://www.drools.org/WS-HT}tFrom"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tGenericHumanRole", propOrder = {
+ "from"
+})
+ at Entity(name = "org.drools.ws_ht.TGenericHumanRole")
+ at Table(name = "TGENERICHUMANROLE")
+public class TGenericHumanRole
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TFrom from;
+
+ /**
+ * Gets the value of the from property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TFrom }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TFrom.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "FROM__TGENERICHUMANROLE_ID")
+ public org.drools.ws_ht.TFrom getFrom() {
+ return from;
+ }
+
+ /**
+ * Sets the value of the from property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TFrom }
+ *
+ */
+ public void setFrom(org.drools.ws_ht.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/ws_ht/TGrouplist.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TGrouplist.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TGrouplist.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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.ws_ht.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.drools.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.drools.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/ws_ht/THumanInteractions.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/THumanInteractions.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/THumanInteractions.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="extensions" type="{http://www.drools.org/WS-HT}tExtensions" minOccurs="0"/>
+ * <element name="import" type="{http://www.drools.org/WS-HT}tImport" maxOccurs="unbounded" minOccurs="0"/>
+ * <element ref="{http://www.drools.org/WS-HT}logicalPeopleGroups" minOccurs="0"/>
+ * <element ref="{http://www.drools.org/WS-HT}tasks" minOccurs="0"/>
+ * <element ref="{http://www.drools.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.drools.ws_ht.THumanInteractions")
+ at Table(name = "THUMANINTERACTIONS")
+public class THumanInteractions
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.ws_ht.TExtensions extensions;
+ @XmlElement(name = "import")
+ protected List<org.drools.ws_ht.TImport> _import;
+ protected org.drools.ws_ht.TLogicalPeopleGroups logicalPeopleGroups;
+ protected org.drools.ws_ht.TTasks tasks;
+ protected org.drools.ws_ht.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.ws_ht.TExtensions }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TExtensions.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "EXTENSIONS_THUMANINTERACTION_0")
+ public org.drools.ws_ht.TExtensions getExtensions() {
+ return extensions;
+ }
+
+ /**
+ * Sets the value of the extensions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TExtensions }
+ *
+ */
+ public void setExtensions(org.drools.ws_ht.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.ws_ht.TImport }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TImport.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "IMPORT_THUMANINTERACTIONS_ID")
+ public List<org.drools.ws_ht.TImport> getImport() {
+ if (_import == null) {
+ _import = new ArrayList<org.drools.ws_ht.TImport>();
+ }
+ return this._import;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setImport(List<org.drools.ws_ht.TImport> _import) {
+ this._import = _import;
+ }
+
+ /**
+ * Gets the value of the logicalPeopleGroups property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TLogicalPeopleGroups }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TLogicalPeopleGroups.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "LOGICALPEOPLEGROUPS_THUMANIN_0")
+ public org.drools.ws_ht.TLogicalPeopleGroups getLogicalPeopleGroups() {
+ return logicalPeopleGroups;
+ }
+
+ /**
+ * Sets the value of the logicalPeopleGroups property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TLogicalPeopleGroups }
+ *
+ */
+ public void setLogicalPeopleGroups(org.drools.ws_ht.TLogicalPeopleGroups value) {
+ this.logicalPeopleGroups = value;
+ }
+
+ /**
+ * Gets the value of the tasks property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TTasks }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TTasks.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASKS_THUMANINTERACTIONS_ID")
+ public org.drools.ws_ht.TTasks getTasks() {
+ return tasks;
+ }
+
+ /**
+ * Sets the value of the tasks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TTasks }
+ *
+ */
+ public void setTasks(org.drools.ws_ht.TTasks value) {
+ this.tasks = value;
+ }
+
+ /**
+ * Gets the value of the notifications property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TNotifications }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TNotifications.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NOTIFICATIONS_THUMANINTERACT_0")
+ public org.drools.ws_ht.TNotifications getNotifications() {
+ return notifications;
+ }
+
+ /**
+ * Sets the value of the notifications property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TNotifications }
+ *
+ */
+ public void setNotifications(org.drools.ws_ht.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/ws_ht/TImport.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TImport.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TImport.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TLiteral.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLiteral.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLiteral.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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 String }
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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.ws_ht.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.drools.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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", 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/ws_ht/TLocalNotification.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLocalNotification.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLocalNotification.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <choice>
+ * <sequence>
+ * <element ref="{http://www.drools.org/WS-HT}priority" minOccurs="0"/>
+ * <element ref="{http://www.drools.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.drools.ws_ht.TLocalNotification")
+ at Table(name = "TLOCALNOTIFICATION")
+public class TLocalNotification
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected org.drools.ws_ht.TPriority priority;
+ protected org.drools.ws_ht.TPeopleAssignments peopleAssignments;
+ @XmlAttribute(required = true)
+ protected QName reference;
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPriority }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPriority.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRIORITY_TLOCALNOTIFICATION__0")
+ public org.drools.ws_ht.TPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPriority }
+ *
+ */
+ public void setPriority(org.drools.ws_ht.TPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the peopleAssignments property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPeopleAssignments }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPeopleAssignments.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PEOPLEASSIGNMENTS_TLOCALNOTI_0")
+ public org.drools.ws_ht.TPeopleAssignments getPeopleAssignments() {
+ return peopleAssignments;
+ }
+
+ /**
+ * Sets the value of the peopleAssignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPeopleAssignments }
+ *
+ */
+ public void setPeopleAssignments(org.drools.ws_ht.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/ws_ht/TLogicalPeopleGroup.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLogicalPeopleGroup.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLogicalPeopleGroup.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="parameter" type="{http://www.drools.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.drools.ws_ht.TLogicalPeopleGroup")
+ at Table(name = "TLOGICALPEOPLEGROUP")
+public class TLogicalPeopleGroup
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.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.ws_ht.TParameter }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TParameter.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PARAMETER__TLOGICALPEOPLEGRO_0")
+ public List<org.drools.ws_ht.TParameter> getParameter() {
+ if (parameter == null) {
+ parameter = new ArrayList<org.drools.ws_ht.TParameter>();
+ }
+ return this.parameter;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setParameter(List<org.drools.ws_ht.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/ws_ht/TLogicalPeopleGroups.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLogicalPeopleGroups.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TLogicalPeopleGroups.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="logicalPeopleGroup" type="{http://www.drools.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.drools.ws_ht.TLogicalPeopleGroups")
+ at Table(name = "TLOGICALPEOPLEGROUPS")
+public class TLogicalPeopleGroups
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.ws_ht.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.ws_ht.TLogicalPeopleGroup }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TLogicalPeopleGroup.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "LOGICALPEOPLEGROUP_TLOGICALP_0")
+ public List<org.drools.ws_ht.TLogicalPeopleGroup> getLogicalPeopleGroup() {
+ if (logicalPeopleGroup == null) {
+ logicalPeopleGroup = new ArrayList<org.drools.ws_ht.TLogicalPeopleGroup>();
+ }
+ return this.logicalPeopleGroup;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setLogicalPeopleGroup(List<org.drools.ws_ht.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/ws_ht/TNotification.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotification.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotification.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="interface" type="{http://www.drools.org/WS-HT}tNotificationInterface"/>
+ * <element ref="{http://www.drools.org/WS-HT}priority" minOccurs="0"/>
+ * <element ref="{http://www.drools.org/WS-HT}peopleAssignments"/>
+ * <element name="presentationElements" type="{http://www.drools.org/WS-HT}tPresentationElements"/>
+ * <element name="renderings" type="{http://www.drools.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.drools.ws_ht.TNotification")
+ at Table(name = "TNOTIFICATION")
+public class TNotification
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(name = "interface", required = true)
+ protected org.drools.ws_ht.TNotificationInterface _interface;
+ protected org.drools.ws_ht.TPriority priority;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TPeopleAssignments peopleAssignments;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TPresentationElements presentationElements;
+ protected org.drools.ws_ht.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.ws_ht.TNotificationInterface }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TNotificationInterface.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "INTERFACE_TNOTIFICATION_ID")
+ public org.drools.ws_ht.TNotificationInterface getInterface() {
+ return _interface;
+ }
+
+ /**
+ * Sets the value of the interface property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TNotificationInterface }
+ *
+ */
+ public void setInterface(org.drools.ws_ht.TNotificationInterface value) {
+ this._interface = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPriority }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPriority.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRIORITY_TNOTIFICATION_ID")
+ public org.drools.ws_ht.TPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPriority }
+ *
+ */
+ public void setPriority(org.drools.ws_ht.TPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the peopleAssignments property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPeopleAssignments }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPeopleAssignments.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PEOPLEASSIGNMENTS_TNOTIFICAT_0")
+ public org.drools.ws_ht.TPeopleAssignments getPeopleAssignments() {
+ return peopleAssignments;
+ }
+
+ /**
+ * Sets the value of the peopleAssignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPeopleAssignments }
+ *
+ */
+ public void setPeopleAssignments(org.drools.ws_ht.TPeopleAssignments value) {
+ this.peopleAssignments = value;
+ }
+
+ /**
+ * Gets the value of the presentationElements property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPresentationElements }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPresentationElements.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONELEMENTS_TNOTIFI_0")
+ public org.drools.ws_ht.TPresentationElements getPresentationElements() {
+ return presentationElements;
+ }
+
+ /**
+ * Sets the value of the presentationElements property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPresentationElements }
+ *
+ */
+ public void setPresentationElements(org.drools.ws_ht.TPresentationElements value) {
+ this.presentationElements = value;
+ }
+
+ /**
+ * Gets the value of the renderings property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TRenderings }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TRenderings.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "RENDERINGS_TNOTIFICATION_ID")
+ public org.drools.ws_ht.TRenderings getRenderings() {
+ return renderings;
+ }
+
+ /**
+ * Sets the value of the renderings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TRenderings }
+ *
+ */
+ public void setRenderings(org.drools.ws_ht.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/ws_ht/TNotificationInterface.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotificationInterface.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotificationInterface.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TNotifications.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotifications.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TNotifications.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element ref="{http://www.drools.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.drools.ws_ht.TNotifications")
+ at Table(name = "TNOTIFICATIONS")
+public class TNotifications
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.ws_ht.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.ws_ht.TNotification }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TNotification.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NOTIFICATION_TNOTIFICATIONS__0")
+ public List<org.drools.ws_ht.TNotification> getNotification() {
+ if (notification == null) {
+ notification = new ArrayList<org.drools.ws_ht.TNotification>();
+ }
+ return this.notification;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setNotification(List<org.drools.ws_ht.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/ws_ht/TOrganizationalEntity.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TOrganizationalEntity.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TOrganizationalEntity.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,189 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}users"/>
+ * <element ref="{http://www.drools.org/WS-HT}groups"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tOrganizationalEntity", propOrder = {
+ "users",
+ "groups"
+})
+ at Entity(name = "org.drools.ws_ht.TOrganizationalEntity")
+ at Table(name = "TORGANIZATIONALENTITY")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TOrganizationalEntity implements Equals, HashCode
+{
+
+ protected org.drools.ws_ht.TUserlist users;
+ protected org.drools.ws_ht.TGrouplist groups;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the users property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TUserlist }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TUserlist.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "USERS_TORGANIZATIONALENTITY__0")
+ public org.drools.ws_ht.TUserlist getUsers() {
+ return users;
+ }
+
+ /**
+ * Sets the value of the users property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TUserlist }
+ *
+ */
+ public void setUsers(org.drools.ws_ht.TUserlist value) {
+ this.users = value;
+ }
+
+ /**
+ * Gets the value of the groups property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TGrouplist }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TGrouplist.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "GROUPS_TORGANIZATIONALENTITY_0")
+ public org.drools.ws_ht.TGrouplist getGroups() {
+ return groups;
+ }
+
+ /**
+ * Sets the value of the groups property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TGrouplist }
+ *
+ */
+ public void setGroups(org.drools.ws_ht.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/ws_ht/TParameter.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TParameter.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TParameter.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TPeopleAssignments.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPeopleAssignments.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPeopleAssignments.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <group ref="{http://www.drools.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.drools.ws_ht.TPeopleAssignments")
+ at Table(name = "TPEOPLEASSIGNMENTS")
+public class TPeopleAssignments
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "recipients", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskStakeholders", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskInitiator", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "excludedOwners", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "businessAdministrators", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "potentialOwners", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class)
+ })
+ protected List<JAXBElement<org.drools.ws_ht.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.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ *
+ *
+ */
+ @Transient
+ public List<JAXBElement<org.drools.ws_ht.TGenericHumanRole>> getGenericHumanRole() {
+ if (genericHumanRole == null) {
+ genericHumanRole = new ArrayList<JAXBElement<org.drools.ws_ht.TGenericHumanRole>>();
+ }
+ return this.genericHumanRole;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setGenericHumanRole(List<JAXBElement<org.drools.ws_ht.TGenericHumanRole>> genericHumanRole) {
+ this.genericHumanRole = genericHumanRole;
+ }
+
+ @OneToMany(targetEntity = org.drools.ws_ht.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.drools.ws_ht.TPeopleAssignments$GenericHumanRoleItem")
+ @Table(name = "TPEOPLEASSIGNMENTSGENERICHUM_0")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class GenericHumanRoleItem
+ implements Item<JAXBElement<org.drools.ws_ht.TGenericHumanRole>> , Equals, HashCode
+ {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "recipients", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskStakeholders", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "taskInitiator", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "excludedOwners", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "businessAdministrators", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class),
+ @XmlElementRef(name = "potentialOwners", namespace = "http://www.drools.org/WS-HT", type = JAXBElement.class)
+ })
+ protected JAXBElement<org.drools.ws_ht.TGenericHumanRole> item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ *
+ */
+ @Transient
+ public JAXBElement<org.drools.ws_ht.TGenericHumanRole> getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TGenericHumanRole }{@code >}
+ *
+ */
+ public void setItem(JAXBElement<org.drools.ws_ht.TGenericHumanRole> value) {
+ this.item = ((JAXBElement<org.drools.ws_ht.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.ws_ht.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMRECIPIENTS_TPEOPLEASSIGN_0")
+ public org.drools.ws_ht.TGenericHumanRole getItemRecipients() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "recipients"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemRecipients(org.drools.ws_ht.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "recipients"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMTASKSTAKEHOLDERS_TPEOPLE_0")
+ public org.drools.ws_ht.TGenericHumanRole getItemTaskStakeholders() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "taskStakeholders"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemTaskStakeholders(org.drools.ws_ht.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "taskStakeholders"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMTASKINITIATOR_TPEOPLEASS_0")
+ public org.drools.ws_ht.TGenericHumanRole getItemTaskInitiator() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "taskInitiator"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemTaskInitiator(org.drools.ws_ht.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "taskInitiator"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMEXCLUDEDOWNERS_TPEOPLEAS_0")
+ public org.drools.ws_ht.TGenericHumanRole getItemExcludedOwners() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "excludedOwners"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemExcludedOwners(org.drools.ws_ht.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "excludedOwners"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMBUSINESSADMINISTRATORS_T_0")
+ public org.drools.ws_ht.TGenericHumanRole getItemBusinessAdministrators() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "businessAdministrators"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemBusinessAdministrators(org.drools.ws_ht.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "businessAdministrators"), JAXBElement.GlobalScope.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMPOTENTIALOWNERS_TPEOPLEA_0")
+ public org.drools.ws_ht.TGenericHumanRole getItemPotentialOwners() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "potentialOwners"), JAXBElement.GlobalScope.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TGenericHumanRole> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPotentialOwners(org.drools.ws_ht.TGenericHumanRole target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TGenericHumanRole.class, new QName("http://www.drools.org/WS-HT", "potentialOwners"), 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/ws_ht/TPotentialDelegatees.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPotentialDelegatees.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPotentialDelegatees.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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/ws_ht/TPresentationElements.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationElements.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationElements.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="name" type="{http://www.drools.org/WS-HT}tText" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="presentationParameters" type="{http://www.drools.org/WS-HT}tPresentationParameters" minOccurs="0"/>
+ * <element name="subject" type="{http://www.drools.org/WS-HT}tText" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="description" type="{http://www.drools.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.drools.ws_ht.TPresentationElements")
+ at Table(name = "TPRESENTATIONELEMENTS")
+public class TPresentationElements
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.TText> name;
+ protected org.drools.ws_ht.TPresentationParameters presentationParameters;
+ protected List<org.drools.ws_ht.TText> subject;
+ protected List<org.drools.ws_ht.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.ws_ht.TText }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TText.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NAME__TPRESENTATIONELEMENTS__0")
+ public List<org.drools.ws_ht.TText> getName() {
+ if (name == null) {
+ name = new ArrayList<org.drools.ws_ht.TText>();
+ }
+ return this.name;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setName(List<org.drools.ws_ht.TText> name) {
+ this.name = name;
+ }
+
+ /**
+ * Gets the value of the presentationParameters property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPresentationParameters }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPresentationParameters.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONPARAMETERS_TPRES_0")
+ public org.drools.ws_ht.TPresentationParameters getPresentationParameters() {
+ return presentationParameters;
+ }
+
+ /**
+ * Sets the value of the presentationParameters property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPresentationParameters }
+ *
+ */
+ public void setPresentationParameters(org.drools.ws_ht.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.ws_ht.TText }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TText.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "SUBJECT_TPRESENTATIONELEMENT_0")
+ public List<org.drools.ws_ht.TText> getSubject() {
+ if (subject == null) {
+ subject = new ArrayList<org.drools.ws_ht.TText>();
+ }
+ return this.subject;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setSubject(List<org.drools.ws_ht.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.ws_ht.TDescription }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TDescription.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DESCRIPTION_TPRESENTATIONELE_0")
+ public List<org.drools.ws_ht.TDescription> getDescription() {
+ if (description == null) {
+ description = new ArrayList<org.drools.ws_ht.TDescription>();
+ }
+ return this.description;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setDescription(List<org.drools.ws_ht.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/ws_ht/TPresentationParameter.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationParameter.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationParameter.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tParameter">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tPresentationParameter")
+ at Entity(name = "org.drools.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/ws_ht/TPresentationParameters.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationParameters.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPresentationParameters.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="presentationParameter" type="{http://www.drools.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.drools.ws_ht.TPresentationParameters")
+ at Table(name = "TPRESENTATIONPARAMETERS")
+public class TPresentationParameters
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.ws_ht.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.ws_ht.TPresentationParameter }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TPresentationParameter.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONPARAMETER_TPRESE_0")
+ public List<org.drools.ws_ht.TPresentationParameter> getPresentationParameter() {
+ if (presentationParameter == null) {
+ presentationParameter = new ArrayList<org.drools.ws_ht.TPresentationParameter>();
+ }
+ return this.presentationParameter;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setPresentationParameter(List<org.drools.ws_ht.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/ws_ht/TPriority.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPriority.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TPriority.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExpression">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tPriority")
+ at Entity(name = "org.drools.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/ws_ht/TQuery.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TQuery.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TQuery.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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 String }
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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.ws_ht.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.drools.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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", 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/ws_ht/TReassignment.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TReassignment.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TReassignment.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element ref="{http://www.drools.org/WS-HT}potentialOwners"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tReassignment", propOrder = {
+ "potentialOwners"
+})
+ at Entity(name = "org.drools.ws_ht.TReassignment")
+ at Table(name = "TREASSIGNMENT")
+public class TReassignment
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TGenericHumanRole potentialOwners;
+
+ /**
+ * Gets the value of the potentialOwners property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TGenericHumanRole }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TGenericHumanRole.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "POTENTIALOWNERS_TREASSIGNMEN_0")
+ public org.drools.ws_ht.TGenericHumanRole getPotentialOwners() {
+ return potentialOwners;
+ }
+
+ /**
+ * Sets the value of the potentialOwners property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TGenericHumanRole }
+ *
+ */
+ public void setPotentialOwners(org.drools.ws_ht.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/ws_ht/TRendering.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TRendering.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TRendering.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TRenderings.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TRenderings.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TRenderings.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="rendering" type="{http://www.drools.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.drools.ws_ht.TRenderings")
+ at Table(name = "TRENDERINGS")
+public class TRenderings
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.ws_ht.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.ws_ht.TRendering }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TRendering.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "RENDERING_TRENDERINGS_ID")
+ public List<org.drools.ws_ht.TRendering> getRendering() {
+ if (rendering == null) {
+ rendering = new ArrayList<org.drools.ws_ht.TRendering>();
+ }
+ return this.rendering;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setRendering(List<org.drools.ws_ht.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/ws_ht/TTask.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTask.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTask.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="interface" type="{http://www.drools.org/WS-HT}tTaskInterface"/>
+ * <element ref="{http://www.drools.org/WS-HT}priority" minOccurs="0"/>
+ * <element ref="{http://www.drools.org/WS-HT}peopleAssignments"/>
+ * <element name="delegation" type="{http://www.drools.org/WS-HT}tDelegation" minOccurs="0"/>
+ * <element name="presentationElements" type="{http://www.drools.org/WS-HT}tPresentationElements"/>
+ * <element name="outcome" type="{http://www.drools.org/WS-HT}tQuery" minOccurs="0"/>
+ * <element name="searchBy" type="{http://www.drools.org/WS-HT}tExpression" minOccurs="0"/>
+ * <element name="renderings" type="{http://www.drools.org/WS-HT}tRenderings" minOccurs="0"/>
+ * <element name="deadlines" type="{http://www.drools.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.drools.ws_ht.TTask")
+ at Table(name = "TTASK")
+public class TTask
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(name = "interface", required = true)
+ protected org.drools.ws_ht.TTaskInterface _interface;
+ protected org.drools.ws_ht.TPriority priority;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TPeopleAssignments peopleAssignments;
+ protected org.drools.ws_ht.TDelegation delegation;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TPresentationElements presentationElements;
+ protected org.drools.ws_ht.TQuery outcome;
+ protected org.drools.ws_ht.TExpression searchBy;
+ protected org.drools.ws_ht.TRenderings renderings;
+ protected org.drools.ws_ht.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.ws_ht.TTaskInterface }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TTaskInterface.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "INTERFACE_TTASK_ID")
+ public org.drools.ws_ht.TTaskInterface getInterface() {
+ return _interface;
+ }
+
+ /**
+ * Sets the value of the interface property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TTaskInterface }
+ *
+ */
+ public void setInterface(org.drools.ws_ht.TTaskInterface value) {
+ this._interface = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPriority }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPriority.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRIORITY_TTASK_ID")
+ public org.drools.ws_ht.TPriority getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPriority }
+ *
+ */
+ public void setPriority(org.drools.ws_ht.TPriority value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the peopleAssignments property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPeopleAssignments }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPeopleAssignments.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PEOPLEASSIGNMENTS_TTASK_ID")
+ public org.drools.ws_ht.TPeopleAssignments getPeopleAssignments() {
+ return peopleAssignments;
+ }
+
+ /**
+ * Sets the value of the peopleAssignments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPeopleAssignments }
+ *
+ */
+ public void setPeopleAssignments(org.drools.ws_ht.TPeopleAssignments value) {
+ this.peopleAssignments = value;
+ }
+
+ /**
+ * Gets the value of the delegation property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TDelegation }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TDelegation.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DELEGATION_TTASK_ID")
+ public org.drools.ws_ht.TDelegation getDelegation() {
+ return delegation;
+ }
+
+ /**
+ * Sets the value of the delegation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TDelegation }
+ *
+ */
+ public void setDelegation(org.drools.ws_ht.TDelegation value) {
+ this.delegation = value;
+ }
+
+ /**
+ * Gets the value of the presentationElements property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TPresentationElements }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TPresentationElements.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "PRESENTATIONELEMENTS_TTASK_ID")
+ public org.drools.ws_ht.TPresentationElements getPresentationElements() {
+ return presentationElements;
+ }
+
+ /**
+ * Sets the value of the presentationElements property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TPresentationElements }
+ *
+ */
+ public void setPresentationElements(org.drools.ws_ht.TPresentationElements value) {
+ this.presentationElements = value;
+ }
+
+ /**
+ * Gets the value of the outcome property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TQuery }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TQuery.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "OUTCOME_TTASK_ID")
+ public org.drools.ws_ht.TQuery getOutcome() {
+ return outcome;
+ }
+
+ /**
+ * Sets the value of the outcome property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TQuery }
+ *
+ */
+ public void setOutcome(org.drools.ws_ht.TQuery value) {
+ this.outcome = value;
+ }
+
+ /**
+ * Gets the value of the searchBy property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TExpression }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TExpression.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "SEARCHBY_TTASK_ID")
+ public org.drools.ws_ht.TExpression getSearchBy() {
+ return searchBy;
+ }
+
+ /**
+ * Sets the value of the searchBy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TExpression }
+ *
+ */
+ public void setSearchBy(org.drools.ws_ht.TExpression value) {
+ this.searchBy = value;
+ }
+
+ /**
+ * Gets the value of the renderings property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TRenderings }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TRenderings.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "RENDERINGS_TTASK_ID")
+ public org.drools.ws_ht.TRenderings getRenderings() {
+ return renderings;
+ }
+
+ /**
+ * Sets the value of the renderings property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TRenderings }
+ *
+ */
+ public void setRenderings(org.drools.ws_ht.TRenderings value) {
+ this.renderings = value;
+ }
+
+ /**
+ * Gets the value of the deadlines property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TDeadlines }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TDeadlines.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "DEADLINES_TTASK_ID")
+ public org.drools.ws_ht.TDeadlines getDeadlines() {
+ return deadlines;
+ }
+
+ /**
+ * Sets the value of the deadlines property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TDeadlines }
+ *
+ */
+ public void setDeadlines(org.drools.ws_ht.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/ws_ht/TTaskInterface.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTaskInterface.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTaskInterface.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TTasks.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTasks.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TTasks.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element ref="{http://www.drools.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.drools.ws_ht.TTasks")
+ at Table(name = "TTASKS")
+public class TTasks
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.ws_ht.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.ws_ht.TTask }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TTask.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASK_TTASKS_ID")
+ public List<org.drools.ws_ht.TTask> getTask() {
+ if (task == null) {
+ task = new ArrayList<org.drools.ws_ht.TTask>();
+ }
+ return this.task;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setTask(List<org.drools.ws_ht.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/ws_ht/TText.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TText.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TText.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TToPart.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TToPart.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TToPart.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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/ws_ht/TToParts.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TToParts.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TToParts.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.org/WS-HT}tExtensibleElements">
+ * <sequence>
+ * <element name="toPart" type="{http://www.drools.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.drools.ws_ht.TToParts")
+ at Table(name = "TTOPARTS")
+public class TToParts
+ extends TExtensibleElements
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected List<org.drools.ws_ht.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.ws_ht.TToPart }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.TToPart.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TOPART_TTOPARTS_ID")
+ public List<org.drools.ws_ht.TToPart> getToPart() {
+ if (toPart == null) {
+ toPart = new ArrayList<org.drools.ws_ht.TToPart>();
+ }
+ return this.toPart;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setToPart(List<org.drools.ws_ht.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/ws_ht/TUserlist.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TUserlist.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/TUserlist.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht;
+
+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.drools.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.drools.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.ws_ht.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.drools.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.drools.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/ws_ht/api/ObjectFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/ObjectFactory.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/ObjectFactory.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,451 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.datatype.XMLGregorianCalendar;
+import javax.xml.namespace.QName;
+import org.drools.ws_ht.TOrganizationalEntity;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.drools.ws_ht.api 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 _AttachmentInfo_QNAME = new QName("http://www.drools.org/WS-HT/api", "attachmentInfo");
+ private final static QName _Attachment_QNAME = new QName("http://www.drools.org/WS-HT/api", "attachment");
+ private final static QName _Task_QNAME = new QName("http://www.drools.org/WS-HT/api", "task");
+ private final static QName _TaskAbstract_QNAME = new QName("http://www.drools.org/WS-HT/api", "taskAbstract");
+ private final static QName _TaskQueryResultSet_QNAME = new QName("http://www.drools.org/WS-HT/api", "taskQueryResultSet");
+ private final static QName _Comment_QNAME = new QName("http://www.drools.org/WS-HT/api", "comment");
+ private final static QName _TTaskQueryResultRowPresentationName_QNAME = new QName("http://www.drools.org/WS-HT/api", "presentationName");
+ private final static QName _TTaskQueryResultRowHasOutput_QNAME = new QName("http://www.drools.org/WS-HT/api", "hasOutput");
+ private final static QName _TTaskQueryResultRowPrimarySearchBy_QNAME = new QName("http://www.drools.org/WS-HT/api", "primarySearchBy");
+ private final static QName _TTaskQueryResultRowPriority_QNAME = new QName("http://www.drools.org/WS-HT/api", "priority");
+ private final static QName _TTaskQueryResultRowTaskType_QNAME = new QName("http://www.drools.org/WS-HT/api", "taskType");
+ private final static QName _TTaskQueryResultRowPresentationSubject_QNAME = new QName("http://www.drools.org/WS-HT/api", "presentationSubject");
+ private final static QName _TTaskQueryResultRowActivationTime_QNAME = new QName("http://www.drools.org/WS-HT/api", "activationTime");
+ private final static QName _TTaskQueryResultRowHasComments_QNAME = new QName("http://www.drools.org/WS-HT/api", "hasComments");
+ private final static QName _TTaskQueryResultRowExpirationTime_QNAME = new QName("http://www.drools.org/WS-HT/api", "expirationTime");
+ private final static QName _TTaskQueryResultRowCreatedOn_QNAME = new QName("http://www.drools.org/WS-HT/api", "createdOn");
+ private final static QName _TTaskQueryResultRowStatus_QNAME = new QName("http://www.drools.org/WS-HT/api", "status");
+ private final static QName _TTaskQueryResultRowStartByExists_QNAME = new QName("http://www.drools.org/WS-HT/api", "startByExists");
+ private final static QName _TTaskQueryResultRowPresentationDescription_QNAME = new QName("http://www.drools.org/WS-HT/api", "presentationDescription");
+ private final static QName _TTaskQueryResultRowHasPotentialOwners_QNAME = new QName("http://www.drools.org/WS-HT/api", "hasPotentialOwners");
+ private final static QName _TTaskQueryResultRowActualOwner_QNAME = new QName("http://www.drools.org/WS-HT/api", "actualOwner");
+ private final static QName _TTaskQueryResultRowCompleteByExists_QNAME = new QName("http://www.drools.org/WS-HT/api", "completeByExists");
+ private final static QName _TTaskQueryResultRowName_QNAME = new QName("http://www.drools.org/WS-HT/api", "name");
+ private final static QName _TTaskQueryResultRowId_QNAME = new QName("http://www.drools.org/WS-HT/api", "id");
+ private final static QName _TTaskQueryResultRowEscalated_QNAME = new QName("http://www.drools.org/WS-HT/api", "escalated");
+ private final static QName _TTaskQueryResultRowBusinessAdministrators_QNAME = new QName("http://www.drools.org/WS-HT/api", "businessAdministrators");
+ private final static QName _TTaskQueryResultRowCreatedBy_QNAME = new QName("http://www.drools.org/WS-HT/api", "createdBy");
+ private final static QName _TTaskQueryResultRowTaskInitiator_QNAME = new QName("http://www.drools.org/WS-HT/api", "taskInitiator");
+ private final static QName _TTaskQueryResultRowIsSkipable_QNAME = new QName("http://www.drools.org/WS-HT/api", "isSkipable");
+ private final static QName _TTaskQueryResultRowNotificationRecipients_QNAME = new QName("http://www.drools.org/WS-HT/api", "notificationRecipients");
+ private final static QName _TTaskQueryResultRowHasFault_QNAME = new QName("http://www.drools.org/WS-HT/api", "hasFault");
+ private final static QName _TTaskQueryResultRowPotentialOwners_QNAME = new QName("http://www.drools.org/WS-HT/api", "potentialOwners");
+ private final static QName _TTaskQueryResultRowHasAttachments_QNAME = new QName("http://www.drools.org/WS-HT/api", "hasAttachments");
+ private final static QName _TTaskQueryResultRowRenderingMethodExists_QNAME = new QName("http://www.drools.org/WS-HT/api", "renderingMethodExists");
+ private final static QName _TTaskQueryResultRowTaskStakeholders_QNAME = new QName("http://www.drools.org/WS-HT/api", "taskStakeholders");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.drools.ws_ht.api
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link TTask }
+ *
+ */
+ public TTask createTTask() {
+ return new TTask();
+ }
+
+ /**
+ * Create an instance of {@link TTaskQueryResultRow }
+ *
+ */
+ public TTaskQueryResultRow createTTaskQueryResultRow() {
+ return new TTaskQueryResultRow();
+ }
+
+ /**
+ * Create an instance of {@link TTaskQueryResultSet }
+ *
+ */
+ public TTaskQueryResultSet createTTaskQueryResultSet() {
+ return new TTaskQueryResultSet();
+ }
+
+ /**
+ * Create an instance of {@link TComment }
+ *
+ */
+ public TComment createTComment() {
+ return new TComment();
+ }
+
+ /**
+ * Create an instance of {@link TAttachmentInfo }
+ *
+ */
+ public TAttachmentInfo createTAttachmentInfo() {
+ return new TAttachmentInfo();
+ }
+
+ /**
+ * Create an instance of {@link TAttachment }
+ *
+ */
+ public TAttachment createTAttachment() {
+ return new TAttachment();
+ }
+
+ /**
+ * Create an instance of {@link TTaskAbstract }
+ *
+ */
+ public TTaskAbstract createTTaskAbstract() {
+ return new TTaskAbstract();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TAttachmentInfo }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "attachmentInfo")
+ public JAXBElement<TAttachmentInfo> createAttachmentInfo(TAttachmentInfo value) {
+ return new JAXBElement<TAttachmentInfo>(_AttachmentInfo_QNAME, TAttachmentInfo.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TAttachment }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "attachment")
+ public JAXBElement<TAttachment> createAttachment(TAttachment value) {
+ return new JAXBElement<TAttachment>(_Attachment_QNAME, TAttachment.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TTask }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", 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 TTaskAbstract }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "taskAbstract")
+ public JAXBElement<TTaskAbstract> createTaskAbstract(TTaskAbstract value) {
+ return new JAXBElement<TTaskAbstract>(_TaskAbstract_QNAME, TTaskAbstract.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TTaskQueryResultSet }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "taskQueryResultSet")
+ public JAXBElement<TTaskQueryResultSet> createTaskQueryResultSet(TTaskQueryResultSet value) {
+ return new JAXBElement<TTaskQueryResultSet>(_TaskQueryResultSet_QNAME, TTaskQueryResultSet.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TComment }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "comment")
+ public JAXBElement<TComment> createComment(TComment value) {
+ return new JAXBElement<TComment>(_Comment_QNAME, TComment.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "presentationName", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowPresentationName(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowPresentationName_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "hasOutput", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowHasOutput(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowHasOutput_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "primarySearchBy", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowPrimarySearchBy(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowPrimarySearchBy_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "priority", scope = TTaskQueryResultRow.class)
+ public JAXBElement<BigInteger> createTTaskQueryResultRowPriority(BigInteger value) {
+ return new JAXBElement<BigInteger>(_TTaskQueryResultRowPriority_QNAME, BigInteger.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "taskType", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowTaskType(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowTaskType_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "presentationSubject", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowPresentationSubject(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowPresentationSubject_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "activationTime", scope = TTaskQueryResultRow.class)
+ public JAXBElement<XMLGregorianCalendar> createTTaskQueryResultRowActivationTime(XMLGregorianCalendar value) {
+ return new JAXBElement<XMLGregorianCalendar>(_TTaskQueryResultRowActivationTime_QNAME, XMLGregorianCalendar.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "hasComments", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowHasComments(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowHasComments_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "expirationTime", scope = TTaskQueryResultRow.class)
+ public JAXBElement<XMLGregorianCalendar> createTTaskQueryResultRowExpirationTime(XMLGregorianCalendar value) {
+ return new JAXBElement<XMLGregorianCalendar>(_TTaskQueryResultRowExpirationTime_QNAME, XMLGregorianCalendar.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "createdOn", scope = TTaskQueryResultRow.class)
+ public JAXBElement<XMLGregorianCalendar> createTTaskQueryResultRowCreatedOn(XMLGregorianCalendar value) {
+ return new JAXBElement<XMLGregorianCalendar>(_TTaskQueryResultRowCreatedOn_QNAME, XMLGregorianCalendar.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TStatus }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "status", scope = TTaskQueryResultRow.class)
+ public JAXBElement<TStatus> createTTaskQueryResultRowStatus(TStatus value) {
+ return new JAXBElement<TStatus>(_TTaskQueryResultRowStatus_QNAME, TStatus.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "startByExists", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowStartByExists(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowStartByExists_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "presentationDescription", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowPresentationDescription(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowPresentationDescription_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "hasPotentialOwners", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowHasPotentialOwners(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowHasPotentialOwners_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "actualOwner", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowActualOwner(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowActualOwner_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "completeByExists", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowCompleteByExists(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowCompleteByExists_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link QName }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "name", scope = TTaskQueryResultRow.class)
+ public JAXBElement<QName> createTTaskQueryResultRowName(QName value) {
+ return new JAXBElement<QName>(_TTaskQueryResultRowName_QNAME, QName.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "id", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowId(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowId_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "escalated", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowEscalated(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowEscalated_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TOrganizationalEntity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "businessAdministrators", scope = TTaskQueryResultRow.class)
+ public JAXBElement<TOrganizationalEntity> createTTaskQueryResultRowBusinessAdministrators(TOrganizationalEntity value) {
+ return new JAXBElement<TOrganizationalEntity>(_TTaskQueryResultRowBusinessAdministrators_QNAME, TOrganizationalEntity.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "createdBy", scope = TTaskQueryResultRow.class)
+ public JAXBElement<String> createTTaskQueryResultRowCreatedBy(String value) {
+ return new JAXBElement<String>(_TTaskQueryResultRowCreatedBy_QNAME, String.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TOrganizationalEntity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "taskInitiator", scope = TTaskQueryResultRow.class)
+ public JAXBElement<TOrganizationalEntity> createTTaskQueryResultRowTaskInitiator(TOrganizationalEntity value) {
+ return new JAXBElement<TOrganizationalEntity>(_TTaskQueryResultRowTaskInitiator_QNAME, TOrganizationalEntity.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "isSkipable", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowIsSkipable(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowIsSkipable_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TOrganizationalEntity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "notificationRecipients", scope = TTaskQueryResultRow.class)
+ public JAXBElement<TOrganizationalEntity> createTTaskQueryResultRowNotificationRecipients(TOrganizationalEntity value) {
+ return new JAXBElement<TOrganizationalEntity>(_TTaskQueryResultRowNotificationRecipients_QNAME, TOrganizationalEntity.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "hasFault", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowHasFault(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowHasFault_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TOrganizationalEntity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "potentialOwners", scope = TTaskQueryResultRow.class)
+ public JAXBElement<TOrganizationalEntity> createTTaskQueryResultRowPotentialOwners(TOrganizationalEntity value) {
+ return new JAXBElement<TOrganizationalEntity>(_TTaskQueryResultRowPotentialOwners_QNAME, TOrganizationalEntity.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "hasAttachments", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowHasAttachments(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowHasAttachments_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "renderingMethodExists", scope = TTaskQueryResultRow.class)
+ public JAXBElement<Boolean> createTTaskQueryResultRowRenderingMethodExists(Boolean value) {
+ return new JAXBElement<Boolean>(_TTaskQueryResultRowRenderingMethodExists_QNAME, Boolean.class, TTaskQueryResultRow.class, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link TOrganizationalEntity }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api", name = "taskStakeholders", scope = TTaskQueryResultRow.class)
+ public JAXBElement<TOrganizationalEntity> createTTaskQueryResultRowTaskStakeholders(TOrganizationalEntity value) {
+ return new JAXBElement<TOrganizationalEntity>(_TTaskQueryResultRowTaskStakeholders_QNAME, TOrganizationalEntity.class, TTaskQueryResultRow.class, value);
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TAttachment.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TAttachment.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TAttachment.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+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.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.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 tAttachment complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tAttachment">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.drools.org/WS-HT/api}attachmentInfo"/>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tAttachment", propOrder = {
+ "attachmentInfo",
+ "value"
+})
+ at Entity(name = "org.drools.ws_ht.api.TAttachment")
+ at Table(name = "TATTACHMENT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TAttachment
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.api.TAttachmentInfo attachmentInfo;
+ @XmlElement(required = true)
+ protected Object value;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the attachmentInfo property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.api.TAttachmentInfo }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.api.TAttachmentInfo.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ATTACHMENTINFO_TATTACHMENT_ID")
+ public org.drools.ws_ht.api.TAttachmentInfo getAttachmentInfo() {
+ return attachmentInfo;
+ }
+
+ /**
+ * Sets the value of the attachmentInfo property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.api.TAttachmentInfo }
+ *
+ */
+ public void setAttachmentInfo(org.drools.ws_ht.api.TAttachmentInfo value) {
+ this.attachmentInfo = value;
+ }
+
+ /**
+ * Gets the value of the value property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setValue(Object value) {
+ this.value = 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 = "VALUEOBJECT")
+ public String getValueObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getValue())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getValue());
+ } else {
+ return null;
+ }
+ }
+
+ public void setValueObject(String target) {
+ if (target!= null) {
+ setValue(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TAttachment)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TAttachment that = ((TAttachment) object);
+ equalsBuilder.append(this.getAttachmentInfo(), that.getAttachmentInfo());
+ equalsBuilder.append(this.getValue(), that.getValue());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TAttachment)) {
+ 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.getAttachmentInfo());
+ hashCodeBuilder.append(this.getValue());
+ }
+
+ 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/ws_ht/api/TAttachmentInfo.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TAttachmentInfo.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TAttachmentInfo.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,525 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+import java.util.ArrayList;
+import java.util.Date;
+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.Temporal;
+import javax.persistence.TemporalType;
+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.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+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.XMLGregorianCalendarAsDateTime;
+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 tAttachmentInfo complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tAttachmentInfo">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="accessType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="attachedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="attachedBy" type="{http://www.drools.org/WS-HT}tUser"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tAttachmentInfo", propOrder = {
+ "name",
+ "accessType",
+ "contentType",
+ "attachedAt",
+ "attachedBy",
+ "any"
+})
+ at Entity(name = "org.drools.ws_ht.api.TAttachmentInfo")
+ at Table(name = "TATTACHMENTINFO")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TAttachmentInfo
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String accessType;
+ @XmlElement(required = true)
+ protected String contentType;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar attachedAt;
+ @XmlElement(required = true)
+ protected String attachedBy;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TAttachmentInfo.AnyItem> anyItems;
+
+ /**
+ * 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 accessType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ACCESSTYPE")
+ public String getAccessType() {
+ return accessType;
+ }
+
+ /**
+ * Sets the value of the accessType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAccessType(String value) {
+ this.accessType = 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;
+ }
+
+ /**
+ * Gets the value of the attachedAt property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getAttachedAt() {
+ return attachedAt;
+ }
+
+ /**
+ * Sets the value of the attachedAt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setAttachedAt(XMLGregorianCalendar value) {
+ this.attachedAt = value;
+ }
+
+ /**
+ * Gets the value of the attachedBy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ATTACHEDBY")
+ public String getAttachedBy() {
+ return attachedBy;
+ }
+
+ /**
+ * Sets the value of the attachedBy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttachedBy(String value) {
+ this.attachedBy = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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 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 = "ATTACHEDATITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getAttachedAtItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getAttachedAt());
+ }
+
+ public void setAttachedAtItem(Date target) {
+ setAttachedAt(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TAttachmentInfo.AnyItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ANYITEMS_TATTACHMENTINFO_ID")
+ public List<TAttachmentInfo.AnyItem> getAnyItems() {
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TAttachmentInfo.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TAttachmentInfo.AnyItem.class);
+ }
+ return this.anyItems;
+ }
+
+ public void setAnyItems(List<TAttachmentInfo.AnyItem> value) {
+ this.any = null;
+ this.anyItems = null;
+ this.anyItems = value;
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TAttachmentInfo.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TAttachmentInfo.AnyItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TAttachmentInfo)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TAttachmentInfo that = ((TAttachmentInfo) object);
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getAccessType(), that.getAccessType());
+ equalsBuilder.append(this.getContentType(), that.getContentType());
+ equalsBuilder.append(this.getAttachedAt(), that.getAttachedAt());
+ equalsBuilder.append(this.getAttachedBy(), that.getAttachedBy());
+ equalsBuilder.append(this.getAny(), that.getAny());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TAttachmentInfo)) {
+ 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.getName());
+ hashCodeBuilder.append(this.getAccessType());
+ hashCodeBuilder.append(this.getContentType());
+ hashCodeBuilder.append(this.getAttachedAt());
+ hashCodeBuilder.append(this.getAttachedBy());
+ hashCodeBuilder.append(this.getAny());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.TAttachmentInfo$AnyItem")
+ @Table(name = "TATTACHMENTINFOANYITEM")
+ @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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TAttachmentInfo.AnyItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TAttachmentInfo.AnyItem that = ((TAttachmentInfo.AnyItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TAttachmentInfo.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/ws_ht/api/TComment.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TComment.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TComment.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,461 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+import java.util.ArrayList;
+import java.util.Date;
+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.Temporal;
+import javax.persistence.TemporalType;
+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.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+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.XMLGregorianCalendarAsDateTime;
+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 tComment complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tComment">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="addedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="addedBy" type="{http://www.drools.org/WS-HT}tUser"/>
+ * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tComment", propOrder = {
+ "addedAt",
+ "addedBy",
+ "text",
+ "any"
+})
+ at Entity(name = "org.drools.ws_ht.api.TComment")
+ at Table(name = "TCOMMENT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TComment
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar addedAt;
+ @XmlElement(required = true)
+ protected String addedBy;
+ @XmlElement(required = true)
+ protected String text;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TComment.AnyItem> anyItems;
+
+ /**
+ * Gets the value of the addedAt property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getAddedAt() {
+ return addedAt;
+ }
+
+ /**
+ * Sets the value of the addedAt property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setAddedAt(XMLGregorianCalendar value) {
+ this.addedAt = value;
+ }
+
+ /**
+ * Gets the value of the addedBy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ADDEDBY")
+ public String getAddedBy() {
+ return addedBy;
+ }
+
+ /**
+ * Sets the value of the addedBy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAddedBy(String value) {
+ this.addedBy = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TEXT")
+ 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 any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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 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 = "ADDEDATITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getAddedAtItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getAddedAt());
+ }
+
+ public void setAddedAtItem(Date target) {
+ setAddedAt(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TComment.AnyItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ANYITEMS_TCOMMENT_ID")
+ public List<TComment.AnyItem> getAnyItems() {
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TComment.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TComment.AnyItem.class);
+ }
+ return this.anyItems;
+ }
+
+ public void setAnyItems(List<TComment.AnyItem> value) {
+ this.any = null;
+ this.anyItems = null;
+ this.anyItems = value;
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TComment.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TComment.AnyItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TComment)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TComment that = ((TComment) object);
+ equalsBuilder.append(this.getAddedAt(), that.getAddedAt());
+ equalsBuilder.append(this.getAddedBy(), that.getAddedBy());
+ equalsBuilder.append(this.getText(), that.getText());
+ equalsBuilder.append(this.getAny(), that.getAny());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TComment)) {
+ 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.getAddedAt());
+ hashCodeBuilder.append(this.getAddedBy());
+ hashCodeBuilder.append(this.getText());
+ hashCodeBuilder.append(this.getAny());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.TComment$AnyItem")
+ @Table(name = "TCOMMENTANYITEM")
+ @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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TComment.AnyItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TComment.AnyItem that = ((TComment.AnyItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TComment.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/ws_ht/api/TStatus.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TStatus.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TStatus.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,61 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for tStatus.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="tStatus">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="CREATED"/>
+ * <enumeration value="READY"/>
+ * <enumeration value="RESERVED"/>
+ * <enumeration value="IN_PROGRESS"/>
+ * <enumeration value="SUSPENDED"/>
+ * <enumeration value="COMPLETED"/>
+ * <enumeration value="FAILED"/>
+ * <enumeration value="ERROR"/>
+ * <enumeration value="EXITED"/>
+ * <enumeration value="OBSOLETE"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+ at XmlType(name = "tStatus")
+ at XmlEnum
+public enum TStatus {
+
+ CREATED,
+ READY,
+ RESERVED,
+ IN_PROGRESS,
+ SUSPENDED,
+ COMPLETED,
+ FAILED,
+ ERROR,
+ EXITED,
+ OBSOLETE;
+
+ public String value() {
+ return name();
+ }
+
+ public static TStatus fromValue(String v) {
+ return valueOf(v);
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTask.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTask.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTask.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,1277 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+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.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.Temporal;
+import javax.persistence.TemporalType;
+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.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+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.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XMLGregorianCalendarAsDateTime;
+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 tTask complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTask">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="taskType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}QName"/>
+ * <element name="status" type="{http://www.drools.org/WS-HT/api}tStatus"/>
+ * <element name="priority" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
+ * <element name="taskInitiator" type="{http://www.drools.org/WS-HT}tUser" minOccurs="0"/>
+ * <element name="taskStakeholders" type="{http://www.drools.org/WS-HT}tOrganizationalEntity" minOccurs="0"/>
+ * <element name="potentialOwners" type="{http://www.drools.org/WS-HT}tOrganizationalEntity" minOccurs="0"/>
+ * <element name="businessAdministrators" type="{http://www.drools.org/WS-HT}tOrganizationalEntity" minOccurs="0"/>
+ * <element name="actualOwner" type="{http://www.drools.org/WS-HT}tUser" minOccurs="0"/>
+ * <element name="notificationRecipients" type="{http://www.drools.org/WS-HT}tOrganizationalEntity" minOccurs="0"/>
+ * <element name="createdOn" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="createdBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="activationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ * <element name="expirationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ * <element name="isSkipable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasPotentialOwners" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="startByExists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="completeByExists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="presentationName" type="{http://www.drools.org/WS-HT/api}tPresentationName" minOccurs="0"/>
+ * <element name="presentationSubject" type="{http://www.drools.org/WS-HT/api}tPresentationSubject" minOccurs="0"/>
+ * <element name="renderingMethodExists" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="hasOutput" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasFault" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasAttachments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasComments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="escalated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="primarySearchBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTask", propOrder = {
+ "id",
+ "taskType",
+ "name",
+ "status",
+ "priority",
+ "taskInitiator",
+ "taskStakeholders",
+ "potentialOwners",
+ "businessAdministrators",
+ "actualOwner",
+ "notificationRecipients",
+ "createdOn",
+ "createdBy",
+ "activationTime",
+ "expirationTime",
+ "isSkipable",
+ "hasPotentialOwners",
+ "startByExists",
+ "completeByExists",
+ "presentationName",
+ "presentationSubject",
+ "renderingMethodExists",
+ "hasOutput",
+ "hasFault",
+ "hasAttachments",
+ "hasComments",
+ "escalated",
+ "primarySearchBy",
+ "any"
+})
+ at Entity(name = "org.drools.ws_ht.api.TTask")
+ at Table(name = "TTASK")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TTask
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected String id;
+ @XmlElement(required = true)
+ protected String taskType;
+ @XmlElement(required = true)
+ protected QName name;
+ @XmlElement(required = true)
+ protected TStatus status;
+ @XmlSchemaType(name = "nonNegativeInteger")
+ protected BigInteger priority;
+ protected String taskInitiator;
+ protected org.drools.ws_ht.TOrganizationalEntity taskStakeholders;
+ protected org.drools.ws_ht.TOrganizationalEntity potentialOwners;
+ protected org.drools.ws_ht.TOrganizationalEntity businessAdministrators;
+ protected String actualOwner;
+ protected org.drools.ws_ht.TOrganizationalEntity notificationRecipients;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar createdOn;
+ protected String createdBy;
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar activationTime;
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar expirationTime;
+ protected Boolean isSkipable;
+ protected Boolean hasPotentialOwners;
+ protected Boolean startByExists;
+ protected Boolean completeByExists;
+ protected String presentationName;
+ protected String presentationSubject;
+ protected boolean renderingMethodExists;
+ protected Boolean hasOutput;
+ protected Boolean hasFault;
+ protected Boolean hasAttachments;
+ protected Boolean hasComments;
+ protected Boolean escalated;
+ protected String primarySearchBy;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TTask.AnyItem> anyItems;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ID")
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the taskType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TASKTYPE")
+ public String getTaskType() {
+ return taskType;
+ }
+
+ /**
+ * Sets the value of the taskType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTaskType(String value) {
+ this.taskType = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setName(QName value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the status property.
+ *
+ * @return
+ * possible object is
+ * {@link TStatus }
+ *
+ */
+ @Basic
+ @Column(name = "STATUS")
+ @Enumerated(EnumType.STRING)
+ public TStatus getStatus() {
+ return status;
+ }
+
+ /**
+ * Sets the value of the status property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TStatus }
+ *
+ */
+ public void setStatus(TStatus value) {
+ this.status = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ @Basic
+ @Column(name = "PRIORITY", scale = 0)
+ public BigInteger getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setPriority(BigInteger value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the taskInitiator property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TASKINITIATOR")
+ public String getTaskInitiator() {
+ return taskInitiator;
+ }
+
+ /**
+ * Sets the value of the taskInitiator property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTaskInitiator(String value) {
+ this.taskInitiator = value;
+ }
+
+ /**
+ * Gets the value of the taskStakeholders property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASKSTAKEHOLDERS_TTASK_ID")
+ public org.drools.ws_ht.TOrganizationalEntity getTaskStakeholders() {
+ return taskStakeholders;
+ }
+
+ /**
+ * Sets the value of the taskStakeholders property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setTaskStakeholders(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.taskStakeholders = value;
+ }
+
+ /**
+ * Gets the value of the potentialOwners property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "POTENTIALOWNERS_TTASK_ID")
+ public org.drools.ws_ht.TOrganizationalEntity getPotentialOwners() {
+ return potentialOwners;
+ }
+
+ /**
+ * Sets the value of the potentialOwners property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setPotentialOwners(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.potentialOwners = value;
+ }
+
+ /**
+ * Gets the value of the businessAdministrators property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "BUSINESSADMINISTRATORS_TTASK_0")
+ public org.drools.ws_ht.TOrganizationalEntity getBusinessAdministrators() {
+ return businessAdministrators;
+ }
+
+ /**
+ * Sets the value of the businessAdministrators property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setBusinessAdministrators(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.businessAdministrators = value;
+ }
+
+ /**
+ * Gets the value of the actualOwner property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ACTUALOWNER")
+ public String getActualOwner() {
+ return actualOwner;
+ }
+
+ /**
+ * Sets the value of the actualOwner property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setActualOwner(String value) {
+ this.actualOwner = value;
+ }
+
+ /**
+ * Gets the value of the notificationRecipients property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "NOTIFICATIONRECIPIENTS_TTASK_0")
+ public org.drools.ws_ht.TOrganizationalEntity getNotificationRecipients() {
+ return notificationRecipients;
+ }
+
+ /**
+ * Sets the value of the notificationRecipients property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setNotificationRecipients(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.notificationRecipients = value;
+ }
+
+ /**
+ * Gets the value of the createdOn property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getCreatedOn() {
+ return createdOn;
+ }
+
+ /**
+ * Sets the value of the createdOn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setCreatedOn(XMLGregorianCalendar value) {
+ this.createdOn = value;
+ }
+
+ /**
+ * Gets the value of the createdBy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "CREATEDBY")
+ public String getCreatedBy() {
+ return createdBy;
+ }
+
+ /**
+ * Sets the value of the createdBy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCreatedBy(String value) {
+ this.createdBy = value;
+ }
+
+ /**
+ * Gets the value of the activationTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getActivationTime() {
+ return activationTime;
+ }
+
+ /**
+ * Sets the value of the activationTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setActivationTime(XMLGregorianCalendar value) {
+ this.activationTime = value;
+ }
+
+ /**
+ * Gets the value of the expirationTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getExpirationTime() {
+ return expirationTime;
+ }
+
+ /**
+ * Sets the value of the expirationTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setExpirationTime(XMLGregorianCalendar value) {
+ this.expirationTime = value;
+ }
+
+ /**
+ * Gets the value of the isSkipable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "ISSKIPABLE")
+ public Boolean isIsSkipable() {
+ return isSkipable;
+ }
+
+ /**
+ * Sets the value of the isSkipable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsSkipable(Boolean value) {
+ this.isSkipable = value;
+ }
+
+ /**
+ * Gets the value of the hasPotentialOwners property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASPOTENTIALOWNERS")
+ public Boolean isHasPotentialOwners() {
+ return hasPotentialOwners;
+ }
+
+ /**
+ * Sets the value of the hasPotentialOwners property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasPotentialOwners(Boolean value) {
+ this.hasPotentialOwners = value;
+ }
+
+ /**
+ * Gets the value of the startByExists property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "STARTBYEXISTS")
+ public Boolean isStartByExists() {
+ return startByExists;
+ }
+
+ /**
+ * Sets the value of the startByExists property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setStartByExists(Boolean value) {
+ this.startByExists = value;
+ }
+
+ /**
+ * Gets the value of the completeByExists property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "COMPLETEBYEXISTS")
+ public Boolean isCompleteByExists() {
+ return completeByExists;
+ }
+
+ /**
+ * Sets the value of the completeByExists property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCompleteByExists(Boolean value) {
+ this.completeByExists = value;
+ }
+
+ /**
+ * Gets the value of the presentationName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "PRESENTATIONNAME", length = 64)
+ public String getPresentationName() {
+ return presentationName;
+ }
+
+ /**
+ * Sets the value of the presentationName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPresentationName(String value) {
+ this.presentationName = value;
+ }
+
+ /**
+ * Gets the value of the presentationSubject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "PRESENTATIONSUBJECT", length = 254)
+ public String getPresentationSubject() {
+ return presentationSubject;
+ }
+
+ /**
+ * Sets the value of the presentationSubject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPresentationSubject(String value) {
+ this.presentationSubject = value;
+ }
+
+ /**
+ * Gets the value of the renderingMethodExists property.
+ *
+ */
+ @Basic
+ @Column(name = "RENDERINGMETHODEXISTS")
+ public boolean isRenderingMethodExists() {
+ return renderingMethodExists;
+ }
+
+ /**
+ * Sets the value of the renderingMethodExists property.
+ *
+ */
+ public void setRenderingMethodExists(boolean value) {
+ this.renderingMethodExists = value;
+ }
+
+ /**
+ * Gets the value of the hasOutput property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASOUTPUT")
+ public Boolean isHasOutput() {
+ return hasOutput;
+ }
+
+ /**
+ * Sets the value of the hasOutput property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasOutput(Boolean value) {
+ this.hasOutput = value;
+ }
+
+ /**
+ * Gets the value of the hasFault property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASFAULT")
+ public Boolean isHasFault() {
+ return hasFault;
+ }
+
+ /**
+ * Sets the value of the hasFault property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasFault(Boolean value) {
+ this.hasFault = value;
+ }
+
+ /**
+ * Gets the value of the hasAttachments property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASATTACHMENTS")
+ public Boolean isHasAttachments() {
+ return hasAttachments;
+ }
+
+ /**
+ * Sets the value of the hasAttachments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasAttachments(Boolean value) {
+ this.hasAttachments = value;
+ }
+
+ /**
+ * Gets the value of the hasComments property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASCOMMENTS")
+ public Boolean isHasComments() {
+ return hasComments;
+ }
+
+ /**
+ * Sets the value of the hasComments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasComments(Boolean value) {
+ this.hasComments = value;
+ }
+
+ /**
+ * Gets the value of the escalated property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "ESCALATED")
+ public Boolean isEscalated() {
+ return escalated;
+ }
+
+ /**
+ * Sets the value of the escalated property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEscalated(Boolean value) {
+ this.escalated = value;
+ }
+
+ /**
+ * Gets the value of the primarySearchBy property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "PRIMARYSEARCHBY")
+ public String getPrimarySearchBy() {
+ return primarySearchBy;
+ }
+
+ /**
+ * Sets the value of the primarySearchBy property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPrimarySearchBy(String value) {
+ this.primarySearchBy = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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 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 = "NAMEITEM")
+ public String getNameItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getName());
+ }
+
+ public void setNameItem(String target) {
+ setName(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ @Basic
+ @Column(name = "CREATEDONITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getCreatedOnItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getCreatedOn());
+ }
+
+ public void setCreatedOnItem(Date target) {
+ setCreatedOn(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @Basic
+ @Column(name = "ACTIVATIONTIMEITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getActivationTimeItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getActivationTime());
+ }
+
+ public void setActivationTimeItem(Date target) {
+ setActivationTime(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @Basic
+ @Column(name = "EXPIRATIONTIMEITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getExpirationTimeItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getExpirationTime());
+ }
+
+ public void setExpirationTimeItem(Date target) {
+ setExpirationTime(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TTask.AnyItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ANYITEMS_TTASK_ID")
+ public List<TTask.AnyItem> getAnyItems() {
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TTask.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TTask.AnyItem.class);
+ }
+ return this.anyItems;
+ }
+
+ public void setAnyItems(List<TTask.AnyItem> value) {
+ this.any = null;
+ this.anyItems = null;
+ this.anyItems = value;
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TTask.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TTask.AnyItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTask)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTask that = ((TTask) object);
+ equalsBuilder.append(this.getId(), that.getId());
+ equalsBuilder.append(this.getTaskType(), that.getTaskType());
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getStatus(), that.getStatus());
+ equalsBuilder.append(this.getPriority(), that.getPriority());
+ equalsBuilder.append(this.getTaskInitiator(), that.getTaskInitiator());
+ equalsBuilder.append(this.getTaskStakeholders(), that.getTaskStakeholders());
+ equalsBuilder.append(this.getPotentialOwners(), that.getPotentialOwners());
+ equalsBuilder.append(this.getBusinessAdministrators(), that.getBusinessAdministrators());
+ equalsBuilder.append(this.getActualOwner(), that.getActualOwner());
+ equalsBuilder.append(this.getNotificationRecipients(), that.getNotificationRecipients());
+ equalsBuilder.append(this.getCreatedOn(), that.getCreatedOn());
+ equalsBuilder.append(this.getCreatedBy(), that.getCreatedBy());
+ equalsBuilder.append(this.getActivationTime(), that.getActivationTime());
+ equalsBuilder.append(this.getExpirationTime(), that.getExpirationTime());
+ equalsBuilder.append(this.isIsSkipable(), that.isIsSkipable());
+ equalsBuilder.append(this.isHasPotentialOwners(), that.isHasPotentialOwners());
+ equalsBuilder.append(this.isStartByExists(), that.isStartByExists());
+ equalsBuilder.append(this.isCompleteByExists(), that.isCompleteByExists());
+ equalsBuilder.append(this.getPresentationName(), that.getPresentationName());
+ equalsBuilder.append(this.getPresentationSubject(), that.getPresentationSubject());
+ equalsBuilder.append(this.isRenderingMethodExists(), that.isRenderingMethodExists());
+ equalsBuilder.append(this.isHasOutput(), that.isHasOutput());
+ equalsBuilder.append(this.isHasFault(), that.isHasFault());
+ equalsBuilder.append(this.isHasAttachments(), that.isHasAttachments());
+ equalsBuilder.append(this.isHasComments(), that.isHasComments());
+ equalsBuilder.append(this.isEscalated(), that.isEscalated());
+ equalsBuilder.append(this.getPrimarySearchBy(), that.getPrimarySearchBy());
+ equalsBuilder.append(this.getAny(), that.getAny());
+ }
+
+ 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) {
+ hashCodeBuilder.append(this.getId());
+ hashCodeBuilder.append(this.getTaskType());
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getStatus());
+ hashCodeBuilder.append(this.getPriority());
+ hashCodeBuilder.append(this.getTaskInitiator());
+ hashCodeBuilder.append(this.getTaskStakeholders());
+ hashCodeBuilder.append(this.getPotentialOwners());
+ hashCodeBuilder.append(this.getBusinessAdministrators());
+ hashCodeBuilder.append(this.getActualOwner());
+ hashCodeBuilder.append(this.getNotificationRecipients());
+ hashCodeBuilder.append(this.getCreatedOn());
+ hashCodeBuilder.append(this.getCreatedBy());
+ hashCodeBuilder.append(this.getActivationTime());
+ hashCodeBuilder.append(this.getExpirationTime());
+ hashCodeBuilder.append(this.isIsSkipable());
+ hashCodeBuilder.append(this.isHasPotentialOwners());
+ hashCodeBuilder.append(this.isStartByExists());
+ hashCodeBuilder.append(this.isCompleteByExists());
+ hashCodeBuilder.append(this.getPresentationName());
+ hashCodeBuilder.append(this.getPresentationSubject());
+ hashCodeBuilder.append(this.isRenderingMethodExists());
+ hashCodeBuilder.append(this.isHasOutput());
+ hashCodeBuilder.append(this.isHasFault());
+ hashCodeBuilder.append(this.isHasAttachments());
+ hashCodeBuilder.append(this.isHasComments());
+ hashCodeBuilder.append(this.isEscalated());
+ hashCodeBuilder.append(this.getPrimarySearchBy());
+ hashCodeBuilder.append(this.getAny());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.TTask$AnyItem")
+ @Table(name = "TTASKANYITEM")
+ @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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTask.AnyItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTask.AnyItem that = ((TTask.AnyItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTask.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/ws_ht/api/TTaskAbstract.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskAbstract.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskAbstract.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,1020 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+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.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.Temporal;
+import javax.persistence.TemporalType;
+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.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+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.QNameAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XMLGregorianCalendarAsDateTime;
+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 tTaskAbstract complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTaskAbstract">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="taskType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}QName"/>
+ * <element name="status" type="{http://www.drools.org/WS-HT/api}tStatus"/>
+ * <element name="priority" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
+ * <element name="createdOn" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="activationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ * <element name="expirationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ * <element name="isSkipable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasPotentialOwners" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="startByExists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="completeByExists" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="presentationName" type="{http://www.drools.org/WS-HT/api}tPresentationName" minOccurs="0"/>
+ * <element name="presentationSubject" type="{http://www.drools.org/WS-HT/api}tPresentationSubject" minOccurs="0"/>
+ * <element name="renderingMethodExists" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="hasOutput" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasFault" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasAttachments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="hasComments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="escalated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTaskAbstract", propOrder = {
+ "id",
+ "taskType",
+ "name",
+ "status",
+ "priority",
+ "createdOn",
+ "activationTime",
+ "expirationTime",
+ "isSkipable",
+ "hasPotentialOwners",
+ "startByExists",
+ "completeByExists",
+ "presentationName",
+ "presentationSubject",
+ "renderingMethodExists",
+ "hasOutput",
+ "hasFault",
+ "hasAttachments",
+ "hasComments",
+ "escalated",
+ "any"
+})
+ at Entity(name = "org.drools.ws_ht.api.TTaskAbstract")
+ at Table(name = "TTASKABSTRACT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TTaskAbstract
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected String id;
+ @XmlElement(required = true)
+ protected String taskType;
+ @XmlElement(required = true)
+ protected QName name;
+ @XmlElement(required = true)
+ protected TStatus status;
+ @XmlSchemaType(name = "nonNegativeInteger")
+ protected BigInteger priority;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar createdOn;
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar activationTime;
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar expirationTime;
+ protected Boolean isSkipable;
+ protected Boolean hasPotentialOwners;
+ protected Boolean startByExists;
+ protected Boolean completeByExists;
+ protected String presentationName;
+ protected String presentationSubject;
+ protected boolean renderingMethodExists;
+ protected Boolean hasOutput;
+ protected Boolean hasFault;
+ protected Boolean hasAttachments;
+ protected Boolean hasComments;
+ protected Boolean escalated;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TTaskAbstract.AnyItem> anyItems;
+
+ /**
+ * Gets the value of the id property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ID")
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the taskType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TASKTYPE")
+ public String getTaskType() {
+ return taskType;
+ }
+
+ /**
+ * Sets the value of the taskType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTaskType(String value) {
+ this.taskType = value;
+ }
+
+ /**
+ * Gets the value of the name property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setName(QName value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the status property.
+ *
+ * @return
+ * possible object is
+ * {@link TStatus }
+ *
+ */
+ @Basic
+ @Column(name = "STATUS")
+ @Enumerated(EnumType.STRING)
+ public TStatus getStatus() {
+ return status;
+ }
+
+ /**
+ * Sets the value of the status property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TStatus }
+ *
+ */
+ public void setStatus(TStatus value) {
+ this.status = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ @Basic
+ @Column(name = "PRIORITY", scale = 0)
+ public BigInteger getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setPriority(BigInteger value) {
+ this.priority = value;
+ }
+
+ /**
+ * Gets the value of the createdOn property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getCreatedOn() {
+ return createdOn;
+ }
+
+ /**
+ * Sets the value of the createdOn property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setCreatedOn(XMLGregorianCalendar value) {
+ this.createdOn = value;
+ }
+
+ /**
+ * Gets the value of the activationTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getActivationTime() {
+ return activationTime;
+ }
+
+ /**
+ * Sets the value of the activationTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setActivationTime(XMLGregorianCalendar value) {
+ this.activationTime = value;
+ }
+
+ /**
+ * Gets the value of the expirationTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getExpirationTime() {
+ return expirationTime;
+ }
+
+ /**
+ * Sets the value of the expirationTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setExpirationTime(XMLGregorianCalendar value) {
+ this.expirationTime = value;
+ }
+
+ /**
+ * Gets the value of the isSkipable property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "ISSKIPABLE")
+ public Boolean isIsSkipable() {
+ return isSkipable;
+ }
+
+ /**
+ * Sets the value of the isSkipable property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setIsSkipable(Boolean value) {
+ this.isSkipable = value;
+ }
+
+ /**
+ * Gets the value of the hasPotentialOwners property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASPOTENTIALOWNERS")
+ public Boolean isHasPotentialOwners() {
+ return hasPotentialOwners;
+ }
+
+ /**
+ * Sets the value of the hasPotentialOwners property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasPotentialOwners(Boolean value) {
+ this.hasPotentialOwners = value;
+ }
+
+ /**
+ * Gets the value of the startByExists property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "STARTBYEXISTS")
+ public Boolean isStartByExists() {
+ return startByExists;
+ }
+
+ /**
+ * Sets the value of the startByExists property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setStartByExists(Boolean value) {
+ this.startByExists = value;
+ }
+
+ /**
+ * Gets the value of the completeByExists property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "COMPLETEBYEXISTS")
+ public Boolean isCompleteByExists() {
+ return completeByExists;
+ }
+
+ /**
+ * Sets the value of the completeByExists property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setCompleteByExists(Boolean value) {
+ this.completeByExists = value;
+ }
+
+ /**
+ * Gets the value of the presentationName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "PRESENTATIONNAME", length = 64)
+ public String getPresentationName() {
+ return presentationName;
+ }
+
+ /**
+ * Sets the value of the presentationName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPresentationName(String value) {
+ this.presentationName = value;
+ }
+
+ /**
+ * Gets the value of the presentationSubject property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "PRESENTATIONSUBJECT", length = 254)
+ public String getPresentationSubject() {
+ return presentationSubject;
+ }
+
+ /**
+ * Sets the value of the presentationSubject property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPresentationSubject(String value) {
+ this.presentationSubject = value;
+ }
+
+ /**
+ * Gets the value of the renderingMethodExists property.
+ *
+ */
+ @Basic
+ @Column(name = "RENDERINGMETHODEXISTS")
+ public boolean isRenderingMethodExists() {
+ return renderingMethodExists;
+ }
+
+ /**
+ * Sets the value of the renderingMethodExists property.
+ *
+ */
+ public void setRenderingMethodExists(boolean value) {
+ this.renderingMethodExists = value;
+ }
+
+ /**
+ * Gets the value of the hasOutput property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASOUTPUT")
+ public Boolean isHasOutput() {
+ return hasOutput;
+ }
+
+ /**
+ * Sets the value of the hasOutput property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasOutput(Boolean value) {
+ this.hasOutput = value;
+ }
+
+ /**
+ * Gets the value of the hasFault property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASFAULT")
+ public Boolean isHasFault() {
+ return hasFault;
+ }
+
+ /**
+ * Sets the value of the hasFault property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasFault(Boolean value) {
+ this.hasFault = value;
+ }
+
+ /**
+ * Gets the value of the hasAttachments property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASATTACHMENTS")
+ public Boolean isHasAttachments() {
+ return hasAttachments;
+ }
+
+ /**
+ * Sets the value of the hasAttachments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasAttachments(Boolean value) {
+ this.hasAttachments = value;
+ }
+
+ /**
+ * Gets the value of the hasComments property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "HASCOMMENTS")
+ public Boolean isHasComments() {
+ return hasComments;
+ }
+
+ /**
+ * Sets the value of the hasComments property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setHasComments(Boolean value) {
+ this.hasComments = value;
+ }
+
+ /**
+ * Gets the value of the escalated property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ @Basic
+ @Column(name = "ESCALATED")
+ public Boolean isEscalated() {
+ return escalated;
+ }
+
+ /**
+ * Sets the value of the escalated property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setEscalated(Boolean value) {
+ this.escalated = value;
+ }
+
+ /**
+ * Gets the value of the any property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the any property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAny().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Element }
+ * {@link Object }
+ *
+ *
+ */
+ @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 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 = "NAMEITEM")
+ public String getNameItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getName());
+ }
+
+ public void setNameItem(String target) {
+ setName(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ @Basic
+ @Column(name = "CREATEDONITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getCreatedOnItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getCreatedOn());
+ }
+
+ public void setCreatedOnItem(Date target) {
+ setCreatedOn(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @Basic
+ @Column(name = "ACTIVATIONTIMEITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getActivationTimeItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getActivationTime());
+ }
+
+ public void setActivationTimeItem(Date target) {
+ setActivationTime(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @Basic
+ @Column(name = "EXPIRATIONTIMEITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getExpirationTimeItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getExpirationTime());
+ }
+
+ public void setExpirationTimeItem(Date target) {
+ setExpirationTime(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TTaskAbstract.AnyItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ANYITEMS_TTASKABSTRACT_ID")
+ public List<TTaskAbstract.AnyItem> getAnyItems() {
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TTaskAbstract.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TTaskAbstract.AnyItem.class);
+ }
+ return this.anyItems;
+ }
+
+ public void setAnyItems(List<TTaskAbstract.AnyItem> value) {
+ this.any = null;
+ this.anyItems = null;
+ this.anyItems = value;
+ if (this.anyItems == null) {
+ this.anyItems = new ArrayList<TTaskAbstract.AnyItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.any)) {
+ this.any = ItemUtils.wrap(this.any, this.anyItems, TTaskAbstract.AnyItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTaskAbstract)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTaskAbstract that = ((TTaskAbstract) object);
+ equalsBuilder.append(this.getId(), that.getId());
+ equalsBuilder.append(this.getTaskType(), that.getTaskType());
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getStatus(), that.getStatus());
+ equalsBuilder.append(this.getPriority(), that.getPriority());
+ equalsBuilder.append(this.getCreatedOn(), that.getCreatedOn());
+ equalsBuilder.append(this.getActivationTime(), that.getActivationTime());
+ equalsBuilder.append(this.getExpirationTime(), that.getExpirationTime());
+ equalsBuilder.append(this.isIsSkipable(), that.isIsSkipable());
+ equalsBuilder.append(this.isHasPotentialOwners(), that.isHasPotentialOwners());
+ equalsBuilder.append(this.isStartByExists(), that.isStartByExists());
+ equalsBuilder.append(this.isCompleteByExists(), that.isCompleteByExists());
+ equalsBuilder.append(this.getPresentationName(), that.getPresentationName());
+ equalsBuilder.append(this.getPresentationSubject(), that.getPresentationSubject());
+ equalsBuilder.append(this.isRenderingMethodExists(), that.isRenderingMethodExists());
+ equalsBuilder.append(this.isHasOutput(), that.isHasOutput());
+ equalsBuilder.append(this.isHasFault(), that.isHasFault());
+ equalsBuilder.append(this.isHasAttachments(), that.isHasAttachments());
+ equalsBuilder.append(this.isHasComments(), that.isHasComments());
+ equalsBuilder.append(this.isEscalated(), that.isEscalated());
+ equalsBuilder.append(this.getAny(), that.getAny());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTaskAbstract)) {
+ 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.getId());
+ hashCodeBuilder.append(this.getTaskType());
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getStatus());
+ hashCodeBuilder.append(this.getPriority());
+ hashCodeBuilder.append(this.getCreatedOn());
+ hashCodeBuilder.append(this.getActivationTime());
+ hashCodeBuilder.append(this.getExpirationTime());
+ hashCodeBuilder.append(this.isIsSkipable());
+ hashCodeBuilder.append(this.isHasPotentialOwners());
+ hashCodeBuilder.append(this.isStartByExists());
+ hashCodeBuilder.append(this.isCompleteByExists());
+ hashCodeBuilder.append(this.getPresentationName());
+ hashCodeBuilder.append(this.getPresentationSubject());
+ hashCodeBuilder.append(this.isRenderingMethodExists());
+ hashCodeBuilder.append(this.isHasOutput());
+ hashCodeBuilder.append(this.isHasFault());
+ hashCodeBuilder.append(this.isHasAttachments());
+ hashCodeBuilder.append(this.isHasComments());
+ hashCodeBuilder.append(this.isEscalated());
+ hashCodeBuilder.append(this.getAny());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.TTaskAbstract$AnyItem")
+ @Table(name = "TTASKABSTRACTANYITEM")
+ @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 Element }
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link Element }
+ * {@link Object }
+ *
+ */
+ 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.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTaskAbstract.AnyItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTaskAbstract.AnyItem that = ((TTaskAbstract.AnyItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTaskAbstract.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/ws_ht/api/TTaskQueryResultRow.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskQueryResultRow.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskQueryResultRow.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,1005 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+import java.math.BigInteger;
+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.EnumType;
+import javax.persistence.Enumerated;
+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.XmlAnyElement;
+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.datatype.XMLGregorianCalendar;
+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 tTaskQueryResultRow complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTaskQueryResultRow">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="taskType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}QName"/>
+ * <element name="status" type="{http://www.drools.org/WS-HT/api}tStatus"/>
+ * <element name="priority" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
+ * <element name="taskInitiator" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * <element name="taskStakeholders" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * <element name="potentialOwners" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * <element name="businessAdministrators" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * <element name="actualOwner" type="{http://www.drools.org/WS-HT}tUser"/>
+ * <element name="notificationRecipients" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * <element name="createdOn" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="createdBy" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="activationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="expirationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * <element name="isSkipable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="hasPotentialOwners" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="startByExists" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="completeByExists" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="presentationName" type="{http://www.drools.org/WS-HT/api}tPresentationName"/>
+ * <element name="presentationSubject" type="{http://www.drools.org/WS-HT/api}tPresentationSubject"/>
+ * <element name="presentationDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="renderingMethodExists" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="hasOutput" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="hasFault" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="hasAttachments" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="hasComments" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="escalated" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="primarySearchBy" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <any/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTaskQueryResultRow", propOrder = {
+ "idOrTaskTypeOrName"
+})
+ at Entity(name = "org.drools.ws_ht.api.TTaskQueryResultRow")
+ at Table(name = "TTASKQUERYRESULTROW")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TTaskQueryResultRow
+ implements Equals, HashCode
+{
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "id", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "potentialOwners", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "escalated", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "primarySearchBy", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasOutput", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasComments", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "presentationSubject", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "businessAdministrators", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "taskStakeholders", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "taskType", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "presentationDescription", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "createdBy", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasPotentialOwners", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "presentationName", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "createdOn", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasAttachments", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "status", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "renderingMethodExists", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasFault", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "startByExists", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "taskInitiator", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "activationTime", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "isSkipable", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "expirationTime", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "actualOwner", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "priority", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "notificationRecipients", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "completeByExists", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "name", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class)
+ })
+ @XmlAnyElement(lax = true)
+ protected List<Object> idOrTaskTypeOrName;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<TTaskQueryResultRow.IdOrTaskTypeOrNameItem> idOrTaskTypeOrNameItems;
+
+ /**
+ * Gets the value of the idOrTaskTypeOrName 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 idOrTaskTypeOrName property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getIdOrTaskTypeOrName().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link Object }
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link TStatus }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link Element }
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link QName }{@code >}
+ *
+ *
+ */
+ @Transient
+ public List<Object> getIdOrTaskTypeOrName() {
+ if (idOrTaskTypeOrName == null) {
+ idOrTaskTypeOrName = new ArrayList<Object>();
+ }
+ return this.idOrTaskTypeOrName;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setIdOrTaskTypeOrName(List<Object> idOrTaskTypeOrName) {
+ this.idOrTaskTypeOrName = idOrTaskTypeOrName;
+ }
+
+ /**
+ * 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.ws_ht.api.TTaskQueryResultRow.IdOrTaskTypeOrNameItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "IDORTASKTYPEORNAMEITEMS_TTAS_0")
+ public List<TTaskQueryResultRow.IdOrTaskTypeOrNameItem> getIdOrTaskTypeOrNameItems() {
+ if (this.idOrTaskTypeOrNameItems == null) {
+ this.idOrTaskTypeOrNameItems = new ArrayList<TTaskQueryResultRow.IdOrTaskTypeOrNameItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.idOrTaskTypeOrName)) {
+ this.idOrTaskTypeOrName = ItemUtils.wrap(this.idOrTaskTypeOrName, this.idOrTaskTypeOrNameItems, TTaskQueryResultRow.IdOrTaskTypeOrNameItem.class);
+ }
+ return this.idOrTaskTypeOrNameItems;
+ }
+
+ public void setIdOrTaskTypeOrNameItems(List<TTaskQueryResultRow.IdOrTaskTypeOrNameItem> value) {
+ this.idOrTaskTypeOrName = null;
+ this.idOrTaskTypeOrNameItems = null;
+ this.idOrTaskTypeOrNameItems = value;
+ if (this.idOrTaskTypeOrNameItems == null) {
+ this.idOrTaskTypeOrNameItems = new ArrayList<TTaskQueryResultRow.IdOrTaskTypeOrNameItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.idOrTaskTypeOrName)) {
+ this.idOrTaskTypeOrName = ItemUtils.wrap(this.idOrTaskTypeOrName, this.idOrTaskTypeOrNameItems, TTaskQueryResultRow.IdOrTaskTypeOrNameItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTaskQueryResultRow)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTaskQueryResultRow that = ((TTaskQueryResultRow) object);
+ equalsBuilder.append(this.getIdOrTaskTypeOrName(), that.getIdOrTaskTypeOrName());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTaskQueryResultRow)) {
+ 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.getIdOrTaskTypeOrName());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.TTaskQueryResultRow$IdOrTaskTypeOrNameItem")
+ @Table(name = "TTASKQUERYRESULTROWIDORTASKT_0")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class IdOrTaskTypeOrNameItem
+ implements Item<Object> , Equals, HashCode
+ {
+
+ @XmlElementRefs({
+ @XmlElementRef(name = "id", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "potentialOwners", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "primarySearchBy", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "escalated", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasOutput", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasComments", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "businessAdministrators", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "presentationSubject", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "taskType", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "taskStakeholders", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "presentationDescription", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "createdBy", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasPotentialOwners", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "presentationName", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "createdOn", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasAttachments", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "status", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "renderingMethodExists", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "hasFault", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "startByExists", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "taskInitiator", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "activationTime", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "isSkipable", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "expirationTime", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "actualOwner", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "priority", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "notificationRecipients", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "completeByExists", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class),
+ @XmlElementRef(name = "name", namespace = "http://www.drools.org/WS-HT/api", type = JAXBElement.class)
+ })
+ @XmlAnyElement(lax = true)
+ protected Object item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ *
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link Object }
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link TStatus }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link Element }
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link QName }{@code >}
+ *
+ */
+ @Transient
+ public Object getItem() {
+ return item;
+ }
+
+ /**
+ *
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link Object }
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link TStatus }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link Element }
+ * {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ * {@link JAXBElement }{@code <}{@link org.drools.ws_ht.TOrganizationalEntity }{@code >}
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ * {@link JAXBElement }{@code <}{@link QName }{@code >}
+ *
+ */
+ 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 ((!((((((((((((((((((((((((((((XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "id"), TTaskQueryResultRow.class, this.getItem())||XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "potentialOwners"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "primarySearchBy"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "escalated"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasOutput"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasComments"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUti!
ls.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "businessAdministrators"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationSubject"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "taskType"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "taskStakeholders"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationDescription"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "createdBy"), TTaskQueryResultRow.class, this.getItem()))||XmlAda!
pterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.or
g/WS-HT/api", "hasPotentialOwners"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationName"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "createdOn"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasAttachments"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(TStatus.class, new QName("http://www.drools.org/WS-HT/api", "status"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "renderingMethodExists"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasFault"), TTaskQueryResultRow.class,!
this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "startByExists"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "taskInitiator"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "activationTime"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "isSkipable"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "expirationTime"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "actualOwner"), TTaskQueryResultRow.class, this.getItem()))!
||XmlAdapterUtils.isJAXBElement(BigInteger.class, new QName("http://ww
w.drools.org/WS-HT/api", "priority"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "notificationRecipients"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "completeByExists"), TTaskQueryResultRow.class, this.getItem()))||XmlAdapterUtils.isJAXBElement(QName.class, new QName("http://www.drools.org/WS-HT/api", "name"), TTaskQueryResultRow.class, this.getItem())))&&JAXBContextUtils.isElement("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getItem());
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemObject(String target) {
+ if (target!= null) {
+ setItem(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMID")
+ public String getItemId() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "id"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemId(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "id"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMPOTENTIALOWNERS_TTASKQUE_0")
+ public org.drools.ws_ht.TOrganizationalEntity getItemPotentialOwners() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "potentialOwners"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TOrganizationalEntity> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPotentialOwners(org.drools.ws_ht.TOrganizationalEntity target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "potentialOwners"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMPRIMARYSEARCHBY")
+ public String getItemPrimarySearchBy() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "primarySearchBy"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPrimarySearchBy(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "primarySearchBy"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMESCALATED")
+ public Boolean isItemEscalated() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "escalated"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemEscalated(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "escalated"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMHASOUTPUT")
+ public Boolean isItemHasOutput() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasOutput"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemHasOutput(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasOutput"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMHASCOMMENTS")
+ public Boolean isItemHasComments() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasComments"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemHasComments(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasComments"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMBUSINESSADMINISTRATORS_T_1")
+ public org.drools.ws_ht.TOrganizationalEntity getItemBusinessAdministrators() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "businessAdministrators"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TOrganizationalEntity> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemBusinessAdministrators(org.drools.ws_ht.TOrganizationalEntity target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "businessAdministrators"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMPRESENTATIONSUBJECT")
+ public String getItemPresentationSubject() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationSubject"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPresentationSubject(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationSubject"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMTASKTYPE")
+ public String getItemTaskType() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "taskType"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemTaskType(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "taskType"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMTASKSTAKEHOLDERS_TTASKQU_0")
+ public org.drools.ws_ht.TOrganizationalEntity getItemTaskStakeholders() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "taskStakeholders"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TOrganizationalEntity> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemTaskStakeholders(org.drools.ws_ht.TOrganizationalEntity target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "taskStakeholders"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMPRESENTATIONDESCRIPTION")
+ public String getItemPresentationDescription() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationDescription"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPresentationDescription(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationDescription"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMCREATEDBY")
+ public String getItemCreatedBy() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "createdBy"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemCreatedBy(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "createdBy"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMHASPOTENTIALOWNERS")
+ public Boolean isItemHasPotentialOwners() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasPotentialOwners"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemHasPotentialOwners(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasPotentialOwners"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMPRESENTATIONNAME")
+ public String getItemPresentationName() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationName"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPresentationName(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "presentationName"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Transient
+ public XMLGregorianCalendar getItemCreatedOn() {
+ if (XmlAdapterUtils.isJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "createdOn"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends XMLGregorianCalendar> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemCreatedOn(XMLGregorianCalendar target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "createdOn"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMHASATTACHMENTS")
+ public Boolean isItemHasAttachments() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasAttachments"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemHasAttachments(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasAttachments"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMSTATUS")
+ @Enumerated(EnumType.STRING)
+ public TStatus getItemStatus() {
+ if (XmlAdapterUtils.isJAXBElement(TStatus.class, new QName("http://www.drools.org/WS-HT/api", "status"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends TStatus> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemStatus(TStatus target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(TStatus.class, new QName("http://www.drools.org/WS-HT/api", "status"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMRENDERINGMETHODEXISTS")
+ public Boolean isItemRenderingMethodExists() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "renderingMethodExists"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemRenderingMethodExists(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "renderingMethodExists"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMHASFAULT")
+ public Boolean isItemHasFault() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasFault"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemHasFault(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "hasFault"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMSTARTBYEXISTS")
+ public Boolean isItemStartByExists() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "startByExists"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemStartByExists(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "startByExists"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMTASKINITIATOR_TTASKQUERY_0")
+ public org.drools.ws_ht.TOrganizationalEntity getItemTaskInitiator() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "taskInitiator"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TOrganizationalEntity> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemTaskInitiator(org.drools.ws_ht.TOrganizationalEntity target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "taskInitiator"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Transient
+ public XMLGregorianCalendar getItemActivationTime() {
+ if (XmlAdapterUtils.isJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "activationTime"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends XMLGregorianCalendar> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemActivationTime(XMLGregorianCalendar target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "activationTime"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMISSKIPABLE")
+ public Boolean isItemIsSkipable() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "isSkipable"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemIsSkipable(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "isSkipable"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Transient
+ public XMLGregorianCalendar getItemExpirationTime() {
+ if (XmlAdapterUtils.isJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "expirationTime"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends XMLGregorianCalendar> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemExpirationTime(XMLGregorianCalendar target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(XMLGregorianCalendar.class, new QName("http://www.drools.org/WS-HT/api", "expirationTime"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMACTUALOWNER")
+ public String getItemActualOwner() {
+ if (XmlAdapterUtils.isJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "actualOwner"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends String> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemActualOwner(String target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(String.class, new QName("http://www.drools.org/WS-HT/api", "actualOwner"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMPRIORITY")
+ public BigInteger getItemPriority() {
+ if (XmlAdapterUtils.isJAXBElement(BigInteger.class, new QName("http://www.drools.org/WS-HT/api", "priority"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends BigInteger> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemPriority(BigInteger target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(BigInteger.class, new QName("http://www.drools.org/WS-HT/api", "priority"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ITEMNOTIFICATIONRECIPIENTS_T_0")
+ public org.drools.ws_ht.TOrganizationalEntity getItemNotificationRecipients() {
+ if (XmlAdapterUtils.isJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "notificationRecipients"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends org.drools.ws_ht.TOrganizationalEntity> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemNotificationRecipients(org.drools.ws_ht.TOrganizationalEntity target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(org.drools.ws_ht.TOrganizationalEntity.class, new QName("http://www.drools.org/WS-HT/api", "notificationRecipients"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Basic
+ @Column(name = "ITEMCOMPLETEBYEXISTS")
+ public Boolean isItemCompleteByExists() {
+ if (XmlAdapterUtils.isJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "completeByExists"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends Boolean> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemCompleteByExists(Boolean target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(Boolean.class, new QName("http://www.drools.org/WS-HT/api", "completeByExists"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ @Transient
+ public QName getItemName() {
+ if (XmlAdapterUtils.isJAXBElement(QName.class, new QName("http://www.drools.org/WS-HT/api", "name"), TTaskQueryResultRow.class, this.getItem())) {
+ return XmlAdapterUtils.unmarshallJAXBElement(((JAXBElement<? extends QName> ) this.getItem()));
+ } else {
+ return null;
+ }
+ }
+
+ public void setItemName(QName target) {
+ if (target!= null) {
+ setItem(XmlAdapterUtils.marshallJAXBElement(QName.class, new QName("http://www.drools.org/WS-HT/api", "name"), TTaskQueryResultRow.class, target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTaskQueryResultRow.IdOrTaskTypeOrNameItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTaskQueryResultRow.IdOrTaskTypeOrNameItem that = ((TTaskQueryResultRow.IdOrTaskTypeOrNameItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTaskQueryResultRow.IdOrTaskTypeOrNameItem)) {
+ 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/ws_ht/api/TTaskQueryResultSet.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskQueryResultSet.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/TTaskQueryResultSet.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,172 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api;
+
+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.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.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 tTaskQueryResultSet complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTaskQueryResultSet">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="row" type="{http://www.drools.org/WS-HT/api}tTaskQueryResultRow" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTaskQueryResultSet", propOrder = {
+ "row"
+})
+ at Entity(name = "org.drools.ws_ht.api.TTaskQueryResultSet")
+ at Table(name = "TTASKQUERYRESULTSET")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TTaskQueryResultSet
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.api.TTaskQueryResultRow> row;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the row property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the row property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRow().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.ws_ht.api.TTaskQueryResultRow }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TTaskQueryResultRow.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ROW__TTASKQUERYRESULTSET_ID")
+ public List<org.drools.ws_ht.api.TTaskQueryResultRow> getRow() {
+ if (row == null) {
+ row = new ArrayList<org.drools.ws_ht.api.TTaskQueryResultRow>();
+ }
+ return this.row;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setRow(List<org.drools.ws_ht.api.TTaskQueryResultRow> row) {
+ this.row = row;
+ }
+
+ /**
+ * 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 TTaskQueryResultSet)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTaskQueryResultSet that = ((TTaskQueryResultSet) object);
+ equalsBuilder.append(this.getRow(), that.getRow());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTaskQueryResultSet)) {
+ 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.getRow());
+ }
+
+ 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/ws_ht/api/package-info.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/package-info.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/package-info.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.drools.org/WS-HT/api", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.drools.ws_ht.api;
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Activate.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Activate.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Activate.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "activate")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Activate")
+ at Table(name = "ACTIVATE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Activate
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Activate)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Activate that = ((Activate) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Activate)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/ActivateResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ActivateResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ActivateResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "activateResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.ActivateResponse")
+ at Table(name = "ACTIVATERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class ActivateResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 ActivateResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final ActivateResponse that = ((ActivateResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof ActivateResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/AddAttachment.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddAttachment.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddAttachment.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,272 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="accessType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="attachment" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "name",
+ "accessType",
+ "attachment"
+})
+ at XmlRootElement(name = "addAttachment")
+ at Entity(name = "org.drools.ws_ht.api.xsd.AddAttachment")
+ at Table(name = "ADDATTACHMENT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class AddAttachment
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected String name;
+ @XmlElement(required = true)
+ protected String accessType;
+ @XmlElement(required = true)
+ protected Object attachment;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 accessType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ACCESSTYPE")
+ public String getAccessType() {
+ return accessType;
+ }
+
+ /**
+ * Sets the value of the accessType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAccessType(String value) {
+ this.accessType = value;
+ }
+
+ /**
+ * Gets the value of the attachment property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getAttachment() {
+ return attachment;
+ }
+
+ /**
+ * Sets the value of the attachment property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setAttachment(Object value) {
+ this.attachment = 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 = "ATTACHMENTOBJECT")
+ public String getAttachmentObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getAttachment())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getAttachment());
+ } else {
+ return null;
+ }
+ }
+
+ public void setAttachmentObject(String target) {
+ if (target!= null) {
+ setAttachment(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof AddAttachment)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final AddAttachment that = ((AddAttachment) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getName(), that.getName());
+ equalsBuilder.append(this.getAccessType(), that.getAccessType());
+ equalsBuilder.append(this.getAttachment(), that.getAttachment());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof AddAttachment)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getName());
+ hashCodeBuilder.append(this.getAccessType());
+ hashCodeBuilder.append(this.getAttachment());
+ }
+
+ 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/ws_ht/api/xsd/AddAttachmentResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddAttachmentResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddAttachmentResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "addAttachmentResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.AddAttachmentResponse")
+ at Table(name = "ADDATTACHMENTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class AddAttachmentResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 AddAttachmentResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final AddAttachmentResponse that = ((AddAttachmentResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof AddAttachmentResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/AddComment.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddComment.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddComment.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,191 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "text"
+})
+ at XmlRootElement(name = "addComment")
+ at Entity(name = "org.drools.ws_ht.api.xsd.AddComment")
+ at Table(name = "ADDCOMMENT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class AddComment
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected String text;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the text property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TEXT")
+ 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;
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof AddComment)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final AddComment that = ((AddComment) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getText(), that.getText());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof AddComment)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getText());
+ }
+
+ 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/ws_ht/api/xsd/AddCommentResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddCommentResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/AddCommentResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "addCommentResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.AddCommentResponse")
+ at Table(name = "ADDCOMMENTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class AddCommentResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 AddCommentResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final AddCommentResponse that = ((AddCommentResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof AddCommentResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Claim.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Claim.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Claim.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "claim")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Claim")
+ at Table(name = "CLAIM")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Claim
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Claim)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Claim that = ((Claim) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Claim)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/ClaimResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ClaimResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ClaimResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "claimResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.ClaimResponse")
+ at Table(name = "CLAIMRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class ClaimResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 ClaimResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final ClaimResponse that = ((ClaimResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof ClaimResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Complete.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Complete.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Complete.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,207 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="taskData" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "taskData"
+})
+ at XmlRootElement(name = "complete")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Complete")
+ at Table(name = "COMPLETE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Complete
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ protected Object taskData;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the taskData property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getTaskData() {
+ return taskData;
+ }
+
+ /**
+ * Sets the value of the taskData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setTaskData(Object value) {
+ this.taskData = 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 = "TASKDATAOBJECT")
+ public String getTaskDataObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData());
+ } else {
+ return null;
+ }
+ }
+
+ public void setTaskDataObject(String target) {
+ if (target!= null) {
+ setTaskData(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof Complete)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Complete that = ((Complete) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getTaskData(), that.getTaskData());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Complete)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getTaskData());
+ }
+
+ 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/ws_ht/api/xsd/CompleteResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/CompleteResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/CompleteResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "completeResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.CompleteResponse")
+ at Table(name = "COMPLETERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class CompleteResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 CompleteResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final CompleteResponse that = ((CompleteResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof CompleteResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Delegate.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Delegate.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Delegate.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,196 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="organizationalEntity" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "organizationalEntity"
+})
+ at XmlRootElement(name = "delegate")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Delegate")
+ at Table(name = "DELEGATE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Delegate
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TOrganizationalEntity organizationalEntity;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the organizationalEntity property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ORGANIZATIONALENTITY_DELEGAT_0")
+ public org.drools.ws_ht.TOrganizationalEntity getOrganizationalEntity() {
+ return organizationalEntity;
+ }
+
+ /**
+ * Sets the value of the organizationalEntity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setOrganizationalEntity(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.organizationalEntity = 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 Delegate)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Delegate that = ((Delegate) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getOrganizationalEntity(), that.getOrganizationalEntity());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Delegate)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getOrganizationalEntity());
+ }
+
+ 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/ws_ht/api/xsd/DelegateResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DelegateResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DelegateResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "delegateResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.DelegateResponse")
+ at Table(name = "DELEGATERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class DelegateResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 DelegateResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final DelegateResponse that = ((DelegateResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof DelegateResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/DeleteAttachments.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteAttachments.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteAttachments.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,191 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="attachmentName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "attachmentName"
+})
+ at XmlRootElement(name = "deleteAttachments")
+ at Entity(name = "org.drools.ws_ht.api.xsd.DeleteAttachments")
+ at Table(name = "DELETEATTACHMENTS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class DeleteAttachments
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected String attachmentName;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the attachmentName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ATTACHMENTNAME")
+ public String getAttachmentName() {
+ return attachmentName;
+ }
+
+ /**
+ * Sets the value of the attachmentName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttachmentName(String value) {
+ this.attachmentName = 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 DeleteAttachments)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final DeleteAttachments that = ((DeleteAttachments) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getAttachmentName(), that.getAttachmentName());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof DeleteAttachments)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getAttachmentName());
+ }
+
+ 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/ws_ht/api/xsd/DeleteAttachmentsResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteAttachmentsResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteAttachmentsResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "deleteAttachmentsResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.DeleteAttachmentsResponse")
+ at Table(name = "DELETEATTACHMENTSRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class DeleteAttachmentsResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 DeleteAttachmentsResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final DeleteAttachmentsResponse that = ((DeleteAttachmentsResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof DeleteAttachmentsResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/DeleteFault.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteFault.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteFault.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "deleteFault")
+ at Entity(name = "org.drools.ws_ht.api.xsd.DeleteFault")
+ at Table(name = "DELETEFAULT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class DeleteFault
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 DeleteFault)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final DeleteFault that = ((DeleteFault) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof DeleteFault)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/DeleteFaultResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteFaultResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteFaultResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "deleteFaultResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.DeleteFaultResponse")
+ at Table(name = "DELETEFAULTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class DeleteFaultResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 DeleteFaultResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final DeleteFaultResponse that = ((DeleteFaultResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof DeleteFaultResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/DeleteOutput.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteOutput.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteOutput.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "deleteOutput")
+ at Entity(name = "org.drools.ws_ht.api.xsd.DeleteOutput")
+ at Table(name = "DELETEOUTPUT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class DeleteOutput
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 DeleteOutput)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final DeleteOutput that = ((DeleteOutput) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof DeleteOutput)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/DeleteOutputResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteOutputResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/DeleteOutputResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "deleteOutputResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.DeleteOutputResponse")
+ at Table(name = "DELETEOUTPUTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class DeleteOutputResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 DeleteOutputResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final DeleteOutputResponse that = ((DeleteOutputResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof DeleteOutputResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Fail.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Fail.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Fail.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,242 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="faultName" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
+ * <element name="faultData" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "faultName",
+ "faultData"
+})
+ at XmlRootElement(name = "fail")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Fail")
+ at Table(name = "FAIL")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Fail
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String faultName;
+ protected Object faultData;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the faultName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "FAULTNAME")
+ public String getFaultName() {
+ return faultName;
+ }
+
+ /**
+ * Sets the value of the faultName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultName(String value) {
+ this.faultName = value;
+ }
+
+ /**
+ * Gets the value of the faultData property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getFaultData() {
+ return faultData;
+ }
+
+ /**
+ * Sets the value of the faultData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setFaultData(Object value) {
+ this.faultData = 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 = "FAULTDATAOBJECT")
+ public String getFaultDataObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getFaultData())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getFaultData());
+ } else {
+ return null;
+ }
+ }
+
+ public void setFaultDataObject(String target) {
+ if (target!= null) {
+ setFaultData(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof Fail)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Fail that = ((Fail) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getFaultName(), that.getFaultName());
+ equalsBuilder.append(this.getFaultData(), that.getFaultData());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Fail)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getFaultName());
+ hashCodeBuilder.append(this.getFaultData());
+ }
+
+ 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/ws_ht/api/xsd/FailResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/FailResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/FailResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "failResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.FailResponse")
+ at Table(name = "FAILRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class FailResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 FailResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final FailResponse that = ((FailResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof FailResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Forward.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Forward.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Forward.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,196 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="organizationalEntity" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "organizationalEntity"
+})
+ at XmlRootElement(name = "forward")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Forward")
+ at Table(name = "FORWARD_")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Forward
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TOrganizationalEntity organizationalEntity;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the organizationalEntity property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ORGANIZATIONALENTITY_FORWARD_0")
+ public org.drools.ws_ht.TOrganizationalEntity getOrganizationalEntity() {
+ return organizationalEntity;
+ }
+
+ /**
+ * Sets the value of the organizationalEntity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setOrganizationalEntity(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.organizationalEntity = 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 Forward)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Forward that = ((Forward) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getOrganizationalEntity(), that.getOrganizationalEntity());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Forward)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getOrganizationalEntity());
+ }
+
+ 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/ws_ht/api/xsd/ForwardResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ForwardResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ForwardResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "forwardResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.ForwardResponse")
+ at Table(name = "FORWARDRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class ForwardResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 ForwardResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final ForwardResponse that = ((ForwardResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof ForwardResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/GetAttachmentInfos.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentInfos.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentInfos.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "getAttachmentInfos")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetAttachmentInfos")
+ at Table(name = "GETATTACHMENTINFOS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetAttachmentInfos
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 GetAttachmentInfos)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetAttachmentInfos that = ((GetAttachmentInfos) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetAttachmentInfos)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/GetAttachmentInfosResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentInfosResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentInfosResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="info" type="{http://www.drools.org/WS-HT/api}tAttachmentInfo" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "info"
+})
+ at XmlRootElement(name = "getAttachmentInfosResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetAttachmentInfosResponse")
+ at Table(name = "GETATTACHMENTINFOSRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetAttachmentInfosResponse
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.api.TAttachmentInfo> info;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the info 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 info property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getInfo().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.ws_ht.api.TAttachmentInfo }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TAttachmentInfo.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "INFO_GETATTACHMENTINFOSRESPO_0")
+ public List<org.drools.ws_ht.api.TAttachmentInfo> getInfo() {
+ if (info == null) {
+ info = new ArrayList<org.drools.ws_ht.api.TAttachmentInfo>();
+ }
+ return this.info;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setInfo(List<org.drools.ws_ht.api.TAttachmentInfo> info) {
+ this.info = info;
+ }
+
+ /**
+ * 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 GetAttachmentInfosResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetAttachmentInfosResponse that = ((GetAttachmentInfosResponse) object);
+ equalsBuilder.append(this.getInfo(), that.getInfo());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetAttachmentInfosResponse)) {
+ 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.getInfo());
+ }
+
+ 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/ws_ht/api/xsd/GetAttachments.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachments.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachments.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,191 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="attachmentName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "attachmentName"
+})
+ at XmlRootElement(name = "getAttachments")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetAttachments")
+ at Table(name = "GETATTACHMENTS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetAttachments
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected String attachmentName;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the attachmentName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ATTACHMENTNAME")
+ public String getAttachmentName() {
+ return attachmentName;
+ }
+
+ /**
+ * Sets the value of the attachmentName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setAttachmentName(String value) {
+ this.attachmentName = 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 GetAttachments)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetAttachments that = ((GetAttachments) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getAttachmentName(), that.getAttachmentName());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetAttachments)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getAttachmentName());
+ }
+
+ 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/ws_ht/api/xsd/GetAttachmentsResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentsResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetAttachmentsResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="attachment" type="{http://www.drools.org/WS-HT/api}tAttachment" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "attachment"
+})
+ at XmlRootElement(name = "getAttachmentsResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetAttachmentsResponse")
+ at Table(name = "GETATTACHMENTSRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetAttachmentsResponse
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.api.TAttachment> attachment;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the attachment 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 attachment property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttachment().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.ws_ht.api.TAttachment }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TAttachment.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ATTACHMENT_GETATTACHMENTSRES_0")
+ public List<org.drools.ws_ht.api.TAttachment> getAttachment() {
+ if (attachment == null) {
+ attachment = new ArrayList<org.drools.ws_ht.api.TAttachment>();
+ }
+ return this.attachment;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setAttachment(List<org.drools.ws_ht.api.TAttachment> attachment) {
+ this.attachment = attachment;
+ }
+
+ /**
+ * 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 GetAttachmentsResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetAttachmentsResponse that = ((GetAttachmentsResponse) object);
+ equalsBuilder.append(this.getAttachment(), that.getAttachment());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetAttachmentsResponse)) {
+ 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.getAttachment());
+ }
+
+ 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/ws_ht/api/xsd/GetComments.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetComments.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetComments.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "getComments")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetComments")
+ at Table(name = "GETCOMMENTS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetComments
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 GetComments)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetComments that = ((GetComments) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetComments)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/GetCommentsResposne.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetCommentsResposne.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetCommentsResposne.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="comment" type="{http://www.drools.org/WS-HT/api}tComment" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "comment"
+})
+ at XmlRootElement(name = "getCommentsResposne")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetCommentsResposne")
+ at Table(name = "GETCOMMENTSRESPOSNE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetCommentsResposne
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.api.TComment> comment;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the comment 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 comment property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getComment().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.ws_ht.api.TComment }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TComment.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "COMMENT__GETCOMMENTSRESPOSNE_0")
+ public List<org.drools.ws_ht.api.TComment> getComment() {
+ if (comment == null) {
+ comment = new ArrayList<org.drools.ws_ht.api.TComment>();
+ }
+ return this.comment;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setComment(List<org.drools.ws_ht.api.TComment> comment) {
+ this.comment = comment;
+ }
+
+ /**
+ * 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 GetCommentsResposne)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetCommentsResposne that = ((GetCommentsResposne) object);
+ equalsBuilder.append(this.getComment(), that.getComment());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetCommentsResposne)) {
+ 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.getComment());
+ }
+
+ 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/ws_ht/api/xsd/GetFault.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetFault.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetFault.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,195 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="faultName" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "faultName"
+})
+ at XmlRootElement(name = "getFault")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetFault")
+ at Table(name = "GETFAULT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetFault
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String faultName;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the faultName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "FAULTNAME")
+ public String getFaultName() {
+ return faultName;
+ }
+
+ /**
+ * Sets the value of the faultName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultName(String value) {
+ this.faultName = 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 GetFault)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetFault that = ((GetFault) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getFaultName(), that.getFaultName());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetFault)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getFaultName());
+ }
+
+ 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/ws_ht/api/xsd/GetFaultResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetFaultResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetFaultResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,211 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="faultName" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
+ * <element name="faultData" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "faultName",
+ "faultData"
+})
+ at XmlRootElement(name = "getFaultResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetFaultResponse")
+ at Table(name = "GETFAULTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetFaultResponse
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String faultName;
+ @XmlElement(required = true)
+ protected Object faultData;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the faultName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "FAULTNAME")
+ public String getFaultName() {
+ return faultName;
+ }
+
+ /**
+ * Sets the value of the faultName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultName(String value) {
+ this.faultName = value;
+ }
+
+ /**
+ * Gets the value of the faultData property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getFaultData() {
+ return faultData;
+ }
+
+ /**
+ * Sets the value of the faultData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setFaultData(Object value) {
+ this.faultData = 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 = "FAULTDATAOBJECT")
+ public String getFaultDataObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getFaultData())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getFaultData());
+ } else {
+ return null;
+ }
+ }
+
+ public void setFaultDataObject(String target) {
+ if (target!= null) {
+ setFaultData(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetFaultResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetFaultResponse that = ((GetFaultResponse) object);
+ equalsBuilder.append(this.getFaultName(), that.getFaultName());
+ equalsBuilder.append(this.getFaultData(), that.getFaultData());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetFaultResponse)) {
+ 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.getFaultName());
+ hashCodeBuilder.append(this.getFaultData());
+ }
+
+ 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/ws_ht/api/xsd/GetInput.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetInput.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetInput.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,194 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="part" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "part"
+})
+ at XmlRootElement(name = "getInput")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetInput")
+ at Table(name = "GETINPUT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetInput
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String part;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 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 GetInput)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetInput that = ((GetInput) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getPart(), that.getPart());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetInput)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getPart());
+ }
+
+ 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/ws_ht/api/xsd/GetInputResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetInputResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetInputResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="taskData" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "taskData"
+})
+ at XmlRootElement(name = "getInputResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetInputResponse")
+ at Table(name = "GETINPUTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetInputResponse
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected Object taskData;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the taskData property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getTaskData() {
+ return taskData;
+ }
+
+ /**
+ * Sets the value of the taskData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setTaskData(Object value) {
+ this.taskData = 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 = "TASKDATAOBJECT")
+ public String getTaskDataObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData());
+ } else {
+ return null;
+ }
+ }
+
+ public void setTaskDataObject(String target) {
+ if (target!= null) {
+ setTaskData(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetInputResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetInputResponse that = ((GetInputResponse) object);
+ equalsBuilder.append(this.getTaskData(), that.getTaskData());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetInputResponse)) {
+ 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.getTaskData());
+ }
+
+ 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/ws_ht/api/xsd/GetMyTaskAbstracts.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTaskAbstracts.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTaskAbstracts.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,498 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.EnumType;
+import javax.persistence.Enumerated;
+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.XmlRootElement;
+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.drools.ws_ht.api.TStatus;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="taskType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="genericHumanRole" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="workQueue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="status" type="{http://www.drools.org/WS-HT/api}tStatus" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="whereClause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="createdOnClause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="maxTasks" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "taskType",
+ "genericHumanRole",
+ "workQueue",
+ "status",
+ "whereClause",
+ "createdOnClause",
+ "maxTasks"
+})
+ at XmlRootElement(name = "getMyTaskAbstracts")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetMyTaskAbstracts")
+ at Table(name = "GETMYTASKABSTRACTS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetMyTaskAbstracts
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected String taskType;
+ protected String genericHumanRole;
+ protected String workQueue;
+ protected List<TStatus> status;
+ protected String whereClause;
+ protected String createdOnClause;
+ protected Integer maxTasks;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<GetMyTaskAbstracts.StatusItem> statusItems;
+
+ /**
+ * Gets the value of the taskType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TASKTYPE")
+ public String getTaskType() {
+ return taskType;
+ }
+
+ /**
+ * Sets the value of the taskType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTaskType(String value) {
+ this.taskType = value;
+ }
+
+ /**
+ * Gets the value of the genericHumanRole property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "GENERICHUMANROLE")
+ public String getGenericHumanRole() {
+ return genericHumanRole;
+ }
+
+ /**
+ * Sets the value of the genericHumanRole property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGenericHumanRole(String value) {
+ this.genericHumanRole = value;
+ }
+
+ /**
+ * Gets the value of the workQueue property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "WORKQUEUE")
+ public String getWorkQueue() {
+ return workQueue;
+ }
+
+ /**
+ * Sets the value of the workQueue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWorkQueue(String value) {
+ this.workQueue = value;
+ }
+
+ /**
+ * Gets the value of the status 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 status property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getStatus().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TStatus }
+ *
+ *
+ */
+ @Transient
+ public List<TStatus> getStatus() {
+ if (status == null) {
+ status = new ArrayList<TStatus>();
+ }
+ return this.status;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setStatus(List<TStatus> status) {
+ this.status = status;
+ }
+
+ /**
+ * Gets the value of the whereClause property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "WHERECLAUSE")
+ public String getWhereClause() {
+ return whereClause;
+ }
+
+ /**
+ * Sets the value of the whereClause property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWhereClause(String value) {
+ this.whereClause = value;
+ }
+
+ /**
+ * Gets the value of the createdOnClause property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "CREATEDONCLAUSE")
+ public String getCreatedOnClause() {
+ return createdOnClause;
+ }
+
+ /**
+ * Sets the value of the createdOnClause property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCreatedOnClause(String value) {
+ this.createdOnClause = value;
+ }
+
+ /**
+ * Gets the value of the maxTasks property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ @Basic
+ @Column(name = "MAXTASKS", scale = 0)
+ public Integer getMaxTasks() {
+ return maxTasks;
+ }
+
+ /**
+ * Sets the value of the maxTasks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setMaxTasks(Integer value) {
+ this.maxTasks = 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.ws_ht.api.xsd.GetMyTaskAbstracts.StatusItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "STATUSITEMS_GETMYTASKABSTRAC_0")
+ public List<GetMyTaskAbstracts.StatusItem> getStatusItems() {
+ if (this.statusItems == null) {
+ this.statusItems = new ArrayList<GetMyTaskAbstracts.StatusItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.status)) {
+ this.status = ItemUtils.wrap(this.status, this.statusItems, GetMyTaskAbstracts.StatusItem.class);
+ }
+ return this.statusItems;
+ }
+
+ public void setStatusItems(List<GetMyTaskAbstracts.StatusItem> value) {
+ this.status = null;
+ this.statusItems = null;
+ this.statusItems = value;
+ if (this.statusItems == null) {
+ this.statusItems = new ArrayList<GetMyTaskAbstracts.StatusItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.status)) {
+ this.status = ItemUtils.wrap(this.status, this.statusItems, GetMyTaskAbstracts.StatusItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetMyTaskAbstracts)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetMyTaskAbstracts that = ((GetMyTaskAbstracts) object);
+ equalsBuilder.append(this.getTaskType(), that.getTaskType());
+ equalsBuilder.append(this.getGenericHumanRole(), that.getGenericHumanRole());
+ equalsBuilder.append(this.getWorkQueue(), that.getWorkQueue());
+ equalsBuilder.append(this.getStatus(), that.getStatus());
+ equalsBuilder.append(this.getWhereClause(), that.getWhereClause());
+ equalsBuilder.append(this.getCreatedOnClause(), that.getCreatedOnClause());
+ equalsBuilder.append(this.getMaxTasks(), that.getMaxTasks());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetMyTaskAbstracts)) {
+ 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.getTaskType());
+ hashCodeBuilder.append(this.getGenericHumanRole());
+ hashCodeBuilder.append(this.getWorkQueue());
+ hashCodeBuilder.append(this.getStatus());
+ hashCodeBuilder.append(this.getWhereClause());
+ hashCodeBuilder.append(this.getCreatedOnClause());
+ hashCodeBuilder.append(this.getMaxTasks());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.xsd.GetMyTaskAbstracts$StatusItem")
+ @Table(name = "GETMYTASKABSTRACTSSTATUSITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class StatusItem
+ implements Item<TStatus> , Equals, HashCode
+ {
+
+ @XmlElement(name = "status", namespace = "http://www.drools.org/WS-HT/api/xsd")
+ protected TStatus item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the item property.
+ *
+ * @return
+ * possible object is
+ * {@link TStatus }
+ *
+ */
+ @Basic
+ @Column(name = "ITEM")
+ @Enumerated(EnumType.STRING)
+ public TStatus getItem() {
+ return item;
+ }
+
+ /**
+ * Sets the value of the item property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TStatus }
+ *
+ */
+ public void setItem(TStatus 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 GetMyTaskAbstracts.StatusItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetMyTaskAbstracts.StatusItem that = ((GetMyTaskAbstracts.StatusItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetMyTaskAbstracts.StatusItem)) {
+ 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/ws_ht/api/xsd/GetMyTaskAbstractsResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTaskAbstractsResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTaskAbstractsResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="taskAbstract" type="{http://www.drools.org/WS-HT/api}tTaskAbstract" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "taskAbstract"
+})
+ at XmlRootElement(name = "getMyTaskAbstractsResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetMyTaskAbstractsResponse")
+ at Table(name = "GETMYTASKABSTRACTSRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetMyTaskAbstractsResponse
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.api.TTaskAbstract> taskAbstract;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the taskAbstract 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 taskAbstract property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTaskAbstract().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.ws_ht.api.TTaskAbstract }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TTaskAbstract.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASKABSTRACT_GETMYTASKABSTRA_0")
+ public List<org.drools.ws_ht.api.TTaskAbstract> getTaskAbstract() {
+ if (taskAbstract == null) {
+ taskAbstract = new ArrayList<org.drools.ws_ht.api.TTaskAbstract>();
+ }
+ return this.taskAbstract;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setTaskAbstract(List<org.drools.ws_ht.api.TTaskAbstract> taskAbstract) {
+ this.taskAbstract = taskAbstract;
+ }
+
+ /**
+ * 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 GetMyTaskAbstractsResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetMyTaskAbstractsResponse that = ((GetMyTaskAbstractsResponse) object);
+ equalsBuilder.append(this.getTaskAbstract(), that.getTaskAbstract());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetMyTaskAbstractsResponse)) {
+ 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.getTaskAbstract());
+ }
+
+ 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/ws_ht/api/xsd/GetMyTasks.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTasks.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTasks.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,498 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.EnumType;
+import javax.persistence.Enumerated;
+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.XmlRootElement;
+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.drools.ws_ht.api.TStatus;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="taskType" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="genericHumanRole" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="workQueue" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="status" type="{http://www.drools.org/WS-HT/api}tStatus" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="whereClause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="createdOnClause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="maxTasks" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "taskType",
+ "genericHumanRole",
+ "workQueue",
+ "status",
+ "whereClause",
+ "createdOnClause",
+ "maxTasks"
+})
+ at XmlRootElement(name = "getMyTasks")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetMyTasks")
+ at Table(name = "GETMYTASKS")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetMyTasks
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected String taskType;
+ protected String genericHumanRole;
+ protected String workQueue;
+ protected List<TStatus> status;
+ protected String whereClause;
+ protected String createdOnClause;
+ protected Integer maxTasks;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<GetMyTasks.StatusItem> statusItems;
+
+ /**
+ * Gets the value of the taskType property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "TASKTYPE")
+ public String getTaskType() {
+ return taskType;
+ }
+
+ /**
+ * Sets the value of the taskType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTaskType(String value) {
+ this.taskType = value;
+ }
+
+ /**
+ * Gets the value of the genericHumanRole property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "GENERICHUMANROLE")
+ public String getGenericHumanRole() {
+ return genericHumanRole;
+ }
+
+ /**
+ * Sets the value of the genericHumanRole property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGenericHumanRole(String value) {
+ this.genericHumanRole = value;
+ }
+
+ /**
+ * Gets the value of the workQueue property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "WORKQUEUE")
+ public String getWorkQueue() {
+ return workQueue;
+ }
+
+ /**
+ * Sets the value of the workQueue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWorkQueue(String value) {
+ this.workQueue = value;
+ }
+
+ /**
+ * Gets the value of the status 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 status property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getStatus().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link TStatus }
+ *
+ *
+ */
+ @Transient
+ public List<TStatus> getStatus() {
+ if (status == null) {
+ status = new ArrayList<TStatus>();
+ }
+ return this.status;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setStatus(List<TStatus> status) {
+ this.status = status;
+ }
+
+ /**
+ * Gets the value of the whereClause property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "WHERECLAUSE")
+ public String getWhereClause() {
+ return whereClause;
+ }
+
+ /**
+ * Sets the value of the whereClause property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWhereClause(String value) {
+ this.whereClause = value;
+ }
+
+ /**
+ * Gets the value of the createdOnClause property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "CREATEDONCLAUSE")
+ public String getCreatedOnClause() {
+ return createdOnClause;
+ }
+
+ /**
+ * Sets the value of the createdOnClause property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCreatedOnClause(String value) {
+ this.createdOnClause = value;
+ }
+
+ /**
+ * Gets the value of the maxTasks property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ @Basic
+ @Column(name = "MAXTASKS", scale = 0)
+ public Integer getMaxTasks() {
+ return maxTasks;
+ }
+
+ /**
+ * Sets the value of the maxTasks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setMaxTasks(Integer value) {
+ this.maxTasks = 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.ws_ht.api.xsd.GetMyTasks.StatusItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "STATUSITEMS_GETMYTASKS_ID")
+ public List<GetMyTasks.StatusItem> getStatusItems() {
+ if (this.statusItems == null) {
+ this.statusItems = new ArrayList<GetMyTasks.StatusItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.status)) {
+ this.status = ItemUtils.wrap(this.status, this.statusItems, GetMyTasks.StatusItem.class);
+ }
+ return this.statusItems;
+ }
+
+ public void setStatusItems(List<GetMyTasks.StatusItem> value) {
+ this.status = null;
+ this.statusItems = null;
+ this.statusItems = value;
+ if (this.statusItems == null) {
+ this.statusItems = new ArrayList<GetMyTasks.StatusItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.status)) {
+ this.status = ItemUtils.wrap(this.status, this.statusItems, GetMyTasks.StatusItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetMyTasks)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetMyTasks that = ((GetMyTasks) object);
+ equalsBuilder.append(this.getTaskType(), that.getTaskType());
+ equalsBuilder.append(this.getGenericHumanRole(), that.getGenericHumanRole());
+ equalsBuilder.append(this.getWorkQueue(), that.getWorkQueue());
+ equalsBuilder.append(this.getStatus(), that.getStatus());
+ equalsBuilder.append(this.getWhereClause(), that.getWhereClause());
+ equalsBuilder.append(this.getCreatedOnClause(), that.getCreatedOnClause());
+ equalsBuilder.append(this.getMaxTasks(), that.getMaxTasks());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetMyTasks)) {
+ 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.getTaskType());
+ hashCodeBuilder.append(this.getGenericHumanRole());
+ hashCodeBuilder.append(this.getWorkQueue());
+ hashCodeBuilder.append(this.getStatus());
+ hashCodeBuilder.append(this.getWhereClause());
+ hashCodeBuilder.append(this.getCreatedOnClause());
+ hashCodeBuilder.append(this.getMaxTasks());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.xsd.GetMyTasks$StatusItem")
+ @Table(name = "GETMYTASKSSTATUSITEM")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class StatusItem
+ implements Item<TStatus> , Equals, HashCode
+ {
+
+ @XmlElement(name = "status", namespace = "http://www.drools.org/WS-HT/api/xsd")
+ protected TStatus item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the item property.
+ *
+ * @return
+ * possible object is
+ * {@link TStatus }
+ *
+ */
+ @Basic
+ @Column(name = "ITEM")
+ @Enumerated(EnumType.STRING)
+ public TStatus getItem() {
+ return item;
+ }
+
+ /**
+ * Sets the value of the item property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TStatus }
+ *
+ */
+ public void setItem(TStatus 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 GetMyTasks.StatusItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetMyTasks.StatusItem that = ((GetMyTasks.StatusItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetMyTasks.StatusItem)) {
+ 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/ws_ht/api/xsd/GetMyTasksResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTasksResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetMyTasksResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="taskAbstract" type="{http://www.drools.org/WS-HT/api}tTask" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "taskAbstract"
+})
+ at XmlRootElement(name = "getMyTasksResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetMyTasksResponse")
+ at Table(name = "GETMYTASKSRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetMyTasksResponse
+ implements Equals, HashCode
+{
+
+ protected List<org.drools.ws_ht.api.TTask> taskAbstract;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the taskAbstract 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 taskAbstract property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getTaskAbstract().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link org.drools.ws_ht.api.TTask }
+ *
+ *
+ */
+ @OneToMany(targetEntity = org.drools.ws_ht.api.TTask.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASKABSTRACT_GETMYTASKSRESPO_0")
+ public List<org.drools.ws_ht.api.TTask> getTaskAbstract() {
+ if (taskAbstract == null) {
+ taskAbstract = new ArrayList<org.drools.ws_ht.api.TTask>();
+ }
+ return this.taskAbstract;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setTaskAbstract(List<org.drools.ws_ht.api.TTask> taskAbstract) {
+ this.taskAbstract = taskAbstract;
+ }
+
+ /**
+ * 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 GetMyTasksResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetMyTasksResponse that = ((GetMyTasksResponse) object);
+ equalsBuilder.append(this.getTaskAbstract(), that.getTaskAbstract());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetMyTasksResponse)) {
+ 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.getTaskAbstract());
+ }
+
+ 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/ws_ht/api/xsd/GetOutput.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetOutput.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetOutput.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,194 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="part" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "part"
+})
+ at XmlRootElement(name = "getOutput")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetOutput")
+ at Table(name = "GETOUTPUT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetOutput
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String part;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 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 GetOutput)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetOutput that = ((GetOutput) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getPart(), that.getPart());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetOutput)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getPart());
+ }
+
+ 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/ws_ht/api/xsd/GetOutputResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetOutputResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetOutputResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="taskData" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "taskData"
+})
+ at XmlRootElement(name = "getOutputResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetOutputResponse")
+ at Table(name = "GETOUTPUTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetOutputResponse
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected Object taskData;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the taskData property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getTaskData() {
+ return taskData;
+ }
+
+ /**
+ * Sets the value of the taskData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setTaskData(Object value) {
+ this.taskData = 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 = "TASKDATAOBJECT")
+ public String getTaskDataObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData());
+ } else {
+ return null;
+ }
+ }
+
+ public void setTaskDataObject(String target) {
+ if (target!= null) {
+ setTaskData(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetOutputResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetOutputResponse that = ((GetOutputResponse) object);
+ equalsBuilder.append(this.getTaskData(), that.getTaskData());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetOutputResponse)) {
+ 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.getTaskData());
+ }
+
+ 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/ws_ht/api/xsd/GetRendering.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRendering.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRendering.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,218 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * <element name="renderingType" type="{http://www.w3.org/2001/XMLSchema}QName"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "renderingType"
+})
+ at XmlRootElement(name = "getRendering")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetRendering")
+ at Table(name = "GETRENDERING")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetRendering
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected Object identifier;
+ @XmlElement(required = true)
+ protected QName renderingType;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdentifier(Object value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the renderingType property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getRenderingType() {
+ return renderingType;
+ }
+
+ /**
+ * Sets the value of the renderingType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setRenderingType(QName value) {
+ this.renderingType = 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 = "IDENTIFIEROBJECT")
+ public String getIdentifierObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getIdentifier())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getIdentifier());
+ } else {
+ return null;
+ }
+ }
+
+ public void setIdentifierObject(String target) {
+ if (target!= null) {
+ setIdentifier(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ @Basic
+ @Column(name = "RENDERINGTYPEITEM")
+ public String getRenderingTypeItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getRenderingType());
+ }
+
+ public void setRenderingTypeItem(String target) {
+ setRenderingType(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetRendering)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetRendering that = ((GetRendering) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getRenderingType(), that.getRenderingType());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetRendering)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getRenderingType());
+ }
+
+ 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/ws_ht/api/xsd/GetRenderingResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="rendering" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "rendering"
+})
+ at XmlRootElement(name = "getRenderingResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetRenderingResponse")
+ at Table(name = "GETRENDERINGRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetRenderingResponse
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected Object rendering;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the rendering property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getRendering() {
+ return rendering;
+ }
+
+ /**
+ * Sets the value of the rendering property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setRendering(Object value) {
+ this.rendering = 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 = "RENDERINGOBJECT")
+ public String getRenderingObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getRendering())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getRendering());
+ } else {
+ return null;
+ }
+ }
+
+ public void setRenderingObject(String target) {
+ if (target!= null) {
+ setRendering(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetRenderingResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetRenderingResponse that = ((GetRenderingResponse) object);
+ equalsBuilder.append(this.getRendering(), that.getRendering());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetRenderingResponse)) {
+ 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.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/ws_ht/api/xsd/GetRenderingTypes.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingTypes.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingTypes.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,174 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "getRenderingTypes")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetRenderingTypes")
+ at Table(name = "GETRENDERINGTYPES")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetRenderingTypes
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected Object identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setIdentifier(Object value) {
+ this.identifier = 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 = "IDENTIFIEROBJECT")
+ public String getIdentifierObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getIdentifier())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getIdentifier());
+ } else {
+ return null;
+ }
+ }
+
+ public void setIdentifierObject(String target) {
+ if (target!= null) {
+ setIdentifier(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetRenderingTypes)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetRenderingTypes that = ((GetRenderingTypes) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetRenderingTypes)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/GetRenderingTypesResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingTypesResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetRenderingTypesResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,319 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.XmlRootElement;
+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.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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="renderingType" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "renderingType"
+})
+ at XmlRootElement(name = "getRenderingTypesResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetRenderingTypesResponse")
+ at Table(name = "GETRENDERINGTYPESRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetRenderingTypesResponse
+ implements Equals, HashCode
+{
+
+ protected List<QName> renderingType;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+ @XmlTransient
+ protected List<GetRenderingTypesResponse.RenderingTypeItem> renderingTypeItems;
+
+ /**
+ * Gets the value of the renderingType 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 renderingType property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getRenderingType().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link QName }
+ *
+ *
+ */
+ @Transient
+ public List<QName> getRenderingType() {
+ if (renderingType == null) {
+ renderingType = new ArrayList<QName>();
+ }
+ return this.renderingType;
+ }
+
+ /**
+ *
+ *
+ */
+ public void setRenderingType(List<QName> renderingType) {
+ this.renderingType = renderingType;
+ }
+
+ /**
+ * 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.ws_ht.api.xsd.GetRenderingTypesResponse.RenderingTypeItem.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "RENDERINGTYPEITEMS_GETRENDER_0")
+ public List<GetRenderingTypesResponse.RenderingTypeItem> getRenderingTypeItems() {
+ if (this.renderingTypeItems == null) {
+ this.renderingTypeItems = new ArrayList<GetRenderingTypesResponse.RenderingTypeItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.renderingType)) {
+ this.renderingType = ItemUtils.wrap(this.renderingType, this.renderingTypeItems, GetRenderingTypesResponse.RenderingTypeItem.class);
+ }
+ return this.renderingTypeItems;
+ }
+
+ public void setRenderingTypeItems(List<GetRenderingTypesResponse.RenderingTypeItem> value) {
+ this.renderingType = null;
+ this.renderingTypeItems = null;
+ this.renderingTypeItems = value;
+ if (this.renderingTypeItems == null) {
+ this.renderingTypeItems = new ArrayList<GetRenderingTypesResponse.RenderingTypeItem>();
+ }
+ if (ItemUtils.shouldBeWrapped(this.renderingType)) {
+ this.renderingType = ItemUtils.wrap(this.renderingType, this.renderingTypeItems, GetRenderingTypesResponse.RenderingTypeItem.class);
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetRenderingTypesResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetRenderingTypesResponse that = ((GetRenderingTypesResponse) object);
+ equalsBuilder.append(this.getRenderingType(), that.getRenderingType());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetRenderingTypesResponse)) {
+ 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.getRenderingType());
+ }
+
+ public int hashCode() {
+ final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
+ hashCode(hashCodeBuilder);
+ return hashCodeBuilder.toHashCode();
+ }
+
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @Entity(name = "org.drools.ws_ht.api.xsd.GetRenderingTypesResponse$RenderingTypeItem")
+ @Table(name = "GETRENDERINGTYPESRESPONSEREN_0")
+ @Inheritance(strategy = InheritanceType.JOINED)
+ public static class RenderingTypeItem
+ implements Item<QName> , Equals, HashCode
+ {
+
+ @XmlElement(name = "renderingType", namespace = "http://www.drools.org/WS-HT/api/xsd")
+ protected QName item;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the item property.
+ *
+ * @return
+ * possible object is
+ * {@link QName }
+ *
+ */
+ @Transient
+ public QName getItem() {
+ return item;
+ }
+
+ /**
+ * Sets the value of the item property.
+ *
+ * @param value
+ * allowed object is
+ * {@link QName }
+ *
+ */
+ public void setItem(QName 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 = "ITEMITEM")
+ public String getItemItem() {
+ return XmlAdapterUtils.unmarshall(QNameAsString.class, this.getItem());
+ }
+
+ public void setItemItem(String target) {
+ setItem(XmlAdapterUtils.marshall(QNameAsString.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof GetRenderingTypesResponse.RenderingTypeItem)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetRenderingTypesResponse.RenderingTypeItem that = ((GetRenderingTypesResponse.RenderingTypeItem) object);
+ equalsBuilder.append(this.getItem(), that.getItem());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetRenderingTypesResponse.RenderingTypeItem)) {
+ 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/ws_ht/api/xsd/GetTaskDescription.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskDescription.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskDescription.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "contentType"
+})
+ at XmlRootElement(name = "getTaskDescription")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetTaskDescription")
+ at Table(name = "GETTASKDESCRIPTION")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetTaskDescription
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ protected String contentType;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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;
+ }
+
+ /**
+ * 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 GetTaskDescription)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetTaskDescription that = ((GetTaskDescription) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getContentType(), that.getContentType());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetTaskDescription)) {
+ 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.getIdentifier());
+ 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/ws_ht/api/xsd/GetTaskDescriptionResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskDescriptionResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskDescriptionResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,157 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "description"
+})
+ at XmlRootElement(name = "getTaskDescriptionResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetTaskDescriptionResponse")
+ at Table(name = "GETTASKDESCRIPTIONRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetTaskDescriptionResponse
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected String description;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the description property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "DESCRIPTION")
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Sets the value of the description property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDescription(String value) {
+ this.description = value;
+ }
+
+ /**
+ * Gets the value of the 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 GetTaskDescriptionResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetTaskDescriptionResponse that = ((GetTaskDescriptionResponse) object);
+ equalsBuilder.append(this.getDescription(), that.getDescription());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetTaskDescriptionResponse)) {
+ 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.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/ws_ht/api/xsd/GetTaskInfo.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskInfo.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskInfo.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "getTaskInfo")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetTaskInfo")
+ at Table(name = "GETTASKINFO")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetTaskInfo
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 GetTaskInfo)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetTaskInfo that = ((GetTaskInfo) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetTaskInfo)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/GetTaskInfoResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskInfoResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/GetTaskInfoResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,161 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="task" type="{http://www.drools.org/WS-HT/api}tTask"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "task"
+})
+ at XmlRootElement(name = "getTaskInfoResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.GetTaskInfoResponse")
+ at Table(name = "GETTASKINFORESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class GetTaskInfoResponse
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.api.TTask task;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the task property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.api.TTask }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.api.TTask.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TASK_GETTASKINFORESPONSE_ID")
+ public org.drools.ws_ht.api.TTask getTask() {
+ return task;
+ }
+
+ /**
+ * Sets the value of the task property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.api.TTask }
+ *
+ */
+ public void setTask(org.drools.ws_ht.api.TTask value) {
+ this.task = 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 GetTaskInfoResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final GetTaskInfoResponse that = ((GetTaskInfoResponse) object);
+ equalsBuilder.append(this.getTask(), that.getTask());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof GetTaskInfoResponse)) {
+ 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.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/ws_ht/api/xsd/IllegalState.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/IllegalState.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/IllegalState.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,193 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.EnumType;
+import javax.persistence.Enumerated;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Inheritance;
+import javax.persistence.InheritanceType;
+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.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.drools.ws_ht.api.TStatus;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="status" type="{http://www.drools.org/WS-HT/api}tStatus"/>
+ * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "status",
+ "message"
+})
+ at XmlRootElement(name = "illegalState")
+ at Entity(name = "org.drools.ws_ht.api.xsd.IllegalState")
+ at Table(name = "ILLEGALSTATE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class IllegalState
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected TStatus status;
+ @XmlElement(required = true)
+ protected String message;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the status property.
+ *
+ * @return
+ * possible object is
+ * {@link TStatus }
+ *
+ */
+ @Basic
+ @Column(name = "STATUS")
+ @Enumerated(EnumType.STRING)
+ public TStatus getStatus() {
+ return status;
+ }
+
+ /**
+ * Sets the value of the status property.
+ *
+ * @param value
+ * allowed object is
+ * {@link TStatus }
+ *
+ */
+ public void setStatus(TStatus value) {
+ this.status = value;
+ }
+
+ /**
+ * Gets the value of the message property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "MESSAGE")
+ public String getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setMessage(String value) {
+ this.message = 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 IllegalState)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final IllegalState that = ((IllegalState) object);
+ equalsBuilder.append(this.getStatus(), that.getStatus());
+ equalsBuilder.append(this.getMessage(), that.getMessage());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof IllegalState)) {
+ 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.getStatus());
+ hashCodeBuilder.append(this.getMessage());
+ }
+
+ 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/ws_ht/api/xsd/Nominate.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Nominate.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Nominate.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,196 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="organizationalEntity" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "organizationalEntity"
+})
+ at XmlRootElement(name = "nominate")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Nominate")
+ at Table(name = "NOMINATE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Nominate
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TOrganizationalEntity organizationalEntity;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the organizationalEntity property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ORGANIZATIONALENTITY_NOMINAT_0")
+ public org.drools.ws_ht.TOrganizationalEntity getOrganizationalEntity() {
+ return organizationalEntity;
+ }
+
+ /**
+ * Sets the value of the organizationalEntity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setOrganizationalEntity(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.organizationalEntity = 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 Nominate)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Nominate that = ((Nominate) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getOrganizationalEntity(), that.getOrganizationalEntity());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Nominate)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getOrganizationalEntity());
+ }
+
+ 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/ws_ht/api/xsd/NominateResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/NominateResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/NominateResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "nominateResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.NominateResponse")
+ at Table(name = "NOMINATERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class NominateResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 NominateResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final NominateResponse that = ((NominateResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof NominateResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/ObjectFactory.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ObjectFactory.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ObjectFactory.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,690 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.drools.ws_ht.api.xsd 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 _IllegalOperation_QNAME = new QName("http://www.drools.org/WS-HT/api/xsd", "illegalOperation");
+ private final static QName _IllegalArgument_QNAME = new QName("http://www.drools.org/WS-HT/api/xsd", "illegalArgument");
+ private final static QName _IllegalAccess_QNAME = new QName("http://www.drools.org/WS-HT/api/xsd", "illegalAccess");
+ private final static QName _RecipientNotAllowed_QNAME = new QName("http://www.drools.org/WS-HT/api/xsd", "recipientNotAllowed");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.drools.ws_ht.api.xsd
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link Nominate }
+ *
+ */
+ public Nominate createNominate() {
+ return new Nominate();
+ }
+
+ /**
+ * Create an instance of {@link GetFault }
+ *
+ */
+ public GetFault createGetFault() {
+ return new GetFault();
+ }
+
+ /**
+ * Create an instance of {@link GetTaskDescription }
+ *
+ */
+ public GetTaskDescription createGetTaskDescription() {
+ return new GetTaskDescription();
+ }
+
+ /**
+ * Create an instance of {@link GetRenderingTypesResponse }
+ *
+ */
+ public GetRenderingTypesResponse createGetRenderingTypesResponse() {
+ return new GetRenderingTypesResponse();
+ }
+
+ /**
+ * Create an instance of {@link Release }
+ *
+ */
+ public Release createRelease() {
+ return new Release();
+ }
+
+ /**
+ * Create an instance of {@link GetFaultResponse }
+ *
+ */
+ public GetFaultResponse createGetFaultResponse() {
+ return new GetFaultResponse();
+ }
+
+ /**
+ * Create an instance of {@link SetPriority }
+ *
+ */
+ public SetPriority createSetPriority() {
+ return new SetPriority();
+ }
+
+ /**
+ * Create an instance of {@link SetOutputResponse }
+ *
+ */
+ public SetOutputResponse createSetOutputResponse() {
+ return new SetOutputResponse();
+ }
+
+ /**
+ * Create an instance of {@link CompleteResponse }
+ *
+ */
+ public CompleteResponse createCompleteResponse() {
+ return new CompleteResponse();
+ }
+
+ /**
+ * Create an instance of {@link Stop }
+ *
+ */
+ public Stop createStop() {
+ return new Stop();
+ }
+
+ /**
+ * Create an instance of {@link SuspendUntilResponse }
+ *
+ */
+ public SuspendUntilResponse createSuspendUntilResponse() {
+ return new SuspendUntilResponse();
+ }
+
+ /**
+ * Create an instance of {@link Query }
+ *
+ */
+ public Query createQuery() {
+ return new Query();
+ }
+
+ /**
+ * Create an instance of {@link Fail }
+ *
+ */
+ public Fail createFail() {
+ return new Fail();
+ }
+
+ /**
+ * Create an instance of {@link Resume }
+ *
+ */
+ public Resume createResume() {
+ return new Resume();
+ }
+
+ /**
+ * Create an instance of {@link GetTaskInfoResponse }
+ *
+ */
+ public GetTaskInfoResponse createGetTaskInfoResponse() {
+ return new GetTaskInfoResponse();
+ }
+
+ /**
+ * Create an instance of {@link Forward }
+ *
+ */
+ public Forward createForward() {
+ return new Forward();
+ }
+
+ /**
+ * Create an instance of {@link Complete }
+ *
+ */
+ public Complete createComplete() {
+ return new Complete();
+ }
+
+ /**
+ * Create an instance of {@link AddAttachment }
+ *
+ */
+ public AddAttachment createAddAttachment() {
+ return new AddAttachment();
+ }
+
+ /**
+ * Create an instance of {@link GetInput }
+ *
+ */
+ public GetInput createGetInput() {
+ return new GetInput();
+ }
+
+ /**
+ * Create an instance of {@link Activate }
+ *
+ */
+ public Activate createActivate() {
+ return new Activate();
+ }
+
+ /**
+ * Create an instance of {@link Suspend }
+ *
+ */
+ public Suspend createSuspend() {
+ return new Suspend();
+ }
+
+ /**
+ * Create an instance of {@link ResumeResponse }
+ *
+ */
+ public ResumeResponse createResumeResponse() {
+ return new ResumeResponse();
+ }
+
+ /**
+ * Create an instance of {@link Remove }
+ *
+ */
+ public Remove createRemove() {
+ return new Remove();
+ }
+
+ /**
+ * Create an instance of {@link SetOutput }
+ *
+ */
+ public SetOutput createSetOutput() {
+ return new SetOutput();
+ }
+
+ /**
+ * Create an instance of {@link GetAttachmentInfos }
+ *
+ */
+ public GetAttachmentInfos createGetAttachmentInfos() {
+ return new GetAttachmentInfos();
+ }
+
+ /**
+ * Create an instance of {@link GetTaskDescriptionResponse }
+ *
+ */
+ public GetTaskDescriptionResponse createGetTaskDescriptionResponse() {
+ return new GetTaskDescriptionResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetRenderingResponse }
+ *
+ */
+ public GetRenderingResponse createGetRenderingResponse() {
+ return new GetRenderingResponse();
+ }
+
+ /**
+ * Create an instance of {@link DelegateResponse }
+ *
+ */
+ public DelegateResponse createDelegateResponse() {
+ return new DelegateResponse();
+ }
+
+ /**
+ * Create an instance of {@link QueryResponse }
+ *
+ */
+ public QueryResponse createQueryResponse() {
+ return new QueryResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetOutput }
+ *
+ */
+ public GetOutput createGetOutput() {
+ return new GetOutput();
+ }
+
+ /**
+ * Create an instance of {@link GetTaskInfo }
+ *
+ */
+ public GetTaskInfo createGetTaskInfo() {
+ return new GetTaskInfo();
+ }
+
+ /**
+ * Create an instance of {@link ForwardResponse }
+ *
+ */
+ public ForwardResponse createForwardResponse() {
+ return new ForwardResponse();
+ }
+
+ /**
+ * Create an instance of {@link AddCommentResponse }
+ *
+ */
+ public AddCommentResponse createAddCommentResponse() {
+ return new AddCommentResponse();
+ }
+
+ /**
+ * Create an instance of {@link Skip }
+ *
+ */
+ public Skip createSkip() {
+ return new Skip();
+ }
+
+ /**
+ * Create an instance of {@link StartResponse }
+ *
+ */
+ public StartResponse createStartResponse() {
+ return new StartResponse();
+ }
+
+ /**
+ * Create an instance of {@link AddComment }
+ *
+ */
+ public AddComment createAddComment() {
+ return new AddComment();
+ }
+
+ /**
+ * Create an instance of {@link DeleteFaultResponse }
+ *
+ */
+ public DeleteFaultResponse createDeleteFaultResponse() {
+ return new DeleteFaultResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetOutputResponse }
+ *
+ */
+ public GetOutputResponse createGetOutputResponse() {
+ return new GetOutputResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetMyTasksResponse }
+ *
+ */
+ public GetMyTasksResponse createGetMyTasksResponse() {
+ return new GetMyTasksResponse();
+ }
+
+ /**
+ * Create an instance of {@link ClaimResponse }
+ *
+ */
+ public ClaimResponse createClaimResponse() {
+ return new ClaimResponse();
+ }
+
+ /**
+ * Create an instance of {@link ActivateResponse }
+ *
+ */
+ public ActivateResponse createActivateResponse() {
+ return new ActivateResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetMyTaskAbstracts }
+ *
+ */
+ public GetMyTaskAbstracts createGetMyTaskAbstracts() {
+ return new GetMyTaskAbstracts();
+ }
+
+ /**
+ * Create an instance of {@link StopResponse }
+ *
+ */
+ public StopResponse createStopResponse() {
+ return new StopResponse();
+ }
+
+ /**
+ * Create an instance of {@link Claim }
+ *
+ */
+ public Claim createClaim() {
+ return new Claim();
+ }
+
+ /**
+ * Create an instance of {@link GetMyTasks }
+ *
+ */
+ public GetMyTasks createGetMyTasks() {
+ return new GetMyTasks();
+ }
+
+ /**
+ * Create an instance of {@link Start }
+ *
+ */
+ public Start createStart() {
+ return new Start();
+ }
+
+ /**
+ * Create an instance of {@link NominateResponse }
+ *
+ */
+ public NominateResponse createNominateResponse() {
+ return new NominateResponse();
+ }
+
+ /**
+ * Create an instance of {@link DeleteOutputResponse }
+ *
+ */
+ public DeleteOutputResponse createDeleteOutputResponse() {
+ return new DeleteOutputResponse();
+ }
+
+ /**
+ * Create an instance of {@link RemoveResponse }
+ *
+ */
+ public RemoveResponse createRemoveResponse() {
+ return new RemoveResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetInputResponse }
+ *
+ */
+ public GetInputResponse createGetInputResponse() {
+ return new GetInputResponse();
+ }
+
+ /**
+ * Create an instance of {@link SetGenericHumanRoleResponse }
+ *
+ */
+ public SetGenericHumanRoleResponse createSetGenericHumanRoleResponse() {
+ return new SetGenericHumanRoleResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetRenderingTypes }
+ *
+ */
+ public GetRenderingTypes createGetRenderingTypes() {
+ return new GetRenderingTypes();
+ }
+
+ /**
+ * Create an instance of {@link DeleteFault }
+ *
+ */
+ public DeleteFault createDeleteFault() {
+ return new DeleteFault();
+ }
+
+ /**
+ * Create an instance of {@link DeleteAttachmentsResponse }
+ *
+ */
+ public DeleteAttachmentsResponse createDeleteAttachmentsResponse() {
+ return new DeleteAttachmentsResponse();
+ }
+
+ /**
+ * Create an instance of {@link ReleaseResponse }
+ *
+ */
+ public ReleaseResponse createReleaseResponse() {
+ return new ReleaseResponse();
+ }
+
+ /**
+ * Create an instance of {@link IllegalState }
+ *
+ */
+ public IllegalState createIllegalState() {
+ return new IllegalState();
+ }
+
+ /**
+ * Create an instance of {@link TTime }
+ *
+ */
+ public TTime createTTime() {
+ return new TTime();
+ }
+
+ /**
+ * Create an instance of {@link SuspendResponse }
+ *
+ */
+ public SuspendResponse createSuspendResponse() {
+ return new SuspendResponse();
+ }
+
+ /**
+ * Create an instance of {@link SetGenericHumanRole }
+ *
+ */
+ public SetGenericHumanRole createSetGenericHumanRole() {
+ return new SetGenericHumanRole();
+ }
+
+ /**
+ * Create an instance of {@link GetCommentsResposne }
+ *
+ */
+ public GetCommentsResposne createGetCommentsResposne() {
+ return new GetCommentsResposne();
+ }
+
+ /**
+ * Create an instance of {@link GetMyTaskAbstractsResponse }
+ *
+ */
+ public GetMyTaskAbstractsResponse createGetMyTaskAbstractsResponse() {
+ return new GetMyTaskAbstractsResponse();
+ }
+
+ /**
+ * Create an instance of {@link DeleteAttachments }
+ *
+ */
+ public DeleteAttachments createDeleteAttachments() {
+ return new DeleteAttachments();
+ }
+
+ /**
+ * Create an instance of {@link AddAttachmentResponse }
+ *
+ */
+ public AddAttachmentResponse createAddAttachmentResponse() {
+ return new AddAttachmentResponse();
+ }
+
+ /**
+ * Create an instance of {@link SkipResponse }
+ *
+ */
+ public SkipResponse createSkipResponse() {
+ return new SkipResponse();
+ }
+
+ /**
+ * Create an instance of {@link SuspendUntil }
+ *
+ */
+ public SuspendUntil createSuspendUntil() {
+ return new SuspendUntil();
+ }
+
+ /**
+ * Create an instance of {@link FailResponse }
+ *
+ */
+ public FailResponse createFailResponse() {
+ return new FailResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetAttachmentsResponse }
+ *
+ */
+ public GetAttachmentsResponse createGetAttachmentsResponse() {
+ return new GetAttachmentsResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetRendering }
+ *
+ */
+ public GetRendering createGetRendering() {
+ return new GetRendering();
+ }
+
+ /**
+ * Create an instance of {@link SetFault }
+ *
+ */
+ public SetFault createSetFault() {
+ return new SetFault();
+ }
+
+ /**
+ * Create an instance of {@link GetAttachments }
+ *
+ */
+ public GetAttachments createGetAttachments() {
+ return new GetAttachments();
+ }
+
+ /**
+ * Create an instance of {@link SetFaultResponse }
+ *
+ */
+ public SetFaultResponse createSetFaultResponse() {
+ return new SetFaultResponse();
+ }
+
+ /**
+ * Create an instance of {@link GetAttachmentInfosResponse }
+ *
+ */
+ public GetAttachmentInfosResponse createGetAttachmentInfosResponse() {
+ return new GetAttachmentInfosResponse();
+ }
+
+ /**
+ * Create an instance of {@link SetPriorityResponse }
+ *
+ */
+ public SetPriorityResponse createSetPriorityResponse() {
+ return new SetPriorityResponse();
+ }
+
+ /**
+ * Create an instance of {@link Delegate }
+ *
+ */
+ public Delegate createDelegate() {
+ return new Delegate();
+ }
+
+ /**
+ * Create an instance of {@link GetComments }
+ *
+ */
+ public GetComments createGetComments() {
+ return new GetComments();
+ }
+
+ /**
+ * Create an instance of {@link DeleteOutput }
+ *
+ */
+ public DeleteOutput createDeleteOutput() {
+ return new DeleteOutput();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api/xsd", name = "illegalOperation")
+ public JAXBElement<String> createIllegalOperation(String value) {
+ return new JAXBElement<String>(_IllegalOperation_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api/xsd", name = "illegalArgument")
+ public JAXBElement<String> createIllegalArgument(String value) {
+ return new JAXBElement<String>(_IllegalArgument_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api/xsd", name = "illegalAccess")
+ public JAXBElement<String> createIllegalAccess(String value) {
+ return new JAXBElement<String>(_IllegalAccess_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://www.drools.org/WS-HT/api/xsd", name = "recipientNotAllowed")
+ public JAXBElement<String> createRecipientNotAllowed(String value) {
+ return new JAXBElement<String>(_RecipientNotAllowed_QNAME, String.class, null, value);
+ }
+
+}
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Query.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Query.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Query.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,281 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="selectClause" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="whereClause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="orderByClause" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="maxTasks" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * <element name="taskIndexOffset" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "selectClause",
+ "whereClause",
+ "orderByClause",
+ "maxTasks",
+ "taskIndexOffset"
+})
+ at XmlRootElement(name = "query")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Query")
+ at Table(name = "QUERY")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Query
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected String selectClause;
+ protected String whereClause;
+ protected String orderByClause;
+ protected Integer maxTasks;
+ protected Integer taskIndexOffset;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the selectClause property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "SELECTCLAUSE")
+ public String getSelectClause() {
+ return selectClause;
+ }
+
+ /**
+ * Sets the value of the selectClause property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSelectClause(String value) {
+ this.selectClause = value;
+ }
+
+ /**
+ * Gets the value of the whereClause property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "WHERECLAUSE")
+ public String getWhereClause() {
+ return whereClause;
+ }
+
+ /**
+ * Sets the value of the whereClause property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setWhereClause(String value) {
+ this.whereClause = value;
+ }
+
+ /**
+ * Gets the value of the orderByClause property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "ORDERBYCLAUSE")
+ public String getOrderByClause() {
+ return orderByClause;
+ }
+
+ /**
+ * Sets the value of the orderByClause property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOrderByClause(String value) {
+ this.orderByClause = value;
+ }
+
+ /**
+ * Gets the value of the maxTasks property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ @Basic
+ @Column(name = "MAXTASKS", scale = 0)
+ public Integer getMaxTasks() {
+ return maxTasks;
+ }
+
+ /**
+ * Sets the value of the maxTasks property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setMaxTasks(Integer value) {
+ this.maxTasks = value;
+ }
+
+ /**
+ * Gets the value of the taskIndexOffset property.
+ *
+ * @return
+ * possible object is
+ * {@link Integer }
+ *
+ */
+ @Basic
+ @Column(name = "TASKINDEXOFFSET", scale = 0)
+ public Integer getTaskIndexOffset() {
+ return taskIndexOffset;
+ }
+
+ /**
+ * Sets the value of the taskIndexOffset property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ *
+ */
+ public void setTaskIndexOffset(Integer value) {
+ this.taskIndexOffset = 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 Query)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Query that = ((Query) object);
+ equalsBuilder.append(this.getSelectClause(), that.getSelectClause());
+ equalsBuilder.append(this.getWhereClause(), that.getWhereClause());
+ equalsBuilder.append(this.getOrderByClause(), that.getOrderByClause());
+ equalsBuilder.append(this.getMaxTasks(), that.getMaxTasks());
+ equalsBuilder.append(this.getTaskIndexOffset(), that.getTaskIndexOffset());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Query)) {
+ 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.getSelectClause());
+ hashCodeBuilder.append(this.getWhereClause());
+ hashCodeBuilder.append(this.getOrderByClause());
+ hashCodeBuilder.append(this.getMaxTasks());
+ hashCodeBuilder.append(this.getTaskIndexOffset());
+ }
+
+ 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/ws_ht/api/xsd/QueryResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/QueryResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/QueryResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,161 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="query" type="{http://www.drools.org/WS-HT/api}tTaskQueryResultSet"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "query"
+})
+ at XmlRootElement(name = "queryResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.QueryResponse")
+ at Table(name = "QUERYRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class QueryResponse
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.api.TTaskQueryResultSet query;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the query property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.api.TTaskQueryResultSet }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.api.TTaskQueryResultSet.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "QUERY_QUERYRESPONSE_ID")
+ public org.drools.ws_ht.api.TTaskQueryResultSet getQuery() {
+ return query;
+ }
+
+ /**
+ * Sets the value of the query property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.api.TTaskQueryResultSet }
+ *
+ */
+ public void setQuery(org.drools.ws_ht.api.TTaskQueryResultSet value) {
+ this.query = 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 QueryResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final QueryResponse that = ((QueryResponse) object);
+ equalsBuilder.append(this.getQuery(), that.getQuery());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof QueryResponse)) {
+ 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.getQuery());
+ }
+
+ 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/ws_ht/api/xsd/Release.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Release.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Release.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "release")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Release")
+ at Table(name = "RELEASE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Release
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Release)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Release that = ((Release) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Release)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/ReleaseResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ReleaseResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ReleaseResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "releaseResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.ReleaseResponse")
+ at Table(name = "RELEASERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class ReleaseResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 ReleaseResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final ReleaseResponse that = ((ReleaseResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof ReleaseResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Remove.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Remove.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Remove.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "remove")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Remove")
+ at Table(name = "REMOVE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Remove
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Remove)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Remove that = ((Remove) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Remove)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/RemoveResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/RemoveResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/RemoveResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "removeResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.RemoveResponse")
+ at Table(name = "REMOVERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class RemoveResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 RemoveResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final RemoveResponse that = ((RemoveResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof RemoveResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Resume.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Resume.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Resume.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "resume")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Resume")
+ at Table(name = "RESUME")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Resume
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Resume)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Resume that = ((Resume) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Resume)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/ResumeResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ResumeResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/ResumeResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "resumeResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.ResumeResponse")
+ at Table(name = "RESUMERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class ResumeResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 ResumeResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final ResumeResponse that = ((ResumeResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof ResumeResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/SetFault.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetFault.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetFault.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,244 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="faultName" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
+ * <element name="faultData" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "faultName",
+ "faultData"
+})
+ at XmlRootElement(name = "setFault")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetFault")
+ at Table(name = "SETFAULT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetFault
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String faultName;
+ @XmlElement(required = true)
+ protected Object faultData;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the faultName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "FAULTNAME")
+ public String getFaultName() {
+ return faultName;
+ }
+
+ /**
+ * Sets the value of the faultName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFaultName(String value) {
+ this.faultName = value;
+ }
+
+ /**
+ * Gets the value of the faultData property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getFaultData() {
+ return faultData;
+ }
+
+ /**
+ * Sets the value of the faultData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setFaultData(Object value) {
+ this.faultData = 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 = "FAULTDATAOBJECT")
+ public String getFaultDataObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getFaultData())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getFaultData());
+ } else {
+ return null;
+ }
+ }
+
+ public void setFaultDataObject(String target) {
+ if (target!= null) {
+ setFaultData(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof SetFault)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetFault that = ((SetFault) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getFaultName(), that.getFaultName());
+ equalsBuilder.append(this.getFaultData(), that.getFaultData());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetFault)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getFaultName());
+ hashCodeBuilder.append(this.getFaultData());
+ }
+
+ 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/ws_ht/api/xsd/SetFaultResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetFaultResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetFaultResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "setFaultResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetFaultResponse")
+ at Table(name = "SETFAULTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetFaultResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 SetFaultResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetFaultResponse that = ((SetFaultResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetFaultResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/SetGenericHumanRole.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetGenericHumanRole.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetGenericHumanRole.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,228 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="genericHumanRole" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="organizationalEntity" type="{http://www.drools.org/WS-HT}tOrganizationalEntity"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "genericHumanRole",
+ "organizationalEntity"
+})
+ at XmlRootElement(name = "setGenericHumanRole")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetGenericHumanRole")
+ at Table(name = "SETGENERICHUMANROLE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetGenericHumanRole
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected String genericHumanRole;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.TOrganizationalEntity organizationalEntity;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the genericHumanRole property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "GENERICHUMANROLE")
+ public String getGenericHumanRole() {
+ return genericHumanRole;
+ }
+
+ /**
+ * Sets the value of the genericHumanRole property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setGenericHumanRole(String value) {
+ this.genericHumanRole = value;
+ }
+
+ /**
+ * Gets the value of the organizationalEntity property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.TOrganizationalEntity.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "ORGANIZATIONALENTITY_SETGENE_0")
+ public org.drools.ws_ht.TOrganizationalEntity getOrganizationalEntity() {
+ return organizationalEntity;
+ }
+
+ /**
+ * Sets the value of the organizationalEntity property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.TOrganizationalEntity }
+ *
+ */
+ public void setOrganizationalEntity(org.drools.ws_ht.TOrganizationalEntity value) {
+ this.organizationalEntity = 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 SetGenericHumanRole)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetGenericHumanRole that = ((SetGenericHumanRole) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getGenericHumanRole(), that.getGenericHumanRole());
+ equalsBuilder.append(this.getOrganizationalEntity(), that.getOrganizationalEntity());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetGenericHumanRole)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getGenericHumanRole());
+ hashCodeBuilder.append(this.getOrganizationalEntity());
+ }
+
+ 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/ws_ht/api/xsd/SetGenericHumanRoleResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetGenericHumanRoleResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetGenericHumanRoleResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "setGenericHumanRoleResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetGenericHumanRoleResponse")
+ at Table(name = "SETGENERICHUMANROLERESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetGenericHumanRoleResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 SetGenericHumanRoleResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetGenericHumanRoleResponse that = ((SetGenericHumanRoleResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetGenericHumanRoleResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/SetOutput.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetOutput.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetOutput.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,243 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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.hyperjaxb3.xml.bind.JAXBContextUtils;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="part" type="{http://www.w3.org/2001/XMLSchema}NCName" minOccurs="0"/>
+ * <element name="taskData" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "part",
+ "taskData"
+})
+ at XmlRootElement(name = "setOutput")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetOutput")
+ at Table(name = "SETOUTPUT")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetOutput
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
+ @XmlSchemaType(name = "NCName")
+ protected String part;
+ @XmlElement(required = true)
+ protected Object taskData;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 taskData property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ @Transient
+ public Object getTaskData() {
+ return taskData;
+ }
+
+ /**
+ * Sets the value of the taskData property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setTaskData(Object value) {
+ this.taskData = 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 = "TASKDATAOBJECT")
+ public String getTaskDataObject() {
+ if (JAXBContextUtils.isMarshallable("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData())) {
+ return JAXBContextUtils.unmarshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", this.getTaskData());
+ } else {
+ return null;
+ }
+ }
+
+ public void setTaskDataObject(String target) {
+ if (target!= null) {
+ setTaskData(JAXBContextUtils.marshall("org.drools.ws_ht:org.drools.ws_ht.api.xsd:org.drools.ws_ht.api", target));
+ }
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof SetOutput)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetOutput that = ((SetOutput) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getPart(), that.getPart());
+ equalsBuilder.append(this.getTaskData(), that.getTaskData());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetOutput)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getPart());
+ hashCodeBuilder.append(this.getTaskData());
+ }
+
+ 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/ws_ht/api/xsd/SetOutputResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetOutputResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetOutputResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "setOutputResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetOutputResponse")
+ at Table(name = "SETOUTPUTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetOutputResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 SetOutputResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetOutputResponse that = ((SetOutputResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetOutputResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/SetPriority.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetPriority.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetPriority.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,193 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import java.math.BigInteger;
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="priority" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "priority"
+})
+ at XmlRootElement(name = "setPriority")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetPriority")
+ at Table(name = "SETPRIORITY")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetPriority
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "nonNegativeInteger")
+ protected BigInteger priority;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the priority property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ @Basic
+ @Column(name = "PRIORITY", scale = 0)
+ public BigInteger getPriority() {
+ return priority;
+ }
+
+ /**
+ * Sets the value of the priority property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setPriority(BigInteger value) {
+ this.priority = 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 SetPriority)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetPriority that = ((SetPriority) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getPriority(), that.getPriority());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetPriority)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getPriority());
+ }
+
+ 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/ws_ht/api/xsd/SetPriorityResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetPriorityResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SetPriorityResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "setPriorityResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SetPriorityResponse")
+ at Table(name = "SETPRIORITYRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SetPriorityResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 SetPriorityResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SetPriorityResponse that = ((SetPriorityResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SetPriorityResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Skip.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Skip.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Skip.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "skip")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Skip")
+ at Table(name = "SKIP")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Skip
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Skip)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Skip that = ((Skip) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Skip)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/SkipResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SkipResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SkipResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "skipResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SkipResponse")
+ at Table(name = "SKIPRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SkipResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 SkipResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SkipResponse that = ((SkipResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SkipResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Start.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Start.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Start.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "start")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Start")
+ at Table(name = "START_")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Start
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Start)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Start that = ((Start) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Start)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/StartResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/StartResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/StartResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "startResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.StartResponse")
+ at Table(name = "STARTRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class StartResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 StartResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final StartResponse that = ((StartResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof StartResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Stop.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Stop.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Stop.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "stop")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Stop")
+ at Table(name = "STOP")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Stop
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Stop)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Stop that = ((Stop) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Stop)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/StopResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/StopResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/StopResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "stopResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.StopResponse")
+ at Table(name = "STOPRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class StopResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 StopResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final StopResponse that = ((StopResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof StopResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/Suspend.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Suspend.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/Suspend.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,159 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import javax.persistence.Basic;
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier"
+})
+ at XmlRootElement(name = "suspend")
+ at Entity(name = "org.drools.ws_ht.api.xsd.Suspend")
+ at Table(name = "SUSPEND")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class Suspend
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the 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 Suspend)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final Suspend that = ((Suspend) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof Suspend)) {
+ 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.getIdentifier());
+ }
+
+ 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/ws_ht/api/xsd/SuspendResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "suspendResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SuspendResponse")
+ at Table(name = "SUSPENDRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SuspendResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 SuspendResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SuspendResponse that = ((SuspendResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SuspendResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/SuspendUntil.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendUntil.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendUntil.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,196 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.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.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <element name="time" type="{http://www.drools.org/WS-HT/api/xsd}tTime"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "", propOrder = {
+ "identifier",
+ "time"
+})
+ at XmlRootElement(name = "suspendUntil")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SuspendUntil")
+ at Table(name = "SUSPENDUNTIL")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SuspendUntil
+ implements Equals, HashCode
+{
+
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String identifier;
+ @XmlElement(required = true)
+ protected org.drools.ws_ht.api.xsd.TTime time;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the identifier property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ @Basic
+ @Column(name = "IDENTIFIER")
+ public String getIdentifier() {
+ return identifier;
+ }
+
+ /**
+ * Sets the value of the identifier property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setIdentifier(String value) {
+ this.identifier = value;
+ }
+
+ /**
+ * Gets the value of the time property.
+ *
+ * @return
+ * possible object is
+ * {@link org.drools.ws_ht.api.xsd.TTime }
+ *
+ */
+ @ManyToOne(targetEntity = org.drools.ws_ht.api.xsd.TTime.class, cascade = {
+ CascadeType.ALL
+ })
+ @JoinColumn(name = "TIME__SUSPENDUNTIL_ID")
+ public org.drools.ws_ht.api.xsd.TTime getTime() {
+ return time;
+ }
+
+ /**
+ * Sets the value of the time property.
+ *
+ * @param value
+ * allowed object is
+ * {@link org.drools.ws_ht.api.xsd.TTime }
+ *
+ */
+ public void setTime(org.drools.ws_ht.api.xsd.TTime value) {
+ this.time = 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 SuspendUntil)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SuspendUntil that = ((SuspendUntil) object);
+ equalsBuilder.append(this.getIdentifier(), that.getIdentifier());
+ equalsBuilder.append(this.getTime(), that.getTime());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SuspendUntil)) {
+ 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.getIdentifier());
+ hashCodeBuilder.append(this.getTime());
+ }
+
+ 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/ws_ht/api/xsd/SuspendUntilResponse.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendUntilResponse.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/SuspendUntilResponse.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,122 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+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.Table;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlRootElement;
+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 anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "")
+ at XmlRootElement(name = "suspendUntilResponse")
+ at Entity(name = "org.drools.ws_ht.api.xsd.SuspendUntilResponse")
+ at Table(name = "SUSPENDUNTILRESPONSE")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class SuspendUntilResponse
+ implements Equals, HashCode
+{
+
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * 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 SuspendUntilResponse)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final SuspendUntilResponse that = ((SuspendUntilResponse) object);
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof SuspendUntilResponse)) {
+ return false;
+ }
+ if (this == object) {
+ return true;
+ }
+ final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
+ equals(object, equalsBuilder);
+ return equalsBuilder.isEquals();
+ }
+
+ public void hashCode(HashCodeBuilder 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/ws_ht/api/xsd/TTime.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/TTime.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/TTime.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -0,0 +1,214 @@
+//
+// 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.21 at 05:31:46 AM BST
+//
+
+
+package org.drools.ws_ht.api.xsd;
+
+import java.util.Date;
+import javax.persistence.Basic;
+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.Table;
+import javax.persistence.Temporal;
+import javax.persistence.TemporalType;
+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.datatype.Duration;
+import javax.xml.datatype.XMLGregorianCalendar;
+import org.apache.commons.lang.builder.EqualsBuilder;
+import org.apache.commons.lang.builder.HashCodeBuilder;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.DurationAsString;
+import org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XMLGregorianCalendarAsDateTime;
+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 tTime complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="tTime">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice>
+ * <element name="timePeriod" type="{http://www.w3.org/2001/XMLSchema}duration"/>
+ * <element name="pointOfTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
+ * </choice>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "tTime", propOrder = {
+ "timePeriod",
+ "pointOfTime"
+})
+ at Entity(name = "org.drools.ws_ht.api.xsd.TTime")
+ at Table(name = "TTIME")
+ at Inheritance(strategy = InheritanceType.JOINED)
+public class TTime
+ implements Equals, HashCode
+{
+
+ protected Duration timePeriod;
+ @XmlSchemaType(name = "dateTime")
+ protected XMLGregorianCalendar pointOfTime;
+ @XmlAttribute(name = "Hjid")
+ protected Long hjid;
+
+ /**
+ * Gets the value of the timePeriod property.
+ *
+ * @return
+ * possible object is
+ * {@link Duration }
+ *
+ */
+ @Transient
+ public Duration getTimePeriod() {
+ return timePeriod;
+ }
+
+ /**
+ * Sets the value of the timePeriod property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Duration }
+ *
+ */
+ public void setTimePeriod(Duration value) {
+ this.timePeriod = value;
+ }
+
+ /**
+ * Gets the value of the pointOfTime property.
+ *
+ * @return
+ * possible object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ @Transient
+ public XMLGregorianCalendar getPointOfTime() {
+ return pointOfTime;
+ }
+
+ /**
+ * Sets the value of the pointOfTime property.
+ *
+ * @param value
+ * allowed object is
+ * {@link XMLGregorianCalendar }
+ *
+ */
+ public void setPointOfTime(XMLGregorianCalendar value) {
+ this.pointOfTime = 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 = "TIMEPERIODITEM")
+ public String getTimePeriodItem() {
+ return XmlAdapterUtils.unmarshall(DurationAsString.class, this.getTimePeriod());
+ }
+
+ public void setTimePeriodItem(String target) {
+ setTimePeriod(XmlAdapterUtils.marshall(DurationAsString.class, target));
+ }
+
+ @Basic
+ @Column(name = "POINTOFTIMEITEM")
+ @Temporal(TemporalType.TIMESTAMP)
+ public Date getPointOfTimeItem() {
+ return XmlAdapterUtils.unmarshall(XMLGregorianCalendarAsDateTime.class, this.getPointOfTime());
+ }
+
+ public void setPointOfTimeItem(Date target) {
+ setPointOfTime(XmlAdapterUtils.marshall(XMLGregorianCalendarAsDateTime.class, target));
+ }
+
+ public void equals(Object object, EqualsBuilder equalsBuilder) {
+ if (!(object instanceof TTime)) {
+ equalsBuilder.appendSuper(false);
+ return ;
+ }
+ if (this == object) {
+ return ;
+ }
+ final TTime that = ((TTime) object);
+ equalsBuilder.append(this.getTimePeriod(), that.getTimePeriod());
+ equalsBuilder.append(this.getPointOfTime(), that.getPointOfTime());
+ }
+
+ public boolean equals(Object object) {
+ if (!(object instanceof TTime)) {
+ 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.getTimePeriod());
+ hashCodeBuilder.append(this.getPointOfTime());
+ }
+
+ 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/ws_ht/api/xsd/package-info.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/package-info.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/api/xsd/package-info.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.drools.org/WS-HT/api/xsd", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.drools.ws_ht.api.xsd;
Added: labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/package-info.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/package-info.java (rev 0)
+++ labs/jbossrules/trunk/drools-process/drools-process-task/src/main/java/org/drools/ws_ht/package-info.java 2008-08-21 04:42:18 UTC (rev 21645)
@@ -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.21 at 05:31:46 AM BST
+//
+
+ at javax.xml.bind.annotation.XmlSchema(namespace = "http://www.drools.org/WS-HT", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.drools.ws_ht;
More information about the jboss-svn-commits
mailing list