Class Task
- java.lang.Object
-
- com.aspose.tasks.Task
-
public class Task extends Object implements com.aspose.ms.System.IEquatable<Task>, Cloneable
Represents a task in a project.
The Task is representing a one atomic chuck of work.
One can use Task to plan a project by creating tasks and assign appropriate resources onto them. Tasks in a project are organized as a rooted hierarchical tree structure, with a root task and subtrees of children tasks.To build a tree of tasks one can use a specialized collection
TaskCollection
by accessingProject.RootTask
(Project.getRootTask()
/Project.setRootTask(Task)
) property e.g.:Project project = new Project(); // add new tasks Task task1 = project.RootTask.Children.Add(); // a parent task with empty name is added Task childTask1 = task1.Children.Add("Child 1"); childTask1.Set(Tsk.Start, new DateTime(2020, 2, 12, 8, 0, 0)) childTask1.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour)); childTask1.Set(Tsk.Finish, new DateTime(2020, 2, 12, 17, 0, 0)); Task childTask3 = task1.Children.Add("Child 3"); childTask3.Set(Tsk.Start, new DateTime(2020, 2, 13, 8, 0, 0)) childTask3.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour)); childTask3.Set(Tsk.Finish, new DateTime(2020, 2, 13, 17, 0, 0)); Task childTask2 = task1.Children.Add("Child 2", 2); // inserts a task before the childTask3 childTask2.Set(Tsk.Start, new DateTime(2020, 2, 14, 8, 0, 0)) childTask2.Set(Tsk.Duration, project.GetDuration(8, TimeUnitType.Hour)); childTask2.Set(Tsk.Finish, new DateTime(2020, 2, 14, 17, 0, 0)); // save project in the one of available formats project.Save("Filled project.xml", SaveFileFormat.Mpp);
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Task other)
Returns a value indicating whether this instance is equal to a specified task.boolean
equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.<T> T
get(Key<T,Integer> key)
Returns the value to which the property is mapped in this container.String
getActivityId()
Represents activity id field - a task's unique identifier used by Primavera.BigDecimal
getActualCost()
Gets a value of ActualCost.Duration
getActualDuration()
Gets a value of ActualDuration.Date
getActualFinish()
Gets a value of ActualFinish.BigDecimal
getActualOvertimeCost()
Gets a value of ActualOvertimeCost.Duration
getActualOvertimeWork()
Gets a value of ActualOvertimeWork.Duration
getActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.Date
getActualStart()
Gets a value of ActualStart.Duration
getActualWork()
Gets a value of ActualWork.Duration
getActualWorkProtected()
Gets a value of ActualWorkProtected.double
getACWP()
Gets a value of ACWP.ResourceAssignmentCollection
getAssignments()
Gets a collection of resource assignments for this object.TaskBaselineCollection
getBaselines()
Gets the collection of baseline values of the task.double
getBCWP()
Gets a value of BCWP.double
getBCWS()
Gets a value of BCWS.BigDecimal
getBudgetCost()
Gets a value of BudgetCost.Duration
getBudgetWork()
Gets a value of BudgetWork.Calendar
getCalendar()
Gets a value of Calendar.TaskCollection
getChildren()
Gets a child task collection of this object.Date
getCommitmentFinish()
Gets a value of CommitmentFinish.Date
getCommitmentStart()
Gets a value of CommitmentStart.int
getCommitmentType()
Gets a value of CommitmentType.Date
getConstraintDate()
Gets a value of ConstraintDate.int
getConstraintType()
Gets a value of ConstraintType.String
getContact()
Gets a value of Contact.BigDecimal
getCost()
Gets a value of Cost.double
getCostVariance()
Gets a value of CostVariance.Date
getCreated()
Gets a value of Created.double
getCV()
Gets a value of CV.Date
getDeadline()
Gets a value of Deadline.NullableBool
getDisplayAsSummary()
Gets a value indicating whether DisplayAsSummary is set or not.boolean
getDisplayOnTimeline()
Gets a value indicating whether DisplayOnTimeline is set or not.Duration
getDuration()
Gets a value of Duration.int
getDurationFormat()
Gets a value of DurationFormat.String
getDurationText()
Gets a value of DurationText.Duration
getDurationVariance()
Gets a value of DurationVariance.Date
getEarlyFinish()
Gets a value of EarlyFinish.Date
getEarlyStart()
Gets a value of EarlyStart.int
getEarnedValueMethod()
Gets a value of EarnedValueMethod.ExtendedAttributeCollection
getExtendedAttributes()
Gets ExtendedAttributeCollection object containing the values of an extended attribute.int
getExternalId()
Gets a value of ExternalId.String
getExternalTaskProject()
Gets a value of ExternalTaskProject.Date
getFinish()
Gets a value of Finish.double
getFinishSlack()
Gets a value of FinishSlack.String
getFinishText()
Gets a value of FinishText.Duration
getFinishVariance()
Gets a value of FinishVariance.double
getFixedCost()
Gets a value of FixedCost.int
getFixedCostAccrual()
Gets a value of FixedCostAccrual.double
getFreeSlack()
Gets a value of FreeSlack.String
getGuid()
Gets a value of Guid.NullableBool
getHideBar()
Gets a value indicating whether HideBar is set or not.String
getHyperlink()
Gets a value of Hyperlink.String
getHyperlinkAddress()
Gets a value of HyperlinkAddress.String
getHyperlinkSubAddress()
Gets a value of HyperlinkSubAddress.int
getId()
Gets a value of Id.NullableBool
getIgnoreResourceCalendar()
Gets a value indicating whether IgnoreResourceCalendar is set or not.boolean
getIgnoreWarnings()
Gets a value indicating whether IgnoreWarnings is set or not.com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.tasks.IExtendedAttributeParent>
getItems()
Date
getLateFinish()
Gets a value of LateFinish.Date
getLateStart()
Gets a value of LateStart.NullableBool
getLevelAssignments()
Gets a value indicating whether LevelAssignments is set or not.NullableBool
getLevelingCanSplit()
Gets a value indicating whether LevelingCanSplit is set or not.Duration
getLevelingDelay()
Gets a value of LevelingDelay.int
getLevelingDelayFormat()
Gets a value of LevelingDelayFormat.Duration
getManualDuration()
Gets a value of ManualDuration.Date
getManualFinish()
Gets a value of ManualFinish.Date
getManualStart()
Gets a value of ManualStart.String
getName()
Gets a value of Name.String
getNotesRTF()
Gets a value of NotesRTF.String
getNotesText()
Gets a value of NotesText.OutlineCodeCollection
getOutlineCodes()
GetsOutlineCodeCollection
object.int
getOutlineLevel()
Gets a value of OutlineLevel.String
getOutlineNumber()
Gets a value of OutlineNumber.BigDecimal
getOvertimeCost()
Gets a value of OvertimeCost.Duration
getOvertimeWork()
Gets a value of OvertimeWork.Project
getParentProject()
Gets the parent project of a task.Task
getParentTask()
Gets the parent task of a task.int
getPercentComplete()
Gets a value of PercentComplete.int
getPercentWorkComplete()
Gets a value of PercentWorkComplete.int
getPhysicalPercentComplete()
Gets a value of PhysicalPercentComplete.TaskCollection
getPredecessors()
Gets aTaskCollection
object which contains all predecessors of this Task object.Date
getPreleveledFinish()
Gets a value of PreleveledFinish.Date
getPreleveledStart()
Gets a value of PreleveledStart.PrimaveraTaskProperties
getPrimaveraProperties()
Gets an object containing Primavera-specific properties for a task read from Primavera format.int
getPriority()
Gets a value of Priority.RecurringTaskInfo
getRecurringInfo()
Gets the instance ofRecurringTaskInfo
class for the task which is a recurring task; if the task is not a recurring one then returns null;Duration
getRegularWork()
Gets a value of RegularWork.BigDecimal
getRemainingCost()
Gets a value of RemainingCost.Duration
getRemainingDuration()
Gets a value of RemainingDuration.BigDecimal
getRemainingOvertimeCost()
Gets a value of RemainingOvertimeCost.Duration
getRemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.Duration
getRemainingWork()
Gets a value of RemainingWork.Date
getResume()
Gets a value of Resume.SplitPartCollection
getSplitParts()
Gets a SplitPart collection that represents the portions of a task.Date
getStart()
Gets a value of Start.double
getStartSlack()
Gets a value of StartSlack.String
getStartText()
Gets a value of StartText.Duration
getStartVariance()
Gets a value of StartVariance.String
getStatusManager()
Gets a value of StatusManager.Date
getStop()
Gets a value of Stop.String
getSubprojectName()
Gets a value of SubprojectName.TaskCollection
getSuccessors()
Gets aTaskCollection
object which contains all successors of this Task object.double
getSV()
The earned value schedule variance, through the project status date.TimephasedDataCollection
getTimephasedData()
Gets a TimephasedDataCollection object of this task.TimephasedDataCollection
getTimephasedData(Date start, Date end)
ReturnsTimephasedDataCollection
object withTimephasedData
(getTimephasedData()
/setTimephasedData(TimephasedDataCollection)
) values within given start and end dates.TimephasedDataCollection
getTimephasedData(Date start, Date end, int timephasedType)
ReturnsTimephasedDataCollection
object withTimephasedData
(getTimephasedData()
/setTimephasedData(TimephasedDataCollection)
) values within given start and end dates of specified time-phased data type.double
getTotalSlack()
Gets a value of TotalSlack.int
getType()
Gets a value of Type.int
getUid()
Gets a value of Uid.boolean
getWarning()
Gets a value indicating whether Warning is set or not.String
getWBS()
Gets a value of WBS.String
getWBSLevel()
Gets a value of WBSLevel.Duration
getWork()
Gets a value of Work.Duration
getWorkVariance()
Gets a value of WorkVariance.boolean
hasChildren()
Gets a value indicating that this task has children.int
hashCode()
Returns a hash code value for this Task.NullableBool
isActive()
Gets a value indicating whether IsActive is set or not.NullableBool
isCritical()
Gets a value indicating whether IsCritical is set or not.NullableBool
isEffortDriven()
Gets a value indicating whether IsEffortDriven is set or not.NullableBool
isEstimated()
Gets a value indicating whether IsEstimated is set or not.NullableBool
isExpanded()
Gets a value indicating whether IsExpanded is set or not.boolean
isExternalTask()
Gets a value indicating whether IsExternalTask is set or not.NullableBool
isManual()
Gets a value indicating whether IsManual is set or not.boolean
isMarked()
Gets a value indicating whether IsMarked is set or not.NullableBool
isMilestone()
Gets a value indicating whether IsMilestone is set or not.NullableBool
isNull()
Gets a value indicating whether IsNull is set or not.NullableBool
isOverallocated()
Gets a value indicating whether IsOverallocated is set or not.NullableBool
isPublished()
Gets a value indicating whether IsPublished is set or not.NullableBool
isRecurring()
Gets a value indicating whether IsRecurring is set or not.NullableBool
isResumeValid()
Gets a value indicating whether IsResumeValid is set or not.NullableBool
isRollup()
Gets a value indicating whether IsRollup is set or not.boolean
isSubproject()
Gets a value indicating whether IsSubproject is set or not.NullableBool
isSubprojectReadOnly()
Gets a value indicating whether IsSubprojectReadOnly is set or not.boolean
isSummary()
Gets a value indicating whether IsSummary is set or not.void
moveToSibling(int beforeTaskId)
Moves the current task at the same Outline Level before a task with the specified Id.void
moveToSibling(Task beforeTask)
Moves the current task at the same Outline Level before the specified task.void
outlineIndent()
Indents a task in the outline.void
outlineOutdent()
Promotes a task in the outline.Iterable<Task>
selectAllChildTasks()
Recursively collects all child tasks of this task.void
set(Key<Date,Integer> key, Date val)
Maps the specified property to the specified value in this container.<T> void
set(Key<T,Integer> key, T val)
Maps the specified property to the specified value in this container.void
setActive(NullableBool value)
Sets a value indicating whether IsActive is set or not.void
setActivityId(String value)
Represents activity id field - a task's unique identifier used by Primavera.void
setActualCost(BigDecimal value)
Sets a value of ActualCost.void
setActualDuration(Duration value)
Sets a value of ActualDuration.void
setActualFinish(Date value)
Sets a value of ActualFinish.void
setActualOvertimeCost(BigDecimal value)
Sets a value of ActualOvertimeCost.void
setActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.void
setActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.void
setActualStart(Date value)
Sets a value of ActualStart.void
setActualWork(Duration value)
Sets a value of ActualWork.void
setActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.void
setACWP(double value)
Sets a value of ACWP.void
setBaselines(TaskBaselineCollection value)
Sets the collection of baseline values of the task.void
setBCWP(double value)
Sets a value of BCWP.void
setBCWS(double value)
Sets a value of BCWS.void
setBudgetCost(BigDecimal value)
Sets a value of BudgetCost.void
setBudgetWork(Duration value)
Sets a value of BudgetWork.void
setCalendar(Calendar value)
Sets a value of Calendar.void
setCommitmentFinish(Date value)
Sets a value of CommitmentFinish.void
setCommitmentStart(Date value)
Sets a value of CommitmentStart.void
setCommitmentType(int value)
Sets a value of CommitmentType.void
setConstraintDate(Date value)
Sets a value of ConstraintDate.void
setConstraintType(int value)
Sets a value of ConstraintType.void
setContact(String value)
Sets a value of Contact.void
setCost(BigDecimal value)
Sets a value of Cost.void
setCostVariance(double value)
Sets a value of CostVariance.void
setCreated(Date value)
Sets a value of Created.void
setCritical(NullableBool value)
Sets a value indicating whether IsCritical is set or not.void
setCV(double value)
Sets a value of CV.void
setDeadline(Date value)
Sets a value of Deadline.void
setDisplayAsSummary(NullableBool value)
Sets a value indicating whether DisplayAsSummary is set or not.void
setDisplayOnTimeline(boolean value)
Sets a value indicating whether DisplayOnTimeline is set or not.void
setDuration(Duration value)
Sets a value of Duration.void
setDurationFormat(int value)
Sets a value of DurationFormat.void
setDurationText(String value)
Sets a value of DurationText.void
setDurationVariance(Duration value)
Sets a value of DurationVariance.void
setEarlyFinish(Date value)
Sets a value of EarlyFinish.void
setEarlyStart(Date value)
Sets a value of EarlyStart.void
setEarnedValueMethod(int value)
Sets a value of EarnedValueMethod.void
setEffortDriven(NullableBool value)
Sets a value indicating whether IsEffortDriven is set or not.void
setEstimated(NullableBool value)
Sets a value indicating whether IsEstimated is set or not.void
setExpanded(NullableBool value)
Sets a value indicating whether IsExpanded is set or not.void
setExternalId(int value)
Sets a value of ExternalId.void
setExternalTask(boolean value)
Sets a value indicating whether IsExternalTask is set or not.void
setExternalTaskProject(String value)
Sets a value of ExternalTaskProject.void
setFinish(Date value)
Sets a value of Finish.void
setFinishSlack(double value)
Sets a value of FinishSlack.void
setFinishText(String value)
Sets a value of FinishText.void
setFinishVariance(Duration value)
Sets a value of FinishVariance.void
setFixedCost(double value)
Sets a value of FixedCost.void
setFixedCostAccrual(int value)
Sets a value of FixedCostAccrual.void
setFreeSlack(double value)
Sets a value of FreeSlack.void
setGuid(String value)
Sets a value of Guid.void
setHideBar(NullableBool value)
Sets a value indicating whether HideBar is set or not.void
setHyperlink(String value)
Sets a value of Hyperlink.void
setHyperlinkAddress(String value)
Sets a value of HyperlinkAddress.void
setHyperlinkSubAddress(String value)
Sets a value of HyperlinkSubAddress.void
setId(int value)
Sets a value of Id.void
setIgnoreResourceCalendar(NullableBool value)
Sets a value indicating whether IgnoreResourceCalendar is set or not.void
setIgnoreWarnings(boolean value)
Sets a value indicating whether IgnoreWarnings is set or not.void
setLateFinish(Date value)
Sets a value of LateFinish.void
setLateStart(Date value)
Sets a value of LateStart.void
setLevelAssignments(NullableBool value)
Sets a value indicating whether LevelAssignments is set or not.void
setLevelingCanSplit(NullableBool value)
Sets a value indicating whether LevelingCanSplit is set or not.void
setLevelingDelay(Duration value)
Sets a value of LevelingDelay.void
setLevelingDelayFormat(int value)
Sets a value of LevelingDelayFormat.void
setManual(NullableBool value)
Sets a value indicating whether IsManual is set or not.void
setManualDuration(Duration value)
Sets a value of ManualDuration.void
setManualFinish(Date value)
Sets a value of ManualFinish.void
setManualStart(Date value)
Sets a value of ManualStart.void
setMarked(boolean value)
Sets a value indicating whether IsMarked is set or not.void
setMilestone(NullableBool value)
Sets a value indicating whether IsMilestone is set or not.void
setName(String value)
Sets a value of Name.void
setNotesRTF(String value)
Sets a value of NotesRTF.void
setNotesText(String value)
Sets a value of NotesText.void
setNull(NullableBool value)
Sets a value indicating whether IsNull is set or not.void
setOutlineCodes(OutlineCodeCollection value)
SetsOutlineCodeCollection
object.void
setOutlineLevel(int value)
Sets a value of OutlineLevel.void
setOutlineNumber(String value)
Sets a value of OutlineNumber.void
setOverallocated(NullableBool value)
Sets a value indicating whether IsOverallocated is set or not.void
setOvertimeCost(BigDecimal value)
Sets a value of OvertimeCost.void
setOvertimeWork(Duration value)
Sets a value of OvertimeWork.void
setPercentComplete(int value)
Sets a value of PercentComplete.void
setPercentWorkComplete(int value)
Sets a value of PercentWorkComplete.void
setPhysicalPercentComplete(int value)
Sets a value of PhysicalPercentComplete.void
setPreleveledFinish(Date value)
Sets a value of PreleveledFinish.void
setPreleveledStart(Date value)
Sets a value of PreleveledStart.void
setPriority(int value)
Sets a value of Priority.void
setPublished(NullableBool value)
Sets a value indicating whether IsPublished is set or not.void
setRecurring(NullableBool value)
Sets a value indicating whether IsRecurring is set or not.void
setRegularWork(Duration value)
Sets a value of RegularWork.void
setRemainingCost(BigDecimal value)
Sets a value of RemainingCost.void
setRemainingDuration(Duration value)
Sets a value of RemainingDuration.void
setRemainingOvertimeCost(BigDecimal value)
Sets a value of RemainingOvertimeCost.void
setRemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.void
setRemainingWork(Duration value)
Sets a value of RemainingWork.void
setResume(Date value)
Sets a value of Resume.void
setResumeValid(NullableBool value)
Sets a value indicating whether IsResumeValid is set or not.void
setRollup(NullableBool value)
Sets a value indicating whether IsRollup is set or not.void
setStart(Date value)
Sets a value of Start.void
setStartSlack(double value)
Sets a value of StartSlack.void
setStartText(String value)
Sets a value of StartText.void
setStartVariance(Duration value)
Sets a value of StartVariance.void
setStatusManager(String value)
Sets a value of StatusManager.void
setStop(Date value)
Sets a value of Stop.void
setSubproject(boolean value)
Sets a value indicating whether IsSubproject is set or not.void
setSubprojectName(String value)
Sets a value of SubprojectName.void
setSubprojectReadOnly(NullableBool value)
Sets a value indicating whether IsSubprojectReadOnly is set or not.void
setSummary(boolean value)
Sets a value indicating whether IsSummary is set or not.void
setSV(double value)
The earned value schedule variance, through the project status date.void
setTimephasedData(TimephasedDataCollection value)
Sets a TimephasedDataCollection object of this task.void
setTotalSlack(double value)
Sets a value of TotalSlack.void
setType(int value)
Sets a value of Type.void
setUid(int value)
Sets a value of Uid.void
setWarning(boolean value)
Sets a value indicating whether Warning is set or not.void
setWBS(String value)
Sets a value of WBS.void
setWBSLevel(String value)
Sets a value of WBSLevel.void
setWork(Duration value)
Sets a value of Work.void
setWorkVariance(Duration value)
Sets a value of WorkVariance.String
toString()
Returns short string representation of a task.
-
-
-
Method Detail
-
deepClone
public final Object deepClone()
Creates full copy of a task without subtasks.
- Returns:
- Created copy of a task.
-
delete
public final void delete()
Deletes a task from parent project tasks collection and all its assignments.
-
equals
public final boolean equals(Task other)
Returns a value indicating whether this instance is equal to a specified task.
- Parameters:
other
- The specified task to compare with this instance.- Returns:
- returns true if the specified task and this instance have equal unique ids.
-
equals
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
-
get
public final <T> T get(Key<T,Integer> key)
Returns the value to which the property is mapped in this container.
- Parameters:
key
- the specified property key.Tsk
for getting the property key.- Returns:
- the value to which the property is mapped in this container.
-
getACWP
public final double getACWP()
Gets a value of ACWP.
- Returns:
- a value of ACWP.
-
setACWP
public final void setACWP(double value)
Sets a value of ACWP.
- Parameters:
value
- a value of ACWP.
-
getActivityId
public final String getActivityId()
Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects).
- Returns:
- a value of ActivityId.
-
setActivityId
public final void setActivityId(String value)
Represents activity id field - a task's unique identifier used by Primavera. (only applicable to Primavera projects).
- Parameters:
value
- a value of ActivityId.
-
getActualCost
public final BigDecimal getActualCost()
Gets a value of ActualCost.
- Returns:
- a value of ActualCost.
-
setActualCost
public final void setActualCost(BigDecimal value)
Sets a value of ActualCost.
- Parameters:
value
- a value of ActualCost.
-
getActualDuration
public final Duration getActualDuration()
Gets a value of ActualDuration.
- Returns:
- a value of ActualDuration.
-
setActualDuration
public final void setActualDuration(Duration value)
Sets a value of ActualDuration.
- Parameters:
value
- a value of ActualDuration.
-
getActualFinish
public final Date getActualFinish()
Gets a value of ActualFinish.
- Returns:
- a value of ActualFinish.
-
setActualFinish
public final void setActualFinish(Date value)
Sets a value of ActualFinish.
- Parameters:
value
- a value of ActualFinish.
-
getActualOvertimeCost
public final BigDecimal getActualOvertimeCost()
Gets a value of ActualOvertimeCost.
- Returns:
- a value of ActualOvertimeCost.
-
setActualOvertimeCost
public final void setActualOvertimeCost(BigDecimal value)
Sets a value of ActualOvertimeCost.
- Parameters:
value
- a value of ActualOvertimeCost.
-
getActualOvertimeWork
public final Duration getActualOvertimeWork()
Gets a value of ActualOvertimeWork.
- Returns:
- a value of ActualOvertimeWork.
-
setActualOvertimeWork
public final void setActualOvertimeWork(Duration value)
Sets a value of ActualOvertimeWork.
- Parameters:
value
- a value of ActualOvertimeWork.
-
getActualOvertimeWorkProtected
public final Duration getActualOvertimeWorkProtected()
Gets a value of ActualOvertimeWorkProtected.
- Returns:
- a value of ActualOvertimeWorkProtected.
-
setActualOvertimeWorkProtected
public final void setActualOvertimeWorkProtected(Duration value)
Sets a value of ActualOvertimeWorkProtected.
- Parameters:
value
- a value of ActualOvertimeWorkProtected.
-
getActualStart
public final Date getActualStart()
Gets a value of ActualStart.
- Returns:
- a value of ActualStart.
-
setActualStart
public final void setActualStart(Date value)
Sets a value of ActualStart.
- Parameters:
value
- a value of ActualStart.
-
getActualWork
public final Duration getActualWork()
Gets a value of ActualWork.
- Returns:
- a value of ActualWork.
-
setActualWork
public final void setActualWork(Duration value)
Sets a value of ActualWork.
- Parameters:
value
- a value of ActualWork.
-
getActualWorkProtected
public final Duration getActualWorkProtected()
Gets a value of ActualWorkProtected.
- Returns:
- a value of ActualWorkProtected.
-
setActualWorkProtected
public final void setActualWorkProtected(Duration value)
Sets a value of ActualWorkProtected.
- Parameters:
value
- a value of ActualWorkProtected.
-
getAssignments
public final ResourceAssignmentCollection getAssignments()
Gets a collection of resource assignments for this object.
- Returns:
- a collection of resource assignments for this object.
-
getBCWP
public final double getBCWP()
Gets a value of BCWP.
- Returns:
- a value of BCWP.
-
setBCWP
public final void setBCWP(double value)
Sets a value of BCWP.
- Parameters:
value
- a value of BCWP.
-
getBCWS
public final double getBCWS()
Gets a value of BCWS.
- Returns:
- a value of BCWS.
-
setBCWS
public final void setBCWS(double value)
Sets a value of BCWS.
- Parameters:
value
- a value of BCWS.
-
getBaselines
public final TaskBaselineCollection getBaselines()
Gets the collection of baseline values of the task.
- Returns:
- the collection of baseline values of the task.
-
setBaselines
public final void setBaselines(TaskBaselineCollection value)
Sets the collection of baseline values of the task.
- Parameters:
value
- the collection of baseline values of the task.
-
getBudgetCost
public final BigDecimal getBudgetCost()
Gets a value of BudgetCost.
- Returns:
- a value of BudgetCost.
-
setBudgetCost
public final void setBudgetCost(BigDecimal value)
Sets a value of BudgetCost.
- Parameters:
value
- a value of BudgetCost.
-
getBudgetWork
public final Duration getBudgetWork()
Gets a value of BudgetWork.
- Returns:
- a value of BudgetWork.
-
setBudgetWork
public final void setBudgetWork(Duration value)
Sets a value of BudgetWork.
- Parameters:
value
- a value of BudgetWork.
-
getCV
public final double getCV()
Gets a value of CV.
- Returns:
- a value of CV.
-
setCV
public final void setCV(double value)
Sets a value of CV.
- Parameters:
value
- a value of CV.
-
getCalendar
public final Calendar getCalendar()
Gets a value of Calendar.
- Returns:
- a value of Calendar.
-
setCalendar
public final void setCalendar(Calendar value)
Sets a value of Calendar.
- Parameters:
value
- a value of Calendar.
-
getChildren
public final TaskCollection getChildren()
Gets a child task collection of this object. TaskCollection object which represents children tasks.
- Returns:
- a child task collection of this object.
-
getCommitmentFinish
public final Date getCommitmentFinish()
Gets a value of CommitmentFinish.
- Returns:
- a value of CommitmentFinish.
-
setCommitmentFinish
public final void setCommitmentFinish(Date value)
Sets a value of CommitmentFinish.
- Parameters:
value
- a value of CommitmentFinish.
-
getCommitmentStart
public final Date getCommitmentStart()
Gets a value of CommitmentStart.
- Returns:
- a value of CommitmentStart.
-
setCommitmentStart
public final void setCommitmentStart(Date value)
Sets a value of CommitmentStart.
- Parameters:
value
- a value of CommitmentStart.
-
getCommitmentType
public final int getCommitmentType()
Gets a value of CommitmentType.
- Returns:
- a value of CommitmentType.
-
setCommitmentType
public final void setCommitmentType(int value)
Sets a value of CommitmentType.
- Parameters:
value
- a value of CommitmentType.
-
getConstraintDate
public final Date getConstraintDate()
Gets a value of ConstraintDate.
- Returns:
- a value of ConstraintDate.
-
setConstraintDate
public final void setConstraintDate(Date value)
Sets a value of ConstraintDate.
- Parameters:
value
- a value of ConstraintDate.
-
getConstraintType
public final int getConstraintType()
Gets a value of ConstraintType.
- Returns:
- a value of ConstraintType.
-
setConstraintType
public final void setConstraintType(int value)
Sets a value of ConstraintType.
- Parameters:
value
- a value of ConstraintType.
-
getContact
public final String getContact()
Gets a value of Contact.
- Returns:
- a value of Contact.
-
setContact
public final void setContact(String value)
Sets a value of Contact.
- Parameters:
value
- a value of Contact.
-
getCost
public final BigDecimal getCost()
Gets a value of Cost.
- Returns:
- a value of Cost.
-
setCost
public final void setCost(BigDecimal value)
Sets a value of Cost.
- Parameters:
value
- a value of Cost.
-
getCostVariance
public final double getCostVariance()
Gets a value of CostVariance.
- Returns:
- a value of CostVariance.
-
setCostVariance
public final void setCostVariance(double value)
Sets a value of CostVariance.
- Parameters:
value
- a value of CostVariance.
-
getCreated
public final Date getCreated()
Gets a value of Created.
- Returns:
- a value of Created.
-
setCreated
public final void setCreated(Date value)
Sets a value of Created.
- Parameters:
value
- a value of Created.
-
getDeadline
public final Date getDeadline()
Gets a value of Deadline.
- Returns:
- a value of Deadline.
-
setDeadline
public final void setDeadline(Date value)
Sets a value of Deadline.
- Parameters:
value
- a value of Deadline.
-
getDisplayAsSummary
public final NullableBool getDisplayAsSummary()
Gets a value indicating whether DisplayAsSummary is set or not.
- Returns:
- a value indicating whether DisplayAsSummary is set or not.
-
setDisplayAsSummary
public final void setDisplayAsSummary(NullableBool value)
Sets a value indicating whether DisplayAsSummary is set or not.
- Parameters:
value
- a value indicating whether DisplayAsSummary is set or not.
-
getDisplayOnTimeline
public final boolean getDisplayOnTimeline()
Gets a value indicating whether DisplayOnTimeline is set or not.
- Returns:
- a value indicating whether DisplayOnTimeline is set or not.
-
setDisplayOnTimeline
public final void setDisplayOnTimeline(boolean value)
Sets a value indicating whether DisplayOnTimeline is set or not.
- Parameters:
value
- a value indicating whether DisplayOnTimeline is set or not.
-
getDuration
public final Duration getDuration()
Gets a value of Duration.
- Returns:
- a value of Duration.
-
setDuration
public final void setDuration(Duration value)
Sets a value of Duration.
- Parameters:
value
- a value of Duration.
-
getDurationFormat
public final int getDurationFormat()
Gets a value of DurationFormat.
- Returns:
- a value of DurationFormat.
-
setDurationFormat
public final void setDurationFormat(int value)
Sets a value of DurationFormat.
- Parameters:
value
- a value of DurationFormat.
-
getDurationText
public final String getDurationText()
Gets a value of DurationText.
- Returns:
- a value of DurationText.
-
setDurationText
public final void setDurationText(String value)
Sets a value of DurationText.
- Parameters:
value
- a value of DurationText.
-
getDurationVariance
public final Duration getDurationVariance()
Gets a value of DurationVariance.
- Returns:
- a value of DurationVariance.
-
setDurationVariance
public final void setDurationVariance(Duration value)
Sets a value of DurationVariance.
- Parameters:
value
- a value of DurationVariance.
-
getEarlyFinish
public final Date getEarlyFinish()
Gets a value of EarlyFinish.
- Returns:
- a value of EarlyFinish.
-
setEarlyFinish
public final void setEarlyFinish(Date value)
Sets a value of EarlyFinish.
- Parameters:
value
- a value of EarlyFinish.
-
getEarlyStart
public final Date getEarlyStart()
Gets a value of EarlyStart.
- Returns:
- a value of EarlyStart.
-
setEarlyStart
public final void setEarlyStart(Date value)
Sets a value of EarlyStart.
- Parameters:
value
- a value of EarlyStart.
-
getEarnedValueMethod
public final int getEarnedValueMethod()
Gets a value of EarnedValueMethod.
- Returns:
- a value of EarnedValueMethod.
-
setEarnedValueMethod
public final void setEarnedValueMethod(int value)
Sets a value of EarnedValueMethod.
- Parameters:
value
- a value of EarnedValueMethod.
-
getExtendedAttributes
public final ExtendedAttributeCollection getExtendedAttributes()
Gets ExtendedAttributeCollection object containing the values of an extended attribute.
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.- Returns:
- ExtendedAttributeCollection object containing the values of an extended attribute.
-
getExternalId
public final int getExternalId()
Gets a value of ExternalId.
- Returns:
- a value of ExternalId.
-
setExternalId
public final void setExternalId(int value)
Sets a value of ExternalId.
- Parameters:
value
- a value of ExternalId.
-
getExternalTaskProject
public final String getExternalTaskProject()
Gets a value of ExternalTaskProject.
- Returns:
- a value of ExternalTaskProject.
-
setExternalTaskProject
public final void setExternalTaskProject(String value)
Sets a value of ExternalTaskProject.
- Parameters:
value
- a value of ExternalTaskProject.
-
getFinish
public final Date getFinish()
Gets a value of Finish.
- Returns:
- a value of Finish.
-
setFinish
public final void setFinish(Date value)
Sets a value of Finish.
- Parameters:
value
- a value of Finish.
-
getFinishSlack
public final double getFinishSlack()
Gets a value of FinishSlack.
- Returns:
- a value of FinishSlack.
-
setFinishSlack
public final void setFinishSlack(double value)
Sets a value of FinishSlack.
- Parameters:
value
- a value of FinishSlack.
-
getFinishText
public final String getFinishText()
Gets a value of FinishText.
- Returns:
- a value of FinishText.
-
setFinishText
public final void setFinishText(String value)
Sets a value of FinishText.
- Parameters:
value
- a value of FinishText.
-
getFinishVariance
public final Duration getFinishVariance()
Gets a value of FinishVariance.
- Returns:
- a value of FinishVariance.
-
setFinishVariance
public final void setFinishVariance(Duration value)
Sets a value of FinishVariance.
- Parameters:
value
- a value of FinishVariance.
-
getFixedCost
public final double getFixedCost()
Gets a value of FixedCost.
- Returns:
- a value of FixedCost.
-
setFixedCost
public final void setFixedCost(double value)
Sets a value of FixedCost.
- Parameters:
value
- a value of FixedCost.
-
getFixedCostAccrual
public final int getFixedCostAccrual()
Gets a value of FixedCostAccrual.
- Returns:
- a value of FixedCostAccrual.
-
setFixedCostAccrual
public final void setFixedCostAccrual(int value)
Sets a value of FixedCostAccrual.
- Parameters:
value
- a value of FixedCostAccrual.
-
getFreeSlack
public final double getFreeSlack()
Gets a value of FreeSlack.
- Returns:
- a value of FreeSlack.
-
setFreeSlack
public final void setFreeSlack(double value)
Sets a value of FreeSlack.
- Parameters:
value
- a value of FreeSlack.
-
getGuid
public final String getGuid()
Gets a value of Guid.
- Returns:
- a value of Guid.
-
setGuid
public final void setGuid(String value)
Sets a value of Guid.
- Parameters:
value
- a value of Guid.
-
getHideBar
public final NullableBool getHideBar()
Gets a value indicating whether HideBar is set or not.
- Returns:
- a value indicating whether HideBar is set or not.
-
setHideBar
public final void setHideBar(NullableBool value)
Sets a value indicating whether HideBar is set or not.
- Parameters:
value
- a value indicating whether HideBar is set or not.
-
getHyperlink
public final String getHyperlink()
Gets a value of Hyperlink.
- Returns:
- a value of Hyperlink.
-
setHyperlink
public final void setHyperlink(String value)
Sets a value of Hyperlink.
- Parameters:
value
- a value of Hyperlink.
-
getHyperlinkAddress
public final String getHyperlinkAddress()
Gets a value of HyperlinkAddress.
- Returns:
- a value of HyperlinkAddress.
-
setHyperlinkAddress
public final void setHyperlinkAddress(String value)
Sets a value of HyperlinkAddress.
- Parameters:
value
- a value of HyperlinkAddress.
-
getHyperlinkSubAddress
public final String getHyperlinkSubAddress()
Gets a value of HyperlinkSubAddress.
- Returns:
- a value of HyperlinkSubAddress.
-
setHyperlinkSubAddress
public final void setHyperlinkSubAddress(String value)
Sets a value of HyperlinkSubAddress.
- Parameters:
value
- a value of HyperlinkSubAddress.
-
getId
public final int getId()
Gets a value of Id.
- Returns:
- a value of Id.
-
setId
public final void setId(int value)
Sets a value of Id.
- Parameters:
value
- a value of Id.
-
getIgnoreResourceCalendar
public final NullableBool getIgnoreResourceCalendar()
Gets a value indicating whether IgnoreResourceCalendar is set or not.
- Returns:
- a value indicating whether IgnoreResourceCalendar is set or not.
-
setIgnoreResourceCalendar
public final void setIgnoreResourceCalendar(NullableBool value)
Sets a value indicating whether IgnoreResourceCalendar is set or not.
- Parameters:
value
- a value indicating whether IgnoreResourceCalendar is set or not.
-
getIgnoreWarnings
public final boolean getIgnoreWarnings()
Gets a value indicating whether IgnoreWarnings is set or not.
- Returns:
- a value indicating whether IgnoreWarnings is set or not.
-
setIgnoreWarnings
public final void setIgnoreWarnings(boolean value)
Sets a value indicating whether IgnoreWarnings is set or not.
- Parameters:
value
- a value indicating whether IgnoreWarnings is set or not.
-
getItems
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.tasks.IExtendedAttributeParent> getItems()
- Returns:
-
getLateFinish
public final Date getLateFinish()
Gets a value of LateFinish.
- Returns:
- a value of LateFinish.
-
setLateFinish
public final void setLateFinish(Date value)
Sets a value of LateFinish.
- Parameters:
value
- a value of LateFinish.
-
getLateStart
public final Date getLateStart()
Gets a value of LateStart.
- Returns:
- a value of LateStart.
-
setLateStart
public final void setLateStart(Date value)
Sets a value of LateStart.
- Parameters:
value
- a value of LateStart.
-
getLevelAssignments
public final NullableBool getLevelAssignments()
Gets a value indicating whether LevelAssignments is set or not.
- Returns:
- a value indicating whether LevelAssignments is set or not.
-
setLevelAssignments
public final void setLevelAssignments(NullableBool value)
Sets a value indicating whether LevelAssignments is set or not.
- Parameters:
value
- a value indicating whether LevelAssignments is set or not.
-
getLevelingCanSplit
public final NullableBool getLevelingCanSplit()
Gets a value indicating whether LevelingCanSplit is set or not.
- Returns:
- a value indicating whether LevelingCanSplit is set or not.
-
setLevelingCanSplit
public final void setLevelingCanSplit(NullableBool value)
Sets a value indicating whether LevelingCanSplit is set or not.
- Parameters:
value
- a value indicating whether LevelingCanSplit is set or not.
-
getLevelingDelay
public final Duration getLevelingDelay()
Gets a value of LevelingDelay.
- Returns:
- a value of LevelingDelay.
-
setLevelingDelay
public final void setLevelingDelay(Duration value)
Sets a value of LevelingDelay.
- Parameters:
value
- a value of LevelingDelay.
-
getLevelingDelayFormat
public final int getLevelingDelayFormat()
Gets a value of LevelingDelayFormat.
- Returns:
- a value of LevelingDelayFormat.
-
setLevelingDelayFormat
public final void setLevelingDelayFormat(int value)
Sets a value of LevelingDelayFormat.
- Parameters:
value
- a value of LevelingDelayFormat.
-
getManualDuration
public final Duration getManualDuration()
Gets a value of ManualDuration.
- Returns:
- a value of ManualDuration.
-
setManualDuration
public final void setManualDuration(Duration value)
Sets a value of ManualDuration.
- Parameters:
value
- a value of ManualDuration.
-
getManualFinish
public final Date getManualFinish()
Gets a value of ManualFinish.
- Returns:
- a value of ManualFinish.
-
setManualFinish
public final void setManualFinish(Date value)
Sets a value of ManualFinish.
- Parameters:
value
- a value of ManualFinish.
-
getManualStart
public final Date getManualStart()
Gets a value of ManualStart.
- Returns:
- a value of ManualStart.
-
setManualStart
public final void setManualStart(Date value)
Sets a value of ManualStart.
- Parameters:
value
- a value of ManualStart.
-
getName
public final String getName()
Gets a value of Name.
- Returns:
- a value of Name.
-
setName
public final void setName(String value)
Sets a value of Name.
- Parameters:
value
- a value of Name.
-
getNotesRTF
public final String getNotesRTF()
Gets a value of NotesRTF.
- Returns:
- a value of NotesRTF.
-
setNotesRTF
public final void setNotesRTF(String value)
Sets a value of NotesRTF.
- Parameters:
value
- a value of NotesRTF.
-
getNotesText
public final String getNotesText()
Gets a value of NotesText.
- Returns:
- a value of NotesText.
-
setNotesText
public final void setNotesText(String value)
Sets a value of NotesText.
- Parameters:
value
- a value of NotesText.
-
getOutlineCodes
public final OutlineCodeCollection getOutlineCodes()
Gets
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.- Returns:
OutlineCodeCollection
object.
-
setOutlineCodes
public final void setOutlineCodes(OutlineCodeCollection value)
Sets
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.- Parameters:
value
-OutlineCodeCollection
object.
-
getOutlineLevel
public final int getOutlineLevel()
Gets a value of OutlineLevel.
- Returns:
- a value of OutlineLevel.
-
setOutlineLevel
public final void setOutlineLevel(int value)
Sets a value of OutlineLevel.
- Parameters:
value
- a value of OutlineLevel.
-
getOutlineNumber
public final String getOutlineNumber()
Gets a value of OutlineNumber.
- Returns:
- a value of OutlineNumber.
-
setOutlineNumber
public final void setOutlineNumber(String value)
Sets a value of OutlineNumber.
- Parameters:
value
- a value of OutlineNumber.
-
getOvertimeCost
public final BigDecimal getOvertimeCost()
Gets a value of OvertimeCost.
- Returns:
- a value of OvertimeCost.
-
setOvertimeCost
public final void setOvertimeCost(BigDecimal value)
Sets a value of OvertimeCost.
- Parameters:
value
- a value of OvertimeCost.
-
getOvertimeWork
public final Duration getOvertimeWork()
Gets a value of OvertimeWork.
- Returns:
- a value of OvertimeWork.
-
setOvertimeWork
public final void setOvertimeWork(Duration value)
Sets a value of OvertimeWork.
- Parameters:
value
- a value of OvertimeWork.
-
getParentProject
public final Project getParentProject()
Gets the parent project of a task.
Call Project.UpdateReferences to update these properties.- Returns:
- the parent project of a task.
-
getParentTask
public final Task getParentTask()
Gets the parent task of a task.
- Returns:
- the parent task of a task.
-
getPercentComplete
public final int getPercentComplete()
Gets a value of PercentComplete.
- Returns:
- a value of PercentComplete.
-
setPercentComplete
public final void setPercentComplete(int value)
Sets a value of PercentComplete.
- Parameters:
value
- a value of PercentComplete.
-
getPercentWorkComplete
public final int getPercentWorkComplete()
Gets a value of PercentWorkComplete.
- Returns:
- a value of PercentWorkComplete.
-
setPercentWorkComplete
public final void setPercentWorkComplete(int value)
Sets a value of PercentWorkComplete.
- Parameters:
value
- a value of PercentWorkComplete.
-
getPhysicalPercentComplete
public final int getPhysicalPercentComplete()
Gets a value of PhysicalPercentComplete.
- Returns:
- a value of PhysicalPercentComplete.
-
setPhysicalPercentComplete
public final void setPhysicalPercentComplete(int value)
Sets a value of PhysicalPercentComplete.
- Parameters:
value
- a value of PhysicalPercentComplete.
-
getPredecessors
public final TaskCollection getPredecessors()
Gets a
TaskCollection
object which contains all predecessors of this Task object.- Returns:
- Read-only instance of
TaskCollection
class.
-
getPreleveledFinish
public final Date getPreleveledFinish()
Gets a value of PreleveledFinish.
- Returns:
- a value of PreleveledFinish.
-
setPreleveledFinish
public final void setPreleveledFinish(Date value)
Sets a value of PreleveledFinish.
- Parameters:
value
- a value of PreleveledFinish.
-
getPreleveledStart
public final Date getPreleveledStart()
Gets a value of PreleveledStart.
- Returns:
- a value of PreleveledStart.
-
setPreleveledStart
public final void setPreleveledStart(Date value)
Sets a value of PreleveledStart.
- Parameters:
value
- a value of PreleveledStart.
-
getPrimaveraProperties
public final PrimaveraTaskProperties getPrimaveraProperties()
Gets an object containing Primavera-specific properties for a task read from Primavera format.
- Returns:
- an object containing Primavera-specific properties for a task read from Primavera format.
-
getPriority
public final int getPriority()
Gets a value of Priority.
- Returns:
- a value of Priority.
-
setPriority
public final void setPriority(int value)
Sets a value of Priority.
- Parameters:
value
- a value of Priority.
-
getRecurringInfo
public final RecurringTaskInfo getRecurringInfo()
Gets 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 ofRecurringTaskInfo
is present in mpp file format only.- 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;
-
getRegularWork
public final Duration getRegularWork()
Gets a value of RegularWork.
- Returns:
- a value of RegularWork.
-
setRegularWork
public final void setRegularWork(Duration value)
Sets a value of RegularWork.
- Parameters:
value
- a value of RegularWork.
-
getRemainingCost
public final BigDecimal getRemainingCost()
Gets a value of RemainingCost.
- Returns:
- a value of RemainingCost.
-
setRemainingCost
public final void setRemainingCost(BigDecimal value)
Sets a value of RemainingCost.
- Parameters:
value
- a value of RemainingCost.
-
getRemainingDuration
public final Duration getRemainingDuration()
Gets a value of RemainingDuration.
- Returns:
- a value of RemainingDuration.
-
setRemainingDuration
public final void setRemainingDuration(Duration value)
Sets a value of RemainingDuration.
- Parameters:
value
- a value of RemainingDuration.
-
getRemainingOvertimeCost
public final BigDecimal getRemainingOvertimeCost()
Gets a value of RemainingOvertimeCost.
- Returns:
- a value of RemainingOvertimeCost.
-
setRemainingOvertimeCost
public final void setRemainingOvertimeCost(BigDecimal value)
Sets a value of RemainingOvertimeCost.
- Parameters:
value
- a value of RemainingOvertimeCost.
-
getRemainingOvertimeWork
public final Duration getRemainingOvertimeWork()
Gets a value of RemainingOvertimeWork.
- Returns:
- a value of RemainingOvertimeWork.
-
setRemainingOvertimeWork
public final void setRemainingOvertimeWork(Duration value)
Sets a value of RemainingOvertimeWork.
- Parameters:
value
- a value of RemainingOvertimeWork.
-
getRemainingWork
public final Duration getRemainingWork()
Gets a value of RemainingWork.
- Returns:
- a value of RemainingWork.
-
setRemainingWork
public final void setRemainingWork(Duration value)
Sets a value of RemainingWork.
- Parameters:
value
- a value of RemainingWork.
-
getResume
public final Date getResume()
Gets a value of Resume.
- Returns:
- a value of Resume.
-
setResume
public final void setResume(Date value)
Sets a value of Resume.
- Parameters:
value
- a value of Resume.
-
getSV
public final double getSV()
The earned value schedule variance, through the project status date. Schedule variance (SV) is the difference between the BCWP and the BCWS.
- Returns:
- a value of SV.
-
setSV
public final void setSV(double value)
The earned value schedule variance, through the project status date. Schedule variance (SV) is the difference between the BCWP and the BCWS.
- Parameters:
value
- a value of SV.
-
getSplitParts
public final SplitPartCollection getSplitParts()
Gets a SplitPart collection that represents the portions of a task.
- Returns:
- a SplitPart collection that represents the portions of a task.
-
getStart
public final Date getStart()
Gets a value of Start.
- Returns:
- a value of Start.
-
setStart
public final void setStart(Date value)
Sets a value of Start.
- Parameters:
value
- a value of Start.
-
getStartSlack
public final double getStartSlack()
Gets a value of StartSlack.
- Returns:
- a value of StartSlack.
-
setStartSlack
public final void setStartSlack(double value)
Sets a value of StartSlack.
- Parameters:
value
- a value of StartSlack.
-
getStartText
public final String getStartText()
Gets a value of StartText.
- Returns:
- a value of StartText.
-
setStartText
public final void setStartText(String value)
Sets a value of StartText.
- Parameters:
value
- a value of StartText.
-
getStartVariance
public final Duration getStartVariance()
Gets a value of StartVariance.
- Returns:
- a value of StartVariance.
-
setStartVariance
public final void setStartVariance(Duration value)
Sets a value of StartVariance.
- Parameters:
value
- a value of StartVariance.
-
getStatusManager
public final String getStatusManager()
Gets a value of StatusManager.
- Returns:
- a value of StatusManager.
-
setStatusManager
public final void setStatusManager(String value)
Sets a value of StatusManager.
- Parameters:
value
- a value of StatusManager.
-
getStop
public final Date getStop()
Gets a value of Stop.
- Returns:
- a value of Stop.
-
setStop
public final void setStop(Date value)
Sets a value of Stop.
- Parameters:
value
- a value of Stop.
-
getSubprojectName
public final String getSubprojectName()
Gets a value of SubprojectName.
- Returns:
- a value of SubprojectName.
-
setSubprojectName
public final void setSubprojectName(String value)
Sets a value of SubprojectName.
- Parameters:
value
- a value of SubprojectName.
-
getSuccessors
public final TaskCollection getSuccessors()
Gets a
TaskCollection
object which contains all successors of this Task object.- Returns:
- Read-only instance of
TaskCollection
class.
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData()
Gets a TimephasedDataCollection object of this task. The time phased data block associated with a task.
Reading supported for XML format only.- Returns:
- a TimephasedDataCollection object of this task.
-
setTimephasedData
public final void setTimephasedData(TimephasedDataCollection value)
Sets a TimephasedDataCollection object of this task. The time phased data block associated with a task.
Reading supported for XML format only.- Parameters:
value
- a TimephasedDataCollection object of this task.
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData(Date start, Date end, int timephasedType)
Returns
TimephasedDataCollection
object withTimephasedData
(getTimephasedData()
/setTimephasedData(TimephasedDataCollection)
) values within given start and end dates of specified time-phased data type.- Parameters:
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 (TimephasedDataType
).- Returns:
- A
TimephasedDataCollection
object withTimephasedData
(getTimephasedData()
/setTimephasedData(TimephasedDataCollection)
) values within given start and end dates of specified timephased data type.
-
getTimephasedData
public final TimephasedDataCollection getTimephasedData(Date start, Date end)
Returns
TimephasedDataCollection
object withTimephasedData
(getTimephasedData()
/setTimephasedData(TimephasedDataCollection)
) values within given start and end dates.- Parameters:
start
- The start date for the time phased data.end
- The end date for the time phased data.- Returns:
- List of
TimephasedData
to be filled in.
-
getTotalSlack
public final double getTotalSlack()
Gets a value of TotalSlack.
- Returns:
- a value of TotalSlack.
-
setTotalSlack
public final void setTotalSlack(double value)
Sets a value of TotalSlack.
- Parameters:
value
- a value of TotalSlack.
-
getType
public final int getType()
Gets a value of Type.
- Returns:
- a value of Type.
-
setType
public final void setType(int value)
Sets a value of Type.
- Parameters:
value
- a value of Type.
-
getUid
public final int getUid()
Gets a value of Uid.
- Returns:
- a value of Uid.
-
setUid
public final void setUid(int value)
Sets a value of Uid.
- Parameters:
value
- a value of Uid.
-
getWBS
public final String getWBS()
Gets a value of WBS.
- Returns:
- a value of WBS.
-
setWBS
public final void setWBS(String value)
Sets a value of WBS.
- Parameters:
value
- a value of WBS.
-
getWBSLevel
public final String getWBSLevel()
Gets a value of WBSLevel.
- Returns:
- a value of WBSLevel.
-
setWBSLevel
public final void setWBSLevel(String value)
Sets a value of WBSLevel.
- Parameters:
value
- a value of WBSLevel.
-
getWarning
public final boolean getWarning()
Gets a value indicating whether Warning is set or not.
- Returns:
- a value indicating whether Warning is set or not.
-
setWarning
public final void setWarning(boolean value)
Sets a value indicating whether Warning is set or not.
- Parameters:
value
- a value indicating whether Warning is set or not.
-
getWork
public final Duration getWork()
Gets a value of Work.
- Returns:
- a value of Work.
-
setWork
public final void setWork(Duration value)
Sets a value of Work.
- Parameters:
value
- a value of Work.
-
getWorkVariance
public final Duration getWorkVariance()
Gets a value of WorkVariance.
- Returns:
- a value of WorkVariance.
-
setWorkVariance
public final void setWorkVariance(Duration value)
Sets a value of WorkVariance.
- Parameters:
value
- a value of WorkVariance.
-
hasChildren
public final boolean hasChildren()
Gets a value indicating that this task has children.- Returns:
- a value indicating that this task has children.
-
hashCode
public int hashCode()
Returns a hash code value for this Task.
-
isActive
public final NullableBool isActive()
Gets a value indicating whether IsActive is set or not.
- Returns:
- a value indicating whether IsActive is set or not.
-
isCritical
public final NullableBool isCritical()
Gets a value indicating whether IsCritical is set or not.
- Returns:
- a value indicating whether IsCritical is set or not.
-
isEffortDriven
public final NullableBool isEffortDriven()
Gets a value indicating whether IsEffortDriven is set or not.
- Returns:
- a value indicating whether IsEffortDriven is set or not.
-
isEstimated
public final NullableBool isEstimated()
Gets a value indicating whether IsEstimated is set or not.
- Returns:
- a value indicating whether IsEstimated is set or not.
-
isExpanded
public final NullableBool isExpanded()
Gets a value indicating whether IsExpanded is set or not.
- Returns:
- a value indicating whether IsExpanded is set or not.
-
isExternalTask
public final boolean isExternalTask()
Gets a value indicating whether IsExternalTask is set or not.
- Returns:
- a value indicating whether IsExternalTask is set or not.
-
setExternalTask
public final void setExternalTask(boolean value)
Sets a value indicating whether IsExternalTask is set or not.
- Parameters:
value
- a value indicating whether IsExternalTask is set or not.
-
isManual
public final NullableBool isManual()
Gets a value indicating whether IsManual is set or not.
- Returns:
- a value indicating whether IsManual is set or not.
-
isMarked
public final boolean isMarked()
Gets a value indicating whether IsMarked is set or not.
- Returns:
- a value indicating whether IsMarked is set or not.
-
setMarked
public final void setMarked(boolean value)
Sets a value indicating whether IsMarked is set or not.
- Parameters:
value
- a value indicating whether IsMarked is set or not.
-
isMilestone
public final NullableBool isMilestone()
Gets a value indicating whether IsMilestone is set or not.
- Returns:
- a value indicating whether IsMilestone is set or not.
-
isNull
public final NullableBool isNull()
Gets a value indicating whether IsNull is set or not.
- Returns:
- a value indicating whether IsNull is set or not.
-
isOverallocated
public final NullableBool isOverallocated()
Gets a value indicating whether IsOverallocated is set or not.
- Returns:
- a value indicating whether IsOverallocated is set or not.
-
isPublished
public final NullableBool isPublished()
Gets a value indicating whether IsPublished is set or not.
- Returns:
- a value indicating whether IsPublished is set or not.
-
isRecurring
public final NullableBool isRecurring()
Gets a value indicating whether IsRecurring is set or not.
- Returns:
- a value indicating whether IsRecurring is set or not.
-
isResumeValid
public final NullableBool isResumeValid()
Gets a value indicating whether IsResumeValid is set or not.
- Returns:
- a value indicating whether IsResumeValid is set or not.
-
isRollup
public final NullableBool isRollup()
Gets a value indicating whether IsRollup is set or not.
- Returns:
- a value indicating whether IsRollup is set or not.
-
isSubproject
public final boolean isSubproject()
Gets a value indicating whether IsSubproject is set or not.
- Returns:
- a value indicating whether IsSubproject is set or not.
-
setSubproject
public final void setSubproject(boolean value)
Sets a value indicating whether IsSubproject is set or not.
- Parameters:
value
- a value indicating whether IsSubproject is set or not.
-
isSubprojectReadOnly
public final NullableBool isSubprojectReadOnly()
Gets a value indicating whether IsSubprojectReadOnly is set or not.
- Returns:
- a value indicating whether IsSubprojectReadOnly is set or not.
-
isSummary
public final boolean isSummary()
Gets a value indicating whether IsSummary is set or not.
- Returns:
- a value indicating whether IsSummary is set or not.
-
setSummary
public final void setSummary(boolean value)
Sets a value indicating whether IsSummary is set or not.
- Parameters:
value
- a value indicating whether IsSummary is set or not.
-
moveToSibling
public final void moveToSibling(Task beforeTask)
Moves the current task at the same Outline Level before the specified task. If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels). If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically. If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels).
- Parameters:
beforeTask
- Task before which the current task will be inserted.
-
moveToSibling
public final void moveToSibling(int beforeTaskId)
Moves the current task at the same Outline Level before a task with the specified Id. If ParentProject.CalculationMode is None user should invoke Project.Recalculate() after using this method (It will reschedule all project tasks (start/finish dates, sets early/late dates) and calculate the dependent fields such as slacks, work and cost fields, outline levels). If ParentProject.CalculationMode is Manual the method will calculate only task id, outline level and outline numbers automatically. If ParentProject.CalculationMode is Automatic the method reschedules all project's tasks automatically (start/finish dates, sets early/late dates, calculates slacks, work and cost fields, recalculates ids and outline levels).
- Parameters:
beforeTaskId
- Id (Tsk.ID
) of a task before which the current task will be inserted.
-
outlineIndent
public final void outlineIndent()
Indents a task in the outline.
-
outlineOutdent
public final void outlineOutdent()
Promotes a task in the outline.
-
selectAllChildTasks
public final Iterable<Task> selectAllChildTasks()
Recursively collects all child tasks of this task.
- Returns:
- A list of child tasks of this task.
-
set
public final <T> void set(Key<T,Integer> key, T val)
Maps the specified property to the specified value in this container.
- Parameters:
key
- the specified property key.Tsk
for getting the property key.val
- the value.
-
set
public final void set(Key<Date,Integer> key, Date val)
Maps the specified property to the specified value in this container.
- Parameters:
key
- the specified property key.Tsk
for getting the property key.val
- the value.
-
setActive
public final void setActive(NullableBool value)
Sets a value indicating whether IsActive is set or not.
- Parameters:
value
- a value indicating whether IsActive is set or not.
-
setCritical
public final void setCritical(NullableBool value)
Sets a value indicating whether IsCritical is set or not.
- Parameters:
value
- a value indicating whether IsCritical is set or not.
-
setEffortDriven
public final void setEffortDriven(NullableBool value)
Sets a value indicating whether IsEffortDriven is set or not.
- Parameters:
value
- a value indicating whether IsEffortDriven is set or not.
-
setEstimated
public final void setEstimated(NullableBool value)
Sets a value indicating whether IsEstimated is set or not.
- Parameters:
value
- a value indicating whether IsEstimated is set or not.
-
setExpanded
public final void setExpanded(NullableBool value)
Sets a value indicating whether IsExpanded is set or not.
- Parameters:
value
- a value indicating whether IsExpanded is set or not.
-
setManual
public final void setManual(NullableBool value)
Sets a value indicating whether IsManual is set or not.
- Parameters:
value
- a value indicating whether IsManual is set or not.
-
setMilestone
public final void setMilestone(NullableBool value)
Sets a value indicating whether IsMilestone is set or not.
- Parameters:
value
- a value indicating whether IsMilestone is set or not.
-
setNull
public final void setNull(NullableBool value)
Sets a value indicating whether IsNull is set or not.
- Parameters:
value
- a value indicating whether IsNull is set or not.
-
setOverallocated
public final void setOverallocated(NullableBool value)
Sets a value indicating whether IsOverallocated is set or not.
- Parameters:
value
- a value indicating whether IsOverallocated is set or not.
-
setPublished
public final void setPublished(NullableBool value)
Sets a value indicating whether IsPublished is set or not.
- Parameters:
value
- a value indicating whether IsPublished is set or not.
-
setRecurring
public final void setRecurring(NullableBool value)
Sets a value indicating whether IsRecurring is set or not.
- Parameters:
value
- a value indicating whether IsRecurring is set or not.
-
setResumeValid
public final void setResumeValid(NullableBool value)
Sets a value indicating whether IsResumeValid is set or not.
- Parameters:
value
- a value indicating whether IsResumeValid is set or not.
-
setRollup
public final void setRollup(NullableBool value)
Sets a value indicating whether IsRollup is set or not.
- Parameters:
value
- a value indicating whether IsRollup is set or not.
-
setSubprojectReadOnly
public final void setSubprojectReadOnly(NullableBool value)
Sets a value indicating whether IsSubprojectReadOnly is set or not.
- Parameters:
value
- a value indicating whether IsSubprojectReadOnly is set or not.
-
-