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.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="Task" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="detail" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="acl" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attribute name="ignoreInternals" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "task" }) @XmlRootElement(name = "GetTaskCollection", namespace = "http://schemas.cordys.com/task/1.0/runtime/") public class GetTaskCollection { @XmlElement(name = "Task", namespace = "http://schemas.cordys.com/task/1.0/runtime/") protected List task; @XmlAttribute(name = "ignoreInternals") protected Boolean ignoreInternals; /** * Gets the value of the task 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 task property. * *

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

     *    getTask().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link GetTaskCollection.Task } * * */ public List getTask() { if (task == null) { task = new ArrayList(); } return this.task; } public void setTask(List tasks) { if (this.task == null) { this.task = new ArrayList(); } this.task.addAll(tasks); } public void setTask(GetTaskCollection.Task task) { if (this.task == null) { this.task = new ArrayList(); } this.task.add(task); } /** * Gets the value of the ignoreInternals property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIgnoreInternals() { return ignoreInternals; } /** * Sets the value of the ignoreInternals property. * * @param value * allowed object is * {@link Boolean } * */ public void setIgnoreInternals(Boolean value) { this.ignoreInternals = 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">
     *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="detail" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="acl" type="{http://www.w3.org/2001/XMLSchema}string" default="false" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Task { @XmlAttribute(name = "id", required = true) protected String id; @XmlAttribute(name = "detail") protected String detail; @XmlAttribute(name = "acl") protected String acl; /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ 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 detail property. * * @return * possible object is * {@link String } * */ public String getDetail() { return detail; } /** * Sets the value of the detail property. * * @param value * allowed object is * {@link String } * */ public void setDetail(String value) { this.detail = value; } /** * Gets the value of the acl property. * * @return * possible object is * {@link String } * */ public String getAcl() { if (acl == null) { return "false"; } else { return acl; } } /** * Sets the value of the acl property. * * @param value * allowed object is * {@link String } * */ public void setAcl(String value) { this.acl = value; } } }