net.sf.mpxj.ganttproject.schema.Tasks Maven / Gradle / Ivy
Show all versions of mpxj Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.12.28 at 05:49:44 PM GMT
//
package net.sf.mpxj.ganttproject.schema;
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.XmlType;
/**
* Java class for tasks complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="tasks">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="taskproperties" type="{}taskproperties"/>
* <element name="task" type="{}task" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="empty-milestones" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tasks", propOrder =
{
"taskproperties",
"task"
}) public class Tasks
{
@XmlElement(required = true) protected Taskproperties taskproperties;
protected List task;
@XmlAttribute(name = "empty-milestones") protected String emptyMilestones;
/**
* Gets the value of the taskproperties property.
*
* @return
* possible object is
* {@link Taskproperties }
*
*/
public Taskproperties getTaskproperties()
{
return taskproperties;
}
/**
* Sets the value of the taskproperties property.
*
* @param value
* allowed object is
* {@link Taskproperties }
*
*/
public void setTaskproperties(Taskproperties value)
{
this.taskproperties = value;
}
/**
* 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 Task }
*
*
*/
public List getTask()
{
if (task == null)
{
task = new ArrayList<>();
}
return this.task;
}
/**
* Gets the value of the emptyMilestones property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmptyMilestones()
{
return emptyMilestones;
}
/**
* Sets the value of the emptyMilestones property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmptyMilestones(String value)
{
this.emptyMilestones = value;
}
}