public class Task extends Object
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 ref="{}properties" minOccurs="0"/> <element ref="{}constraint" minOccurs="0"/> <element ref="{}predecessors" minOccurs="0"/> <element ref="{}task" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="note" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="effort" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="work-start" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="work" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="percent-complete" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="priority" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" default="normal"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="normal"/> <enumeration value="milestone"/> </restriction> </simpleType> </attribute> <attribute name="scheduling" default="fixed-work"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="fixed-work"/> <enumeration value="fixed-duration"/> </restriction> </simpleType> </attribute> <attribute name="wbs" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Constraint |
constraint |
protected String |
duration |
protected String |
effort |
protected String |
end |
protected String |
id |
protected String |
name |
protected String |
note |
protected String |
percentComplete |
protected Predecessors |
predecessors |
protected String |
priority |
protected Properties |
properties |
protected String |
scheduling |
protected String |
start |
protected List<Task> |
task |
protected String |
type |
protected String |
wbs |
protected String |
work |
protected String |
workStart |
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
Constraint |
getConstraint()
Gets the value of the constraint property.
|
String |
getDuration()
Gets the value of the duration property.
|
String |
getEffort()
Gets the value of the effort property.
|
String |
getEnd()
Gets the value of the end property.
|
String |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNote()
Gets the value of the note property.
|
String |
getPercentComplete()
Gets the value of the percentComplete property.
|
Predecessors |
getPredecessors()
Gets the value of the predecessors property.
|
String |
getPriority()
Gets the value of the priority property.
|
Properties |
getProperties()
Gets the value of the properties property.
|
String |
getScheduling()
Gets the value of the scheduling property.
|
String |
getStart()
Gets the value of the start property.
|
List<Task> |
getTask()
Gets the value of the task property.
|
String |
getType()
Gets the value of the type property.
|
String |
getWbs()
Gets the value of the wbs property.
|
String |
getWork()
Gets the value of the work property.
|
String |
getWorkStart()
Gets the value of the workStart property.
|
void |
setConstraint(Constraint value)
Sets the value of the constraint property.
|
void |
setDuration(String value)
Sets the value of the duration property.
|
void |
setEffort(String value)
Sets the value of the effort property.
|
void |
setEnd(String value)
Sets the value of the end property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNote(String value)
Sets the value of the note property.
|
void |
setPercentComplete(String value)
Sets the value of the percentComplete property.
|
void |
setPredecessors(Predecessors value)
Sets the value of the predecessors property.
|
void |
setPriority(String value)
Sets the value of the priority property.
|
void |
setProperties(Properties value)
Sets the value of the properties property.
|
void |
setScheduling(String value)
Sets the value of the scheduling property.
|
void |
setStart(String value)
Sets the value of the start property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setWbs(String value)
Sets the value of the wbs property.
|
void |
setWork(String value)
Sets the value of the work property.
|
void |
setWorkStart(String value)
Sets the value of the workStart property.
|
protected Properties properties
protected Constraint constraint
protected Predecessors predecessors
protected String id
protected String name
protected String note
protected String effort
protected String start
protected String end
protected String workStart
protected String duration
protected String work
protected String percentComplete
protected String priority
protected String type
protected String scheduling
protected String wbs
public Properties getProperties()
Properties
public void setProperties(Properties value)
value
- allowed object is
Properties
public Constraint getConstraint()
Constraint
public void setConstraint(Constraint value)
value
- allowed object is
Constraint
public Predecessors getPredecessors()
Predecessors
public void setPredecessors(Predecessors value)
value
- allowed object is
Predecessors
public List<Task> getTask()
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 Jakarta XML Binding 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
Task
public void setId(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getNote()
String
public void setNote(String value)
value
- allowed object is
String
public String getEffort()
String
public void setEffort(String value)
value
- allowed object is
String
public String getStart()
String
public void setStart(String value)
value
- allowed object is
String
public String getEnd()
String
public void setEnd(String value)
value
- allowed object is
String
public String getWorkStart()
String
public void setWorkStart(String value)
value
- allowed object is
String
public String getDuration()
String
public void setDuration(String value)
value
- allowed object is
String
public String getWork()
String
public void setWork(String value)
value
- allowed object is
String
public String getPercentComplete()
String
public void setPercentComplete(String value)
value
- allowed object is
String
public String getPriority()
String
public void setPriority(String value)
value
- allowed object is
String
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public String getScheduling()
String
public void setScheduling(String value)
value
- allowed object is
String
public String getWbs()
String
Copyright © 2000–2024 Packwood Software. All rights reserved.