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()
Propertiespublic void setProperties(Properties value)
value - allowed object is
Propertiespublic Constraint getConstraint()
Constraintpublic void setConstraint(Constraint value)
value - allowed object is
Constraintpublic Predecessors getPredecessors()
Predecessorspublic void setPredecessors(Predecessors value)
value - allowed object is
Predecessorspublic 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
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNote()
Stringpublic void setNote(String value)
value - allowed object is
Stringpublic String getEffort()
Stringpublic void setEffort(String value)
value - allowed object is
Stringpublic String getStart()
Stringpublic void setStart(String value)
value - allowed object is
Stringpublic String getEnd()
Stringpublic void setEnd(String value)
value - allowed object is
Stringpublic String getWorkStart()
Stringpublic void setWorkStart(String value)
value - allowed object is
Stringpublic String getDuration()
Stringpublic void setDuration(String value)
value - allowed object is
Stringpublic String getWork()
Stringpublic void setWork(String value)
value - allowed object is
Stringpublic String getPercentComplete()
Stringpublic void setPercentComplete(String value)
value - allowed object is
Stringpublic String getPriority()
Stringpublic void setPriority(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getScheduling()
Stringpublic void setScheduling(String value)
value - allowed object is
Stringpublic String getWbs()
StringCopyright © 2000–2025 MPXJ. All rights reserved.