// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2013.06.10 at 02:58:42 PM EDT // package org.overlord.dtgov.taskapi.types; import java.io.Serializable; 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.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <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 ref="{http://downloads.jboss.org/overlord/dtgov/schemas/task-api-v1.xsd}taskSummary" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="totalResults" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "taskSummary" }) @XmlRootElement(name = "findTasksResponse") public class FindTasksResponse implements Serializable { private final static long serialVersionUID = 1L; protected List<TaskSummaryType> taskSummary; @XmlAttribute(name = "totalResults", required = true) protected long totalResults; /** * Gets the value of the taskSummary 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 taskSummary property. * * <p> * For example, to add a new item, do as follows: * <pre> * getTaskSummary().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TaskSummaryType } * * */ public List<TaskSummaryType> getTaskSummary() { if (taskSummary == null) { taskSummary = new ArrayList<TaskSummaryType>(); } return this.taskSummary; } /** * Gets the value of the totalResults property. * */ public long getTotalResults() { return totalResults; } /** * Sets the value of the totalResults property. * */ public void setTotalResults(long value) { this.totalResults = value; } }