package com.cordys.entity.bean; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TaskId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *         <element name="TransferOwnership" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="Memo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="SendTo">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="UserDN" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="DueDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "taskId", "transferOwnership", "memo", "sendTo", "dueDate" }) @XmlRootElement(name = "DelegateTask", namespace = "http://schemas.cordys.com/notification/workflow/1.0") public class DelegateTask { @XmlElement(name = "TaskId", namespace = "http://schemas.cordys.com/notification/workflow/1.0", required = true) protected List taskId; @XmlElement(name = "TransferOwnership", namespace = "http://schemas.cordys.com/notification/workflow/1.0", defaultValue = "true") protected boolean transferOwnership; @XmlElement(name = "Memo", namespace = "http://schemas.cordys.com/notification/workflow/1.0") protected String memo; @XmlElement(name = "SendTo", namespace = "http://schemas.cordys.com/notification/workflow/1.0", required = true) protected DelegateTask.SendTo sendTo; @XmlElement(name = "DueDate", namespace = "http://schemas.cordys.com/notification/workflow/1.0") protected String dueDate; public void setTaskId(List taskId) { if(this.taskId==null )this.taskId=new ArrayList(); this.taskId.addAll(taskId); } public void setTaskId(String taskId) { if(this.taskId==null )this.taskId=new ArrayList(); this.taskId.add(taskId); } /** * Gets the value of the taskId property. * *

* 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 set method for the taskId property. * *

* For example, to add a new item, do as follows: *

     *    getTaskId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getTaskId() { if (taskId == null) { taskId = new ArrayList(); } return this.taskId; } /** * Gets the value of the transferOwnership property. * */ public boolean isTransferOwnership() { return transferOwnership; } /** * Sets the value of the transferOwnership property. * */ public void setTransferOwnership(boolean value) { this.transferOwnership = value; } /** * Gets the value of the memo property. * * @return * possible object is * {@link String } * */ public String getMemo() { return memo; } /** * Sets the value of the memo property. * * @param value * allowed object is * {@link String } * */ public void setMemo(String value) { this.memo = value; } /** * Gets the value of the sendTo property. * * @return * possible object is * {@link DelegateTask.SendTo } * */ public DelegateTask.SendTo getSendTo() { return sendTo; } /** * Sets the value of the sendTo property. * * @param value * allowed object is * {@link DelegateTask.SendTo } * */ public void setSendTo(DelegateTask.SendTo value) { this.sendTo = value; } /** * Gets the value of the dueDate property. * * @return * possible object is * {@link String } * */ public String getDueDate() { return dueDate; } /** * Sets the value of the dueDate property. * * @param value * allowed object is * {@link String } * */ public void setDueDate(String value) { this.dueDate = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="UserDN" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "userDN" }) public static class SendTo { @XmlElement(name = "UserDN", namespace = "http://schemas.cordys.com/notification/workflow/1.0", required = true) protected Object userDN; /** * Gets the value of the userDN property. * * @return * possible object is * {@link Object } * */ public Object getUserDN() { return userDN; } /** * Sets the value of the userDN property. * * @param value * allowed object is * {@link Object } * */ public void setUserDN(Object value) { this.userDN = value; } } }