Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Creates full copy of a task without subtasks.
|
void |
delete()
Deletes a task from parent project tasks collection and all its assignments.
|
boolean |
equals(Object other)
Returns a value indicating whether this instance is equal to a specified object.
|
boolean |
equals(Task other)
Returns a value indicating whether this instance is equal to a specified task.
|
<T> T |
get(Key<T,Integer> key)
Returns the value to which the property is mapped in this container.
|
ResourceAssignmentCollection |
getAssignments()
Returns a collection of resource assignments for this task.
|
TaskBaselineCollection |
getBaselines()
Returns a collection of baseline values of the task
|
TaskCollection |
getChildren()
Returns child task collection of this object.
|
ExtendedAttributeCollection |
getExtendedAttributes()
Returns ExtendedAttributeCollection object containing the values of an extended attribute.
|
OutlineCodeCollection |
getOutlineCodes()
Returns
OutlineCodeCollection object. |
Project |
getParentProject()
Returns the parent project of a task.
|
Task |
getParentTask()
Returns the parent task of a task.
|
TaskCollection |
getPredecessors()
Returns a
TaskCollection object which contains all predecessors of this Task object. |
RecurringTaskInfo |
getRecurringInfo()
Returns the instance of
RecurringTaskInfo class for the task which is a recurring task; if the task is not a recurring one then returns null;
The info for the instance of RecurringTaskInfo is present in mpp file format only. |
SplitPartCollection |
getSplitParts()
Returns a SplitPart collection that represents the portions of a task.
|
TaskCollection |
getSuccessors()
Returns the instance of
TaskCollection class which contains all successors of this Task object. |
TimephasedDataCollection |
getTimephasedData()
Returns TimephasedDataCollection object of this task.
|
TimephasedDataCollection |
getTimephasedData(Date start,
Date end)
Returns
TimephasedDataCollection object with TimephasedData values within given start and end dates of TaskTimeScaledData.TaskTimescaledWork type. |
TimephasedDataCollection |
getTimephasedData(Date start,
Date end,
int timephasedType)
Returns
TimephasedDataCollection object with TimephasedData values within given start and end dates of specified timephasedDataType. |
int |
hashCode()
Returns a hash code value for this Task.
|
void |
outlineIndent()
Indents a task in the outline.
|
void |
outlineOutdent()
Promotes a task in the outline.
|
<T> void |
set(Key<T,Integer> key,
T val)
Maps the specified property to the specified value in this container.
|
void |
setBaselines(TaskBaselineCollection value)
Sets a collection of baseline values for this task.
|
void |
setOutlineCodes(OutlineCodeCollection value)
Sets a collection of OutlineCode values for this task.
|
void |
setTimephasedData(TimephasedDataCollection value)
Sets a collection of timephased data values for this task.
|
String |
toString()
Returns short string representation of a task.
|
public TaskCollection getPredecessors()
Returns a TaskCollection
object which contains all predecessors of this Task object.
TaskCollection
class.public TaskCollection getSuccessors()
Returns the instance of TaskCollection
class which contains all successors of this Task object.
TaskCollection
class.public ResourceAssignmentCollection getAssignments()
Returns a collection of resource assignments for this task.
public Project getParentProject()
Returns the parent project of a task.
Read/write Project
.
public OutlineCodeCollection getOutlineCodes()
Returns OutlineCodeCollection
object.
Two pieces of data are necessary - a pointer to the outline
code table that is specified by the FieldID, and the value
that is specified either by the ValueID or ValueGUID pointer to the value list.
public void setOutlineCodes(OutlineCodeCollection value)
value
- a collection of OutlineCode values for this object.public Task getParentTask()
Returns the parent task of a task.
Read/write Task
.
public TaskCollection getChildren()
Returns child task collection of this object. TaskCollection object which represents children tasks.
public SplitPartCollection getSplitParts()
Returns a SplitPart collection that represents the portions of a task.
Read only Aspose.Tasks.SplitPartCollection
.
public ExtendedAttributeCollection getExtendedAttributes()
Returns ExtendedAttributeCollection object containing the values of an extended attribute.
Read only ExtendedAttributeCollection
instance.
Two pieces of data are necessary - a pointer back to the extended attribute table
which is specified either by the unique ID or the Field ID, and the value
which is specified either with the value, or a pointer back to the value list.
public TimephasedDataCollection getTimephasedData()
Returns TimephasedDataCollection object of this task.
The time phased data block associated with a task.
Read/write TimephasedDataCollection
object.
Reading supported for XML format only.
public void setTimephasedData(TimephasedDataCollection value)
value
- a collection of timephased data values for this object.public TaskBaselineCollection getBaselines()
Returns a collection of baseline values of the task
public void setBaselines(TaskBaselineCollection value)
value
- a collection of baseline values for this object.public RecurringTaskInfo getRecurringInfo()
Returns the instance of RecurringTaskInfo
class for the task which is a recurring task; if the task is not a recurring one then returns null;
The info for the instance of RecurringTaskInfo
is present in mpp file format only.
RecurringTaskInfo
class for the task which is a recurring task.public TimephasedDataCollection getTimephasedData(Date start, Date end, int timephasedType)
Returns TimephasedDataCollection
object with TimephasedData
values within given start and end dates of specified timephasedDataType.
start
- The start date for the time phased data.end
- The end date for the time phased data.timephasedType
- The type of time phased data (Aspose.Tasks.TimephasedDataType
).TimephasedDataCollection
object with TimephasedData
values within given start and end dates of specified timephasedDataType.public TimephasedDataCollection getTimephasedData(Date start, Date end)
Returns TimephasedDataCollection
object with TimephasedData
values within given start and end dates of TaskTimeScaledData.TaskTimescaledWork type.
start
- The start date for the time phased data.end
- The end date for the time phased data.Aspose.Tasks.TimephasedData
to be filled in.public Object deepClone()
Creates full copy of a task without subtasks.
public boolean equals(Task other)
Returns a value indicating whether this instance is equal to a specified task.
other
- The specified task to compare with this instance.public boolean equals(Object other)
Returns a value indicating whether this instance is equal to a specified object.
public String toString()
Returns short string representation of a task. The exact details of the representation are unspecified and subject to change.
public int hashCode()
Returns a hash code value for this Task.
public <T> T get(Key<T,Integer> key)
Returns the value to which the property is mapped in this container.
key
- the specified property key. Tsk
for getting the property key.public <T> void set(Key<T,Integer> key, T val)
Maps the specified property to the specified value in this container.
T
- the type of the mapped value.key
- the specified property key. Tsk
for getting the property key.val
- the value.public void delete()
Deletes a task from parent project tasks collection and all its assignments.
public void outlineIndent()
Indents a task in the outline.
public void outlineOutdent()
Promotes a task in the outline.
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.