package com.cordys.entity.bean; import java.util.ArrayList; import java.util.List; 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.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="Target">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="Assignee" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attribute name="type" default="worklist">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="user"/>
 *                       <enumeration value="role"/>
 *                       <enumeration value="worklist"/>
 *                       <enumeration value="team"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="Memo" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="DueDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "taskId", "target", "memo", "dueDate" }) @XmlRootElement(name = "TransferTask", namespace = "http://schemas.cordys.com/notification/workflow/1.0") public class TransferTask { @XmlElement(name = "TaskId", namespace = "http://schemas.cordys.com/notification/workflow/1.0", required = true) protected List taskId; @XmlElement(name = "Target", namespace = "http://schemas.cordys.com/notification/workflow/1.0", required = true) protected TransferTask.Target target; @XmlElement(name = "Memo", namespace = "http://schemas.cordys.com/notification/workflow/1.0", required = true) protected String memo; @XmlElement(name = "DueDate", namespace = "http://schemas.cordys.com/notification/workflow/1.0") protected String dueDate; /** * 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; } 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 target property. * * @return * possible object is * {@link TransferTask.Target } * */ public TransferTask.Target getTarget() { return target; } /** * Sets the value of the target property. * * @param value * allowed object is * {@link TransferTask.Target } * */ public void setTarget(TransferTask.Target value) { this.target = 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 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="Assignee" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
     *       </sequence>
     *       <attribute name="type" default="worklist">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="user"/>
     *             <enumeration value="role"/>
     *             <enumeration value="worklist"/>
     *             <enumeration value="team"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) public static class Target { @XmlElement(name = "target", namespace = "http://schemas.cordys.com/notification/workflow/1.0", required = true) protected List content; @XmlAttribute(name = "type") protected String type; /** * Gets the value of the content 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 content property. * *

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

         *    getContent().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link Object }{@code >} * {@link String } * * */ public List< String> getContent() { if (content == null) { content = new ArrayList(); } return this.content; } public void setContent(List taskId) { if(this.content==null)this.content=new ArrayList(); this.content.addAll(taskId); } public void setContent(String taskId) { if(this.content==null)this.content=new ArrayList(); this.content.add(taskId); } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "worklist"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } } }