public final class Task extends AbstractFieldContainer<Task> implements Comparable<Task>, ProjectEntityWithID, ChildTaskContainer
Modifier and Type | Method and Description |
---|---|
void |
addActivityCode(ActivityCodeValue value)
Assign an activity code to this task.
|
void |
addChildTask(Task child)
This method is used to associate a child task with the current
task instance.
|
void |
addChildTask(Task child,
int childOutlineLevel)
This method is used to associate a child task with the current
task instance.
|
void |
addChildTaskBefore(Task child,
Task previousSibling)
Inserts a child task prior to a given sibling task.
|
Relation |
addPredecessor(Relation.Builder builder)
This method allows a predecessor relationship to be added to this
task instance.
|
RecurringTask |
addRecurringTask()
This method allows recurring task details to be added to the
current task.
|
ResourceAssignment |
addResourceAssignment(Resource resource)
This method allows a resource assignment to be added to the
current task.
|
void |
addResourceAssignment(ResourceAssignment assignment)
Add a resource assignment which has been populated elsewhere.
|
Task |
addTask()
This method allows nested tasks to be added, with the WBS being
completed automatically.
|
void |
clearChildTasks()
This method allows the list of child tasks to be cleared in preparation
for the hierarchical task structure to be built.
|
int |
compareTo(Task o)
This method implements the only method in the Comparable interface.
|
ProjectFile |
expandSubproject()
If this task represents an external project (subproject), calling this method
will attempt to read the subproject file, the link the tasks from
the subproject file as children of this current task.
|
void |
generateOutlineNumber(Task parent)
This method is used to automatically generate a value
for the Outline Number field of this task.
|
void |
generateWBS(Task parent)
This method is used to automatically generate a value
for the WBS field of this task.
|
boolean |
getActive()
Retrieves the active flag.
|
List<ActivityCodeValue> |
getActivityCodes()
Retrieve the activity codes associated with this task.
|
String |
getActivityID()
Retrieve the activity ID.
|
Number |
getActivityPercentComplete()
This accessor method returns the percent complete value for this task
as defined by the Percent Complete Type attribute.
|
ActivityStatus |
getActivityStatus()
Retrieve the activity status.
|
ActivityType |
getActivityType()
Retrieve the activity type.
|
Number |
getActualCost()
The Actual Cost field shows costs incurred for work already performed
by all resources on a task, along with any other recorded costs associated
with the task.
|
Duration |
getActualDuration()
The Actual Duration field shows the span of actual working time for a
task so far, based on the scheduled duration and current remaining work
or completion percentage.
|
LocalDateTime |
getActualFinish()
The Actual Finish field shows the date and time that a task actually
finished.
|
Number |
getActualOvertimeCost()
Retrieves the actual overtime cost for this task.
|
Duration |
getActualOvertimeWork()
Retrieves the actual overtime work value.
|
Duration |
getActualOvertimeWorkProtected()
Retrieves the actual overtime work protected value.
|
LocalDateTime |
getActualStart()
The Actual Start field shows the date and time that a task actually began.
|
Duration |
getActualWork()
The Actual Work field shows the amount of work that has already been done
by the resources assigned to a task.
|
Duration |
getActualWorkLabor()
Retrieve the labor component of the task's Actual Work.
|
Duration |
getActualWorkNonlabor()
Retrieve the nonlabor component of the task's Actual Work.
|
Duration |
getActualWorkProtected()
Retrieves the actual work protected value.
|
Number |
getACWP()
Retrieve the ACWP value.
|
String |
getBarName()
Retrieve the name of the Asta Powerproject bar to which this task belongs.
|
Number |
getBaselineBudgetCost()
Retrieve the baseline budget cost.
|
Number |
getBaselineBudgetCost(int baselineNumber)
Retrieve a baseline budget cost.
|
Duration |
getBaselineBudgetWork()
Retrieve the baseline budget work.
|
Duration |
getBaselineBudgetWork(int baselineNumber)
Retrieve a baseline budget work.
|
Number |
getBaselineCost()
The Baseline Cost field shows the total planned cost for a task.
|
Number |
getBaselineCost(int baselineNumber)
Retrieve a baseline value.
|
Duration |
getBaselineDuration()
The Baseline Duration field shows the original span of time planned
to complete a task.
|
Duration |
getBaselineDuration(int baselineNumber)
Retrieve a baseline value.
|
String |
getBaselineDurationText()
Retrieves the text value for the baseline duration.
|
String |
getBaselineDurationText(int baselineNumber)
Retrieves the baseline duration text value.
|
Duration |
getBaselineEstimatedDuration()
Retrieve the baseline estimated duration.
|
Duration |
getBaselineEstimatedDuration(int baselineNumber)
Retrieve a baseline value.
|
LocalDateTime |
getBaselineEstimatedFinish()
Retrieve the baseline estimated finish.
|
LocalDateTime |
getBaselineEstimatedFinish(int baselineNumber)
Retrieve a baseline value.
|
LocalDateTime |
getBaselineEstimatedStart()
Retrieve the baseline estimated start.
|
LocalDateTime |
getBaselineEstimatedStart(int baselineNumber)
Retrieve a baseline value.
|
LocalDateTime |
getBaselineFinish()
The Baseline Finish field shows the planned completion date for a task
at the time you saved a baseline.
|
LocalDateTime |
getBaselineFinish(int baselineNumber)
Retrieve a baseline value.
|
String |
getBaselineFinishText()
Retrieves the baseline finish text value.
|
String |
getBaselineFinishText(int baselineNumber)
Retrieves the baseline finish text value.
|
Number |
getBaselineFixedCost()
The Fixed Cost field shows any task expense that is not associated
with a resource cost.
|
Number |
getBaselineFixedCost(int baselineNumber)
Retrieve a baseline value.
|
AccrueType |
getBaselineFixedCostAccrual()
Retrieves the baseline fixed cost accrual.
|
AccrueType |
getBaselineFixedCostAccrual(int baselineNumber)
Retrieve a baseline value.
|
LocalDateTime |
getBaselineStart()
The Baseline Start field shows the planned beginning date for a task at
the time you saved a baseline.
|
LocalDateTime |
getBaselineStart(int baselineNumber)
Retrieve a baseline value.
|
String |
getBaselineStartText()
Retrieves the baseline start text value.
|
String |
getBaselineStartText(int baselineNumber)
Retrieves the baseline start text value.
|
Task |
getBaselineTask()
If the parent ProjectFile has one or more baseline ProjectFile instances,
this method will allow you to retrieve the baseline task associated
with this current task.
|
Task |
getBaselineTask(int index)
If the parent ProjectFile has one or more baseline ProjectFile instances,
this method will allow you to retrieve the baseline task associated
with this current task.
|
Duration |
getBaselineWork()
The Baseline Work field shows the originally planned amount of work to be
performed by all resources assigned to a task.
|
Duration |
getBaselineWork(int baselineNumber)
Retrieve a baseline value.
|
Number |
getBCWP()
The BCWP (budgeted cost of work performed) field contains
the cumulative value of the assignment's timephased percent complete
multiplied by the assignment's timephased baseline cost.
|
Number |
getBCWS()
The BCWS (budgeted cost of work scheduled) field contains the cumulative
timephased baseline costs up to the status date or today's date.
|
String |
getBidItem()
Set the bid item field.
|
Integer |
getBoardStatusID()
Retrieve the Board Status ID.
|
Number |
getBudgetCost()
Retrieve the budget cost.
|
Duration |
getBudgetWork()
Retrieve the budget work.
|
ProjectCalendar |
getCalendar()
Retrieves the calendar associated with this task.
|
Integer |
getCalendarUniqueID()
Retrieve the calendar unique ID.
|
String |
getCanonicalActivityID()
Retrieve a "canonical" version of the Activity ID.
|
String |
getCategoryOfWork()
Retrieve the category of work field.
|
List<Task> |
getChildTasks()
This method retrieves a list of child tasks relative to the
current task, as defined by the outline level.
|
LocalDateTime |
getCompleteThrough()
Retrieve the "complete through" date.
|
boolean |
getConfirmed()
The Confirmed field indicates whether all resources assigned to a task
have accepted or rejected the task assignment in response to a TeamAssign
message regarding their assignments.
|
LocalDateTime |
getConstraintDate()
The Constraint Date field shows the specific date associated with certain
constraint types, such as Must Start On, Must Finish On,
Start No Earlier Than,
Start No Later Than, Finish No Earlier Than, and Finish No Later Than.
|
ConstraintType |
getConstraintType()
The Constraint Type field provides choices for the type of constraint you
can apply for scheduling a task.
|
String |
getContact()
The Contact field contains the name of an individual
responsible for a task.
|
Number |
getCost()
The Cost field shows the total scheduled, or projected, cost for a task,
based on costs already incurred for work performed by all resources assigned
to the task, in addition to the costs planned for the remaining work for the
assignment.
|
Number |
getCost(int index)
Retrieve a cost value.
|
Number |
getCostVariance()
The Cost Variance field shows the difference between the baseline cost
and total cost for a task.
|
LocalDateTime |
getCreateDate()
The Created field contains the date and time when a task was added
to the project.
|
boolean |
getCritical()
The Critical field indicates whether a task has any room in the schedule
to slip, or if a task is on the critical path.
|
Number |
getCV()
The CV (earned value cost variance) field shows the difference between
how much it should have cost to achieve the current level of completion
on the task, and how much it has actually cost to achieve the current
level of completion up to the status date or today's date.
|
LocalDateTime |
getDate(int index)
Retrieve a date value.
|
LocalDateTime |
getDeadline()
This method retrieves the deadline for this task.
|
String |
getDepartment()
Retrieve the department field.
|
Duration |
getDuration()
The Duration field is the total span of active working time for a task.
|
Duration |
getDuration(int index)
Retrieve a duration value.
|
String |
getDurationText()
Retrieves the duration text of a manually scheduled task.
|
Duration |
getDurationVariance()
The Duration Variance field contains the difference between the
baseline duration of a task and the total duration (current estimate)
of a task.
|
LocalDateTime |
getEarlyFinish()
The Early Finish field contains the earliest date that a task could
possibly finish, based on early finish dates of predecessor and
successor tasks, other constraints, and any leveling delay.
|
LocalDateTime |
getEarlyStart()
The Early Start field contains the earliest date that a task could
possibly begin, based on the early start dates of predecessor and
successor tasks, and other constraints.
|
EarnedValueMethod |
getEarnedValueMethod()
Retrieves the earned value method.
|
ProjectCalendar |
getEffectiveCalendar()
Retrieve the effective calendar for this task.
|
boolean |
getEffortDriven()
Retrieves the effort driven flag.
|
Number |
getEnterpriseCost(int index)
Retrieve an enterprise field value.
|
LocalDateTime |
getEnterpriseDate(int index)
Retrieve an enterprise field value.
|
Duration |
getEnterpriseDuration(int index)
Retrieve an enterprise field value.
|
boolean |
getEnterpriseFlag(int index)
Retrieve an enterprise field value.
|
Number |
getEnterpriseNumber(int index)
Retrieve an enterprise field value.
|
String |
getEnterpriseText(int index)
Retrieve an enterprise field value.
|
boolean |
getEstimated()
This method retrieves a flag indicating whether the duration of the
task has only been estimated.
|
ResourceAssignment |
getExistingResourceAssignment(Resource resource)
Retrieves an existing resource assignment if one is present,
to prevent duplicate resource assignments being added.
|
boolean |
getExpanded()
Retrieve a flag indicating if the task is shown as expanded
in MS Project.
|
LocalDateTime |
getExpectedFinish()
Retrieve the expected finish date.
|
List<ExpenseItem> |
getExpenseItems()
Retrieve expense items for this task.
|
LocalDateTime |
getExternalEarlyStart()
Retrieve the external early start date.
|
LocalDateTime |
getExternalLateFinish()
Retrieve the external late finish date.
|
boolean |
getExternalProject()
Retrieves the external project flag.
|
boolean |
getExternalTask()
Retrieves the external task flag.
|
String |
getFeatureOfWork()
Retrieve the feature of work field.
|
Object |
getFieldByAlias(String alias)
Retrieve the value of a field using its alias.
|
LocalDateTime |
getFinish()
The Finish field shows the date and time that a task is scheduled to
be completed.
|
LocalDateTime |
getFinish(int index)
Retrieve a finish value.
|
Duration |
getFinishSlack()
Retrieve the finish slack.
|
String |
getFinishText()
Retrieves the finish text of a manually scheduled task.
|
Duration |
getFinishVariance()
Calculate the finish variance.
|
Number |
getFixedCost()
The Fixed Cost field shows any task expense that is not associated
with a resource cost.
|
AccrueType |
getFixedCostAccrual()
Retrieves the fixed cost accrual flag value.
|
boolean |
getFlag(int index)
Retrieve a flag value.
|
Duration |
getFreeSlack()
The Free Slack field contains the amount of time that a task can be
delayed without delaying any successor tasks.
|
UUID |
getGUID()
Retrieve the task GUID.
|
boolean |
getHammockCode()
Retrieve the hammock code field.
|
boolean |
getHideBar()
The Hide Bar field indicates whether the Gantt bars and Calendar bars
for a task are hidden.
|
String |
getHyperlink()
Retrieves the task hyperlink attribute.
|
String |
getHyperlinkAddress()
Retrieves the task hyperlink address attribute.
|
String |
getHyperlinkScreenTip()
Retrieves the task hyperlink screen tip attribute.
|
String |
getHyperlinkSubAddress()
Retrieves the task hyperlink sub-address attribute.
|
Integer |
getID()
The ID field contains the identifier number that Microsoft Project
automatically assigns to each task as you add it to the project.
|
boolean |
getIgnoreResourceCalendar()
Retrieves the ignore resource calendar flag.
|
LocalDateTime |
getLateFinish()
The Late Finish field contains the latest date that a task can finish
without delaying the finish of the project.
|
LocalDateTime |
getLateStart()
The Late Start field contains the latest date that a task can start
without delaying the finish of the project.
|
boolean |
getLevelAssignments()
Retrieves the level assignments flag.
|
boolean |
getLevelingCanSplit()
Retrieves the leveling can split flag.
|
Duration |
getLevelingDelay()
Delay , in MPX files as eg '0ed'.
|
TimeUnit |
getLevelingDelayFormat()
Retrieve the leveling delay format.
|
boolean |
getLinkedFields()
The Linked Fields field indicates whether there are OLE links to the task,
either from elsewhere in the active project, another Microsoft Project file,
or from another program.
|
Location |
getLocation()
Retrieves the location.
|
Integer |
getLocationUniqueID()
Retrieves the location unique ID.
|
boolean |
getLongestPath()
Retrieve the longest path.
|
String |
getMail()
Retrieve the mail field.
|
String |
getManager()
Retrieve the manager field.
|
Duration |
getManualDuration()
Read the manual duration attribute.
|
boolean |
getMarked()
The Marked field indicates whether a task is marked for further action or
identification of some kind.
|
boolean |
getMilestone()
The Milestone field indicates whether a task is a milestone.
|
String |
getModOrClaimNumber()
Retrieve the mod or claim number field.
|
String |
getName()
Retrieves the task name.
|
String |
getNotes()
Retrieve the plain text representation of the task notes.
|
Notes |
getNotesObject()
Retrieve an object which contains both the plain text notes
and, if relevant, the original formatted version of the notes.
|
boolean |
getNull()
Retrieves the flag indicating if this is a null task.
|
Number |
getNumber(int index)
Retrieve a number value.
|
Integer |
getObjects()
The Objects field contains the number of objects attached to a task.
|
String |
getOutlineCode(int index)
Retrieve an outline code value.
|
Integer |
getOutlineLevel()
The Outline Level field contains the number that indicates the level
of the task in the project outline hierarchy.
|
String |
getOutlineNumber()
The Outline Number field contains the number of the task in the structure
of an outline.
|
boolean |
getOverAllocated()
Retrieve the over allocated flag.
|
Number |
getOverallPercentComplete()
Retrieve the overall percent complete field.
|
Number |
getOvertimeCost()
Retrieves the overtime cost.
|
Duration |
getOvertimeWork()
Retrieves the overtime work attribute.
|
ProjectFile |
getParentFile()
Accessor method allowing retrieval of ProjectFile reference.
|
Task |
getParentTask()
This method retrieves a reference to the parent of this task, as
defined by the outline level.
|
Integer |
getParentTaskUniqueID()
Retrieve the unique ID of the parent task.
|
Number |
getPercentageComplete()
The % Complete field contains the current status of a task,
expressed as the percentage of the task's duration that has been completed.
|
Number |
getPercentageWorkComplete()
The % Work Complete field contains the current status of a task,
expressed as the percentage of the task's work that has been completed.
|
PercentCompleteType |
getPercentCompleteType()
Retrieve the percent complete type.
|
String |
getPhaseOfWork()
Retrieve the phase of work field.
|
Number |
getPhysicalPercentComplete()
Retrieves the physical percent complete value.
|
Number |
getPlannedCost()
Retrieve the planned cost field.
|
Duration |
getPlannedDuration()
Retrieve the planned duration field.
|
LocalDateTime |
getPlannedFinish()
Retrieve the planned finish field.
|
LocalDateTime |
getPlannedStart()
Retrieve the planned start field.
|
Duration |
getPlannedWork()
Retrieve the planned work field.
|
Duration |
getPlannedWorkLabor()
Retrieve the labor component of the task's Planned Work.
|
Duration |
getPlannedWorkNonlabor()
Retrieve the nonlabor component of the task's Planned Work.
|
List<Relation> |
getPredecessors()
Retrieves the list of predecessors for this task.
|
LocalDateTime |
getPreleveledFinish()
Retrieves the preleveled finish attribute.
|
LocalDateTime |
getPreleveledStart()
Retrieves the preleveled start attribute.
|
Integer |
getPrimaryResourceID()
Retrieve the primary resource ID.
|
Priority |
getPriority()
The Priority field provides choices for the level of importance
assigned to a task, which in turn indicates how readily a task can be
delayed or split during resource leveling.
|
String |
getProject()
The Project field shows the name of the project from which a task
originated.
|
boolean |
getRecurring()
Retrieve the recurring flag.
|
RecurringTask |
getRecurringTask()
This method retrieves the recurring task record.
|
Duration |
getRegularWork()
Retrieve the amount of regular work.
|
Number |
getRemainingCost()
The Remaining Cost field shows the remaining scheduled expense of a
task that will be incurred in completing the remaining scheduled work
by all resources assigned to the task.
|
Duration |
getRemainingDuration()
The Remaining Duration field shows the amount of time required
to complete the unfinished portion of a task.
|
LocalDateTime |
getRemainingEarlyFinish()
The date the resource is scheduled to finish the remaining work for the activity.
|
LocalDateTime |
getRemainingEarlyStart()
The date the resource is scheduled to start the remaining work for the activity.
|
LocalDateTime |
getRemainingLateFinish()
Retrieve the remaining late finish value.
|
LocalDateTime |
getRemainingLateStart()
Retrieve the remaining late start value.
|
Number |
getRemainingOvertimeCost()
Retrieves the remaining overtime cost.
|
Duration |
getRemainingOvertimeWork()
Retrieves the remaining overtime work attribute.
|
Duration |
getRemainingWork()
The Remaining Work field shows the amount of time, or person-hours,
still required by all assigned resources to complete a task.
|
Duration |
getRemainingWorkLabor()
Retrieve the labor component of the task's Remaining Work.
|
Duration |
getRemainingWorkNonlabor()
Retrieve the nonlabor component of the task's Remaining Work.
|
List<ResourceAssignment> |
getResourceAssignments()
This method allows the list of resource assignments for this
task to be retrieved.
|
String |
getResourceGroup()
The Resource Group field contains the list of resource groups to which
the resources assigned to a task belong.
|
String |
getResourceInitials()
The Resource Initials field lists the abbreviations for the names of
resources assigned to a task.
|
String |
getResourceNames()
The Resource Names field lists the names of all resources assigned
to a task.
|
boolean |
getResponsePending()
Retrieve the response pending flag.
|
String |
getResponsibilityCode()
Retrieve the responsibility code field.
|
LocalDateTime |
getResume()
The Resume field shows the date that the remaining portion of a task
is scheduled to resume after you enter a new value for the % Complete
field.
|
boolean |
getResumeValid()
Retrieve the resume valid flag.
|
boolean |
getRollup()
For subtasks, the Rollup field indicates whether information on the
subtask Gantt bars
will be rolled up to the summary task bar.
|
Duration |
getScheduledDuration()
Retrieve the scheduled duration.
|
LocalDateTime |
getScheduledFinish()
Retrieve the scheduled finish.
|
LocalDateTime |
getScheduledStart()
Retrieve the scheduled start.
|
LocalDateTime |
getSecondaryConstraintDate()
Retrieve the secondary constraint date.
|
ConstraintType |
getSecondaryConstraintType()
Retrieve the secondary constraint type.
|
String |
getSection()
Retrieve the section field.
|
Integer |
getSequenceNumber()
Retrieve this task's sequence number.
|
boolean |
getShowDurationText()
Returns true for manually scheduled tasks if the Duration Text attribute should be
displayed to the user rather than the Duration attribute.
|
boolean |
getShowFinishText()
Returns true for manually scheduled tasks if the Finish Text attribute should be
displayed to the user rather than the Finish attribute.
|
boolean |
getShowStartText()
Returns true for manually scheduled tasks if the Start Text attribute should be
displayed to the user rather than the Start attribute.
|
List<LocalDateTimeRange> |
getSplits()
This method retrieves a list of task splits.
|
Integer |
getSprintID()
Retrieve the Sprint ID.
|
LocalDateTime |
getStart()
The Start field shows the date and time that a task is scheduled to begin.
|
LocalDateTime |
getStart(int index)
Retrieve a start value.
|
Duration |
getStartSlack()
Retrieve the start slack.
|
String |
getStartText()
Retrieve the start text for a manually scheduled task.
|
Duration |
getStartVariance()
Calculate the start variance.
|
List<Step> |
getSteps()
Retrieve steps for this task.
|
LocalDateTime |
getStop()
The Stop field shows the date that represents the end of the actual
portion of a task.
|
Number |
getStoredMaterial()
Retrieve the stored material value for this task.
|
String |
getSubprojectFile()
Contains the file name and path of the external project linked
to this task.
|
UUID |
getSubprojectGUID()
Retrieve the GUID of the linked subproject file.
|
ProjectFile |
getSubprojectObject()
If this task is an external project task or an external predecessor task,
attempt to load the project to which it refers.
|
boolean |
getSubprojectReadOnly()
Retrieve the subproject read only flag.
|
Integer |
getSubprojectTaskID()
Where a task in an MPP file represents a task from a subproject,
this value will be non-zero.
|
Integer |
getSubprojectTasksUniqueIDOffset()
Retrieves the offset added to unique task IDs from sub projects
to generate the task ID shown in the master project.
|
Integer |
getSubprojectTaskUniqueID()
Where a task in an MPP file represents a task from a subproject,
this value will be non-zero.
|
List<Relation> |
getSuccessors()
Retrieves the list of successors for this task.
|
boolean |
getSummary()
The Summary field indicates whether a task is a summary task.
|
LocalDateTime |
getSummaryProgress()
Retrieve the summary progress date.
|
LocalDateTime |
getSuspendDate()
Retrieve the suspend date field.
|
Number |
getSV()
The SV (earned value schedule variance) field shows the difference in
cost terms between the current progress and the baseline plan of the
task up to the status date or today's date.
|
TaskMode |
getTaskMode()
Retrieves the task mode.
|
String |
getText(int index)
Retrieve a text value.
|
Duration |
getTotalSlack()
The Total Slack field contains the amount of time a task can be
delayed without delaying the project's finish date.
|
TaskType |
getType()
This method retrieves the task type.
|
Integer |
getUniqueID()
The Unique ID field contains the number that Microsoft Project
automatically designates whenever a new task is created.
|
boolean |
getUpdateNeeded()
The Update Needed field indicates whether a TeamUpdate message
should be sent to the assigned resources because of changes to the
start date, finish date, or resource reassignments of the task.
|
String |
getWBS()
The work breakdown structure code.
|
Duration |
getWork()
The Work field shows the total amount of work scheduled to be performed
on a task by all assigned resources.
|
String |
getWorkAreaCode()
Retrieve the work area code field.
|
Integer |
getWorkersPerDay()
Retrieve the workers per day field.
|
Duration |
getWorkVariance()
The Work Variance field contains the difference between a task's
baseline work and the currently scheduled work.
|
boolean |
hasChildTasks()
Used to determine if a task has child tasks.
|
boolean |
isPredecessor(Task task)
Utility method used to determine if the supplied task
is a predecessor of the current task.
|
boolean |
isSuccessor(Task task)
Utility method used to determine if the supplied task
is a successor of the current task.
|
boolean |
isSucessor(Task task)
Deprecated.
use isSuccessor
|
void |
remove()
Removes this task from the project.
|
void |
removeChildTask(Task child)
Removes a child task.
|
boolean |
removePredecessor(Task targetTask,
RelationType type,
Duration lag)
This method allows a predecessor relationship to be removed from this
task instance.
|
void |
setActive(boolean active)
Sets the active flag.
|
void |
setActivityID(String value)
Set the activity ID.
|
void |
setActivityStatus(ActivityStatus value)
Set the activity status.
|
void |
setActivityType(ActivityType value)
Set the activity type.
|
void |
setActualCost(Number val)
The Actual Cost field shows costs incurred for work already performed
by all resources
on a task, along with any other recorded costs associated with the task.
|
void |
setActualDuration(Duration val)
The Actual Duration field shows the span of actual working time for a
task so far,
based on the scheduled duration and current remaining work or
completion percentage.
|
void |
setActualFinish(LocalDateTime val)
The Actual Finish field shows the date and time that a task actually
finished.
|
void |
setActualOvertimeCost(Number cost)
Sets the actual overtime cost for this task.
|
void |
setActualOvertimeWork(Duration work)
Sets the actual overtime work value.
|
void |
setActualOvertimeWorkProtected(Duration actualOvertimeWorkProtected)
Sets the actual overtime work protected value.
|
void |
setActualStart(LocalDateTime val)
The Actual Start field shows the date and time that a task actually began.
|
void |
setActualWork(Duration val)
The Actual Work field shows the amount of work that has already been
done by the
resources assigned to a task.
|
void |
setActualWorkLabor(Duration value)
Set the labor component of the task's Actual Work.
|
void |
setActualWorkNonlabor(Duration value)
Set the nonlabor component of the task's Actual Work.
|
void |
setActualWorkProtected(Duration actualWorkProtected)
Sets the actual work protected value.
|
void |
setACWP(Number acwp)
Set the ACWP value.
|
void |
setBarName(String value)
Set the name of the Asta Powerproject bar to which this task belongs.
|
void |
setBaselineBudgetCost(int baselineNumber,
Number value)
Set a baseline budget cost.
|
void |
setBaselineBudgetCost(Number value)
Set the baseline budget cost.
|
void |
setBaselineBudgetWork(Duration value)
Set the baseline budget work.
|
void |
setBaselineBudgetWork(int baselineNumber,
Duration value)
Set a baseline budget work.
|
void |
setBaselineCost(int baselineNumber,
Number value)
Set a baseline value.
|
void |
setBaselineCost(Number val)
The Baseline Cost field shows the total planned cost for a task.
|
void |
setBaselineDuration(Duration val)
The Baseline Duration field shows the original span of time planned to
complete a task.
|
void |
setBaselineDuration(int baselineNumber,
Duration value)
Set a baseline value.
|
void |
setBaselineDurationText(int baselineNumber,
String value)
Sets the baseline duration text value.
|
void |
setBaselineDurationText(String value)
Sets the baseline duration text value.
|
void |
setBaselineEstimatedDuration(Duration duration)
Set the baseline estimated duration.
|
void |
setBaselineEstimatedDuration(int baselineNumber,
Duration value)
Set a baseline value.
|
void |
setBaselineEstimatedFinish(int baselineNumber,
LocalDateTime value)
Set a baseline value.
|
void |
setBaselineEstimatedFinish(LocalDateTime date)
Set the baseline estimated finish.
|
void |
setBaselineEstimatedStart(int baselineNumber,
LocalDateTime value)
Set a baseline value.
|
void |
setBaselineEstimatedStart(LocalDateTime date)
Set the baseline estimated start.
|
void |
setBaselineFinish(int baselineNumber,
LocalDateTime value)
Set a baseline value.
|
void |
setBaselineFinish(LocalDateTime val)
The Baseline Finish field shows the planned completion date for a
task at the time
you saved a baseline.
|
void |
setBaselineFinishText(int baselineNumber,
String value)
Sets the baseline finish text value.
|
void |
setBaselineFinishText(String value)
Sets the baseline finish text value.
|
void |
setBaselineFixedCost(int baselineNumber,
Number value)
Set a baseline value.
|
void |
setBaselineFixedCost(Number val)
The Fixed Cost field shows any task expense that is not associated
with a resource cost.
|
void |
setBaselineFixedCostAccrual(AccrueType type)
Sets the baseline fixed cost accrual.
|
void |
setBaselineFixedCostAccrual(int baselineNumber,
AccrueType value)
Set a baseline value.
|
void |
setBaselineStart(int baselineNumber,
LocalDateTime value)
Set a baseline value.
|
void |
setBaselineStart(LocalDateTime val)
The Baseline Start field shows the planned beginning date for a task at
the time
you saved a baseline.
|
void |
setBaselineStartText(int baselineNumber,
String value)
Sets the baseline start text value.
|
void |
setBaselineStartText(String value)
Sets the baseline start text value.
|
void |
setBaselineWork(Duration val)
The Baseline Work field shows the originally planned amount of work to
be performed
by all resources assigned to a task.
|
void |
setBaselineWork(int baselineNumber,
Duration value)
Set a baseline value.
|
void |
setBCWP(Number val)
The BCWP (budgeted cost of work performed) field contains the
cumulative value
of the assignment's timephased percent complete multiplied by
the assignments
timephased baseline cost.
|
void |
setBCWS(Number val)
The BCWS (budgeted cost of work scheduled) field contains the cumulative
timephased baseline costs up to the status date or today's date.
|
void |
setBidItem(String value)
Retrieve the bid item field.
|
void |
setBoardStatusID(Integer value)
Set the Board Status ID.
|
void |
setBudgetCost(Number value)
Set the budget cost.
|
void |
setBudgetWork(Duration value)
Set the budget work.
|
void |
setCalendar(ProjectCalendar calendar)
Sets the calendar associated with this task.
|
void |
setCalendarUniqueID(Integer id)
Set the calendar unique ID.
|
void |
setCategoryOfWork(String value)
Set the category of work field.
|
void |
setCompleteThrough(LocalDateTime value)
Set the "complete through" date.
|
void |
setConfirmed(boolean val)
The Confirmed field indicates whether all resources assigned to a task have
accepted or rejected the task assignment in response to a TeamAssign message
regarding their assignments.
|
void |
setConstraintDate(LocalDateTime val)
The Constraint Date field shows the specific date associated with certain
constraint types,
such as Must Start On, Must Finish On, Start No Earlier Than,
Start No Later Than,
Finish No Earlier Than, and Finish No Later Than.
|
void |
setConstraintType(ConstraintType type)
Private method for dealing with string parameters from File.
|
void |
setContact(String val)
The Contact field contains the name of an individual
responsible for a task.
|
void |
setCost(int index,
Number value)
Set a cost value.
|
void |
setCost(Number val)
The Cost field shows the total scheduled, or projected, cost for a task,
based on costs already incurred for work performed by all resources assigned
to the task, in addition to the costs planned for the remaining work for the
assignment.
|
void |
setCostVariance(Number val)
The Cost Variance field shows the difference between the
baseline cost and total cost for a task.
|
void |
setCreateDate(LocalDateTime val)
The Created field contains the date and time when a task was
added to the project.
|
void |
setCritical(boolean val)
The Critical field indicates whether a task has any room in the
schedule to slip,
or if a task is on the critical path.
|
void |
setCV(Number val)
The CV (earned value cost variance) field shows the difference
between how much it should have cost to achieve the current level of
completion on the task, and how much it has actually cost to achieve the
current level of completion up to the status date or today's date.
|
void |
setDate(int index,
LocalDateTime value)
Set a date value.
|
void |
setDeadline(LocalDateTime deadline)
This method sets the deadline for this task.
|
void |
setDepartment(String value)
Set the department field.
|
void |
setDuration(Duration val)
The Duration field is the total span of active working time for a task.
|
void |
setDuration(int index,
Duration value)
Set a duration value.
|
void |
setDurationText(String val)
Set the duration text used for a manually scheduled task.
|
void |
setDurationVariance(Duration duration)
The Duration Variance field contains the difference between the
baseline duration of a task and the forecast or actual duration
of the task.
|
void |
setEarlyFinish(LocalDateTime date)
The Early Finish field contains the earliest date that a task
could possibly finish, based on early finish dates of predecessor
and successor tasks, other constraints, and any leveling delay.
|
void |
setEarlyStart(LocalDateTime date)
The Early Start field contains the earliest date that a task could
possibly begin, based on the early start dates of predecessor and
successor tasks, and other constraints.
|
void |
setEarnedValueMethod(EarnedValueMethod earnedValueMethod)
Sets the earned value method.
|
void |
setEffortDriven(boolean flag)
Sets the effort driven flag.
|
void |
setEnterpriseCost(int index,
Number value)
Set an enterprise field value.
|
void |
setEnterpriseDate(int index,
LocalDateTime value)
Set an enterprise field value.
|
void |
setEnterpriseDuration(int index,
Duration value)
Set an enterprise field value.
|
void |
setEnterpriseFlag(int index,
boolean value)
Set an enterprise field value.
|
void |
setEnterpriseNumber(int index,
Number value)
Set an enterprise field value.
|
void |
setEnterpriseText(int index,
String value)
Set an enterprise field value.
|
void |
setEstimated(boolean estimated)
This method retrieves a flag indicating whether the duration of the
task has only been estimated.
|
void |
setExpanded(boolean expanded)
Set a flag indicating if the task is shown as expanded
in MS Project.
|
void |
setExpectedFinish(LocalDateTime value)
Set the expected finish date.
|
void |
setExpenseItems(List<ExpenseItem> items)
Set the expense items for this task.
|
void |
setExternalEarlyStart(LocalDateTime value)
Set the external early start date.
|
void |
setExternalLateFinish(LocalDateTime value)
Set the external late finish date.
|
void |
setExternalTask(boolean externalTask)
Sets the external task flag.
|
void |
setFeatureOfWork(String value)
Set the feature of work field.
|
void |
setFieldByAlias(String alias,
Object value)
Set the value of a field using its alias.
|
void |
setFinish(int index,
LocalDateTime value)
Set a finish value.
|
void |
setFinish(LocalDateTime date)
The Finish field shows the date and time that a task is scheduled to be
completed.
|
void |
setFinishSlack(Duration duration)
Set the finish slack.
|
void |
setFinishText(String val)
Set the finish text used for a manually scheduled task.
|
void |
setFinishVariance(Duration duration)
The Finish Variance field contains the amount of time that represents the
difference between a task's baseline finish date and its forecast
or actual finish date.
|
void |
setFixedCost(Number val)
The Fixed Cost field shows any task expense that is not associated
with a resource cost.
|
void |
setFixedCostAccrual(AccrueType type)
Sets the fixed cost accrual flag value.
|
void |
setFlag(int index,
boolean value)
Set a flag value.
|
void |
setFreeSlack(Duration duration)
The Free Slack field contains the amount of time that a task can be
delayed without delaying any successor tasks.
|
void |
setGUID(UUID value)
Set the task GUID.
|
void |
setHammockCode(boolean value)
Set the hammock code field.
|
void |
setHideBar(boolean flag)
The Hide Bar flag indicates whether the Gantt bars and Calendar bars
for a task are hidden when this project's data is displayed in MS Project.
|
void |
setHyperlink(String text)
Sets the task hyperlink attribute.
|
void |
setHyperlinkAddress(String text)
Sets the task hyperlink address attribute.
|
void |
setHyperlinkScreenTip(String text)
Sets the task hyperlink screen tip attribute.
|
void |
setHyperlinkSubAddress(String text)
Sets the task hyperlink sub address attribute.
|
void |
setID(Integer val)
The ID field contains the identifier number that Microsoft Project
automatically assigns to each task as you add it to the project.
|
void |
setIgnoreResourceCalendar(boolean ignoreResourceCalendar)
Sets the ignore resource calendar flag.
|
void |
setLateFinish(LocalDateTime date)
The Late Finish field contains the latest date that a task can finish
without delaying the finish of the project.
|
void |
setLateStart(LocalDateTime date)
The Late Start field contains the latest date that a task can start
without delaying the finish of the project.
|
void |
setLevelAssignments(boolean flag)
Sets the level assignments flag.
|
void |
setLevelingCanSplit(boolean flag)
Sets the leveling can split flag.
|
void |
setLevelingDelay(Duration val)
Set amount of delay as elapsed real time.
|
void |
setLevelingDelayFormat(TimeUnit levelingDelayFormat)
Set the leveling delay format.
|
void |
setLinkedFields(boolean flag)
The Linked Fields field indicates whether there are OLE links to the task,
either from elsewhere in the active project, another Microsoft Project
file, or from another program.
|
void |
setLocation(Location location)
Sets the location.
|
void |
setLocationUniqueID(Integer uniqueID)
Sets the location unique ID.
|
void |
setLongestPath(boolean value)
Set the longest path.
|
void |
setMail(String value)
Set the mail field.
|
void |
setManager(String value)
Set the manager field.
|
void |
setManualDuration(Duration dur)
Set the manual duration attribute.
|
void |
setMarked(boolean flag)
This is a user defined field used to mark a task for some form of
additional action.
|
void |
setMilestone(boolean flag)
The Milestone field indicates whether a task is a milestone.
|
void |
setModOrClaimNumber(String value)
Retrieve the mod or claim number field.
|
void |
setName(String name)
The Name field contains the name of a task.
|
void |
setNotes(String notes)
This method is used to add notes to the current task.
|
void |
setNotesObject(Notes notes)
Set the Notes instance representing the task notes.
|
void |
setNull(boolean isNull)
Sets the flag indicating if this is a null task.
|
void |
setNumber(int index,
Number value)
Set a number value.
|
void |
setObjects(Integer val)
The Objects field contains the number of objects attached to a task.
|
void |
setOutlineCode(int index,
String value)
Set an outline code value.
|
void |
setOutlineLevel(Integer val)
The Outline Level field contains the number that indicates the level of
the task in the project outline hierarchy.
|
void |
setOutlineNumber(String val)
The Outline Number field contains the number of the task in the structure
of an outline.
|
void |
setOverAllocated(boolean overAllocated)
Set the over allocated flag.
|
void |
setOverallPercentComplete(Number value)
Set the overall percent complete field.
|
void |
setOvertimeCost(Number number)
Sets the overtime cost value.
|
void |
setOvertimeWork(Duration work)
Sets the overtime work attribute.
|
void |
setPercentageComplete(Number val)
The % Complete field contains the current status of a task, expressed
as the percentage of the
task's duration that has been completed.
|
void |
setPercentageWorkComplete(Number val)
The % Work Complete field contains the current status of a task,
expressed as the
percentage of the task's work that has been completed.
|
void |
setPercentCompleteType(PercentCompleteType value)
Set the percent complete type.
|
void |
setPhaseOfWork(String value)
Set the phase of work field.
|
void |
setPhysicalPercentComplete(Number physicalPercentComplete)
Sets the physical percent complete value.
|
void |
setPlannedCost(Number value)
Set the planned cost field.
|
void |
setPlannedDuration(Duration value)
Set the planned duration field.
|
void |
setPlannedFinish(LocalDateTime value)
Set the planned finish field.
|
void |
setPlannedStart(LocalDateTime value)
Set the planned start field.
|
void |
setPlannedWork(Duration value)
Set the planned work field.
|
void |
setPlannedWorkLabor(Duration value)
Set the labor component of the task's Planned Work.
|
void |
setPlannedWorkNonlabor(Duration value)
Set the nonlabor component of the task's Planned Work.
|
void |
setPreleveledFinish(LocalDateTime date)
Sets the preleveled finish attribute.
|
void |
setPreleveledStart(LocalDateTime date)
Sets the preleveled start attribute.
|
void |
setPrimaryResourceID(Integer value)
Set the primary resource ID.
|
void |
setPriority(Priority priority)
The Priority field provides choices for the level of importance
assigned to a task, which in turn indicates how readily a task can be
delayed or split during resource leveling.
|
void |
setProject(String val)
The Project field shows the name of the project from which a
task originated.
|
void |
setRecurring(boolean recurring)
Set the recurring flag.
|
void |
setRegularWork(Duration regularWork)
Set the amount of regular work.
|
void |
setRemainingCost(Number val)
The Remaining Cost field shows the remaining scheduled expense of a task that
will be incurred in completing the remaining scheduled work by all resources
assigned to the task.
|
void |
setRemainingDuration(Duration val)
The Remaining Duration field shows the amount of time required to complete
the unfinished portion of a task.
|
void |
setRemainingEarlyFinish(LocalDateTime date)
The date the resource is scheduled to finish the remaining work for the activity.
|
void |
setRemainingEarlyStart(LocalDateTime date)
The date the resource is scheduled to begin the remaining work for the activity.
|
void |
setRemainingLateFinish(LocalDateTime date)
Set the remaining late finish value.
|
void |
setRemainingLateStart(LocalDateTime date)
Set the remaining late start value.
|
void |
setRemainingOvertimeCost(Number cost)
Sets the remaining overtime cost value.
|
void |
setRemainingOvertimeWork(Duration work)
Sets the remaining overtime work attribute.
|
void |
setRemainingWork(Duration val)
The Remaining Work field shows the amount of time, or person-hours,
still required by all assigned resources to complete a task.
|
void |
setRemainingWorkLabor(Duration value)
Set the labor component of the task's Remaining Work.
|
void |
setRemainingWorkNonlabor(Duration value)
Set the nonlabor component of the task's Remaining Work.
|
void |
setResourceGroup(String val)
The Resource Group field contains the list of resource groups to which the
resources assigned to a task belong.
|
void |
setResourceInitials(String val)
The Resource Initials field lists the abbreviations for the names of
resources assigned to a task.
|
void |
setResourceNames(String val)
The Resource Names field lists the names of all resources
assigned to a task.
|
void |
setResponsePending(boolean value)
Set the response pending flag.
|
void |
setResponsibilityCode(String value)
Set the responsibility code field.
|
void |
setResume(LocalDateTime val)
The Resume field shows the date that the remaining portion of a task is
scheduled to resume after you enter a new value for the % Complete field.
|
void |
setResumeValid(boolean resumeValid)
Set the resume valid flag.
|
void |
setRollup(boolean val)
For subtasks, the Rollup field indicates whether information on the subtask
Gantt bars will be rolled up to the summary task bar.
|
void |
setScheduledDuration(Duration value)
Set the scheduled duration.
|
void |
setScheduledFinish(LocalDateTime value)
Set the scheduled finish.
|
void |
setScheduledStart(LocalDateTime value)
Set the scheduled start.
|
void |
setSecondaryConstraintDate(LocalDateTime date)
Set the secondary constraint date.
|
void |
setSecondaryConstraintType(ConstraintType type)
Set the secondary constraint type.
|
void |
setSection(String value)
Set the section field.
|
void |
setSequenceNumber(Integer sequenceNumber)
Set this task's sequence number.
|
void |
setSplits(List<LocalDateTimeRange> splits)
Internal method used to set the list of splits.
|
void |
setSprintID(Integer value)
Set the sprint ID.
|
void |
setStart(int index,
LocalDateTime value)
Set a start value.
|
void |
setStart(LocalDateTime val)
The Start field shows the date and time that a task is scheduled to begin.
|
void |
setStartSlack(Duration duration)
Set the start slack.
|
void |
setStartText(String val)
Set the start text used for a manually scheduled task.
|
void |
setStartVariance(Duration val)
The Start Variance field contains the amount of time that represents the
difference between a task's baseline start date and its currently
scheduled start date.
|
void |
setSteps(List<Step> steps)
Set the steps for this task.
|
void |
setStop(LocalDateTime val)
The Stop field shows the date that represents the end of the actual
portion of a task.
|
void |
setStoredMaterial(Number value)
Set the stored material value for this task.
|
void |
setSubprojectFile(String val)
The Subproject File field contains the external
project's path and file name.
|
void |
setSubprojectGUID(UUID guid)
Set the GUID of the linked subproject file.
|
void |
setSubprojectObject(ProjectFile projectFile)
Where we have already read a project, this method is used to
attach it to the task.
|
void |
setSubprojectReadOnly(boolean subprojectReadOnly)
Set the subproject read only flag.
|
void |
setSubprojectTaskID(Integer subprojectTaskID)
Sets the sub project task ID.
|
void |
setSubprojectTasksUniqueIDOffset(Integer offset)
Sets the offset added to unique task IDs from sub projects
to generate the task ID shown in the master project.
|
void |
setSubprojectTaskUniqueID(Integer subprojectUniqueTaskID)
Sets the sub project unique task ID.
|
void |
setSummary(boolean val)
The Summary field indicates whether a task is a summary task.
|
void |
setSummaryProgress(LocalDateTime value)
Set the summary progress date.
|
void |
setSuspendDate(LocalDateTime value)
Set the suspend date field.
|
void |
setSV(Number val)
The SV (earned value schedule variance) field shows the difference
in cost terms between the current progress and the baseline plan
of the task up to the status date or today's date.
|
void |
setTaskMode(TaskMode mode)
Sets the task mode.
|
void |
setText(int index,
String value)
Set a text value.
|
void |
setTotalSlack(Duration val)
The Total Slack field contains the amount of time a task can be delayed
without delaying the project's finish date.
|
void |
setType(TaskType type)
This method sets the task type.
|
void |
setUniqueID(Integer val)
The Unique ID field contains the number that Microsoft Project
automatically designates whenever a new task is created.
|
void |
setUpdateNeeded(boolean val)
The Update Needed field indicates whether a TeamUpdate message should
be sent to the assigned resources because of changes to the start date,
finish date, or resource reassignments of the task.
|
void |
setWBS(String val)
The work breakdown structure code.
|
void |
setWork(Duration val)
The Work field shows the total amount of work scheduled to be performed
on a task by all assigned resources.
|
void |
setWorkAreaCode(String value)
Set the work area code field.
|
void |
setWorkersPerDay(Integer value)
Set the workers per day field.
|
void |
setWorkVariance(Duration val)
The Work Variance field contains the difference between a task's baseline
work and the currently scheduled work.
|
String |
toString() |
addFieldListener, disableEvents, enableEvents, get, getCachedValue, removeFieldListener, set
public void generateWBS(Task parent)
parent
- Parent Taskpublic void generateOutlineNumber(Task parent)
parent
- Parent Taskpublic void setNotes(String notes)
notes
- notes to be addedpublic void setNotesObject(Notes notes)
notes
- Notes instancepublic Task addTask()
addTask
in interface ChildTaskContainer
public void addChildTask(Task child, int childOutlineLevel)
child
- Child task.childOutlineLevel
- Outline level of the child task.public void addChildTask(Task child)
child
- child taskpublic void addChildTaskBefore(Task child, Task previousSibling)
child
- new child taskpreviousSibling
- sibling taskpublic void removeChildTask(Task child)
child
- child task instancepublic void clearChildTasks()
public RecurringTask addRecurringTask()
public RecurringTask getRecurringTask()
public List<ActivityCodeValue> getActivityCodes()
public void addActivityCode(ActivityCodeValue value)
value
- activity code valuepublic ResourceAssignment addResourceAssignment(Resource resource)
resource
- the resource to assignpublic void addResourceAssignment(ResourceAssignment assignment)
assignment
- resource assignmentpublic ResourceAssignment getExistingResourceAssignment(Resource resource)
resource
- resource to test forpublic List<ResourceAssignment> getResourceAssignments()
public Relation addPredecessor(Relation.Builder builder)
builder
- Relation.Builder instancepublic boolean removePredecessor(Task targetTask, RelationType type, Duration lag)
targetTask
- the predecessor tasktype
- relation typelag
- relation lagpublic void setPercentageComplete(Number val)
val
- value to be setpublic void setPercentageWorkComplete(Number val)
val
- value to be setpublic void setActualCost(Number val)
val
- value to be setpublic void setActualDuration(Duration val)
val
- value to be setpublic void setActualFinish(LocalDateTime val)
val
- value to be setpublic void setActualStart(LocalDateTime val)
val
- value to be setpublic void setActualWork(Duration val)
val
- value to be setpublic void setBaselineCost(Number val)
val
- the amount to be setpublic void setBaselineDuration(Duration val)
val
- durationpublic void setBaselineFinish(LocalDateTime val)
val
- Date to be setpublic void setBaselineStart(LocalDateTime val)
val
- Date to be setpublic void setBaselineWork(Duration val)
val
- the duration to be set.public void setBCWP(Number val)
val
- the amount to be setpublic void setBCWS(Number val)
val
- the amount to setpublic void setConfirmed(boolean val)
val
- boolean valuepublic void setConstraintDate(LocalDateTime val)
val
- Date to be setpublic void setSecondaryConstraintDate(LocalDateTime date)
date
- secondary constraint datepublic void setConstraintType(ConstraintType type)
type
- string constraint typepublic void setSecondaryConstraintType(ConstraintType type)
type
- secondary constraint typepublic void setContact(String val)
val
- value to be setpublic void setCost(Number val)
val
- amountpublic void setCost(int index, Number value)
index
- cost index (1-10)value
- cost valuepublic Number getCost(int index)
index
- cost index (1-10)public void setCostVariance(Number val)
val
- amountpublic void setCreateDate(LocalDateTime val)
val
- datepublic void setCritical(boolean val)
val
- whether task is critical or notpublic void setCV(Number val)
val
- value to setpublic void setLevelingDelay(Duration val)
val
- elapsed timepublic void setDuration(Duration val)
val
- durationpublic void setDurationText(String val)
val
- textpublic void setManualDuration(Duration dur)
dur
- manual durationpublic Duration getManualDuration()
public void setDurationVariance(Duration duration)
duration
- duration valuepublic void setEarlyFinish(LocalDateTime date)
date
- Date valuepublic void setRemainingEarlyFinish(LocalDateTime date)
date
- Date valuepublic void setEarlyStart(LocalDateTime date)
date
- Date valuepublic void setRemainingEarlyStart(LocalDateTime date)
date
- Date valuepublic void setFinish(LocalDateTime date)
date
- Date valuepublic void setFinishText(String val)
val
- textpublic void setFinishVariance(Duration duration)
duration
- duration valuepublic void setFixedCost(Number val)
val
- amountpublic void setFreeSlack(Duration duration)
duration
- duration valuepublic void setHideBar(boolean flag)
flag
- boolean valuepublic void setID(Integer val)
setID
in interface ProjectEntityWithID
val
- IDpublic void setLateFinish(LocalDateTime date)
date
- date valuepublic void setRemainingLateFinish(LocalDateTime date)
date
- remaining late finishpublic void setLateStart(LocalDateTime date)
date
- date valuepublic void setRemainingLateStart(LocalDateTime date)
date
- remaining late startpublic void setLinkedFields(boolean flag)
flag
- boolean valuepublic void setMarked(boolean flag)
flag
- boolean valuepublic void setMilestone(boolean flag)
flag
- boolean valuepublic void setName(String name)
name
- task namepublic void setObjects(Integer val)
val
- - integer valuepublic void setOutlineLevel(Integer val)
val
- - intpublic void setOutlineNumber(String val)
val
- - textpublic void setPriority(Priority priority)
priority
- the priority valuepublic void setProject(String val)
val
- - textpublic void setRemainingCost(Number val)
val
- - currency amountpublic void setRemainingDuration(Duration val)
val
- - duration.public void setRemainingWork(Duration val)
val
- - durationpublic void setResourceGroup(String val)
val
- - String listpublic void setResourceInitials(String val)
val
- String containing a comma separated list of initialspublic void setResourceNames(String val)
val
- String containing a comma separated list of namespublic void setResume(LocalDateTime val)
val
- - Datepublic void setRollup(boolean val)
val
- - booleanpublic void setStart(LocalDateTime val)
val
- - Datepublic void setStartText(String val)
val
- textpublic void setStartVariance(Duration val)
val
- - durationpublic void setStop(LocalDateTime val)
val
- - Datepublic void setSubprojectFile(String val)
val
- - Stringpublic void setSubprojectGUID(UUID guid)
guid
- subproject GUIDpublic UUID getSubprojectGUID()
public void setSummary(boolean val)
val
- - booleanpublic void setSV(Number val)
val
- - currency amountpublic void setTotalSlack(Duration val)
val
- - durationpublic void setUniqueID(Integer val)
setUniqueID
in interface ProjectEntityWithMutableUniqueID
val
- unique IDpublic void setUpdateNeeded(boolean val)
val
- - booleanpublic void setWBS(String val)
val
- - Stringpublic void setWork(Duration val)
val
- - durationpublic void setWorkVariance(Duration val)
val
- - durationpublic Number getPercentageComplete()
public Number getPercentageWorkComplete()
public Number getActualCost()
public Duration getActualDuration()
public LocalDateTime getActualFinish()
public LocalDateTime getActualStart()
public Duration getActualWork()
public Number getBaselineCost()
public Duration getBaselineDuration()
public String getBaselineDurationText()
public void setBaselineDurationText(String value)
value
- baseline duration textpublic LocalDateTime getBaselineFinish()
public String getBaselineFinishText()
public void setBaselineFinishText(String value)
value
- baseline finish textpublic LocalDateTime getBaselineStart()
public String getBaselineStartText()
public void setBaselineStartText(String value)
value
- baseline start textpublic Duration getBaselineWork()
public Number getBCWP()
public Number getBCWS()
public boolean getConfirmed()
public LocalDateTime getConstraintDate()
public LocalDateTime getSecondaryConstraintDate()
public ConstraintType getConstraintType()
public ConstraintType getSecondaryConstraintType()
public String getContact()
public Number getCost()
public Number getCostVariance()
public LocalDateTime getCreateDate()
public boolean getCritical()
public Number getCV()
public Duration getLevelingDelay()
public Duration getDuration()
public String getDurationText()
public void setDuration(int index, Duration value)
index
- duration index (1-10)value
- duration valuepublic Duration getDuration(int index)
index
- duration index (1-10)public Duration getDurationVariance()
public LocalDateTime getEarlyFinish()
public LocalDateTime getRemainingEarlyFinish()
public LocalDateTime getEarlyStart()
public LocalDateTime getRemainingEarlyStart()
public LocalDateTime getFinish()
public String getFinishText()
public void setFinish(int index, LocalDateTime value)
index
- finish index (1-10)value
- finish valuepublic LocalDateTime getFinish(int index)
index
- finish index (1-10)public Duration getFinishVariance()
public Number getFixedCost()
public void setFlag(int index, boolean value)
index
- flag index (1-20)value
- flag valuepublic boolean getFlag(int index)
index
- flag index (1-20)public Duration getFreeSlack()
public boolean getHideBar()
public Integer getID()
getID
in interface ProjectEntityWithID
public LocalDateTime getLateFinish()
public LocalDateTime getRemainingLateFinish()
public LocalDateTime getLateStart()
public LocalDateTime getRemainingLateStart()
public boolean getLinkedFields()
public boolean getMarked()
public boolean getMilestone()
public String getName()
public String getNotes()
public Notes getNotesObject()
public void setNumber(int index, Number value)
index
- number index (1-20)value
- number valuepublic Number getNumber(int index)
index
- number index (1-20)public Integer getObjects()
public Integer getOutlineLevel()
public String getOutlineNumber()
public List<Relation> getPredecessors()
public List<Relation> getSuccessors()
public Priority getPriority()
public String getProject()
public Number getRemainingCost()
public Duration getRemainingDuration()
public Duration getRemainingWork()
public String getResourceGroup()
public String getResourceInitials()
public String getResourceNames()
public LocalDateTime getResume()
public boolean getRollup()
public LocalDateTime getStart()
public String getStartText()
public void setStart(int index, LocalDateTime value)
index
- start index (1-10)value
- start valuepublic LocalDateTime getStart(int index)
index
- start index (1-10)public Duration getStartVariance()
public LocalDateTime getStop()
public String getSubprojectFile()
public boolean getSummary()
public Number getSV()
public void setText(int index, String value)
index
- text index (1-30)value
- text valuepublic String getText(int index)
index
- text index (1-30)public void setOutlineCode(int index, String value)
index
- outline code index (1-10)value
- outline code valuepublic String getOutlineCode(int index)
index
- outline code index (1-10)public Duration getTotalSlack()
public Integer getUniqueID()
getUniqueID
in interface ProjectEntityWithUniqueID
public boolean getUpdateNeeded()
public String getWBS()
public Duration getWork()
public Duration getWorkVariance()
public Task getParentTask()
public Integer getParentTaskUniqueID()
public List<Task> getChildTasks()
getChildTasks
in interface ChildTaskContainer
public int compareTo(Task o)
compareTo
in interface Comparable<Task>
o
- object to compare this instance withpublic boolean getEstimated()
public void setEstimated(boolean estimated)
estimated
- Boolean flagpublic LocalDateTime getDeadline()
public void setDeadline(LocalDateTime deadline)
deadline
- deadline datepublic TaskType getType()
public void setType(TaskType type)
type
- task typepublic boolean getNull()
public void setNull(boolean isNull)
isNull
- boolean flagpublic boolean getResumeValid()
public void setResumeValid(boolean resumeValid)
resumeValid
- resume valid flagpublic boolean getRecurring()
public void setRecurring(boolean recurring)
recurring
- recurring flagpublic boolean getOverAllocated()
public void setOverAllocated(boolean overAllocated)
overAllocated
- over allocated flagpublic Integer getSubprojectTaskUniqueID()
public void setSubprojectTaskUniqueID(Integer subprojectUniqueTaskID)
subprojectUniqueTaskID
- subproject unique task IDpublic Integer getSubprojectTaskID()
public void setSubprojectTaskID(Integer subprojectTaskID)
subprojectTaskID
- subproject task IDpublic void setSubprojectTasksUniqueIDOffset(Integer offset)
offset
- unique ID offsetpublic Integer getSubprojectTasksUniqueIDOffset()
public boolean getSubprojectReadOnly()
public void setSubprojectReadOnly(boolean subprojectReadOnly)
subprojectReadOnly
- subproject read only flagpublic boolean getExternalTask()
public void setExternalTask(boolean externalTask)
externalTask
- external task flagpublic boolean getExternalProject()
public Number getACWP()
public void setACWP(Number acwp)
acwp
- ACWP valuepublic TimeUnit getLevelingDelayFormat()
public void setLevelingDelayFormat(TimeUnit levelingDelayFormat)
levelingDelayFormat
- leveling delay formatpublic boolean getIgnoreResourceCalendar()
public void setIgnoreResourceCalendar(boolean ignoreResourceCalendar)
ignoreResourceCalendar
- ignore resource calendar flagpublic Number getPhysicalPercentComplete()
public void setPhysicalPercentComplete(Number physicalPercentComplete)
physicalPercentComplete
- physical percent complete valuepublic EarnedValueMethod getEarnedValueMethod()
public void setEarnedValueMethod(EarnedValueMethod earnedValueMethod)
earnedValueMethod
- earned value methodpublic Duration getActualWorkProtected()
public void setActualWorkProtected(Duration actualWorkProtected)
actualWorkProtected
- actual work protected valuepublic Duration getActualOvertimeWorkProtected()
public void setActualOvertimeWorkProtected(Duration actualOvertimeWorkProtected)
actualOvertimeWorkProtected
- actual overtime work protected valuepublic Duration getRegularWork()
public void setRegularWork(Duration regularWork)
regularWork
- amount of regular workpublic void setEffortDriven(boolean flag)
flag
- valuepublic boolean getEffortDriven()
public void setDate(int index, LocalDateTime value)
index
- date index (1-10)value
- date valuepublic LocalDateTime getDate(int index)
index
- date index (1-10)public Number getOvertimeCost()
public void setOvertimeCost(Number number)
number
- Cost valuepublic Number getActualOvertimeCost()
public void setActualOvertimeCost(Number cost)
cost
- actual overtime costpublic Duration getActualOvertimeWork()
public void setActualOvertimeWork(Duration work)
work
- actual overtime work valuepublic AccrueType getFixedCostAccrual()
public void setFixedCostAccrual(AccrueType type)
type
- fixed cost accrual typepublic String getHyperlink()
public String getHyperlinkAddress()
public String getHyperlinkSubAddress()
public String getHyperlinkScreenTip()
public void setHyperlink(String text)
text
- hyperlink attributepublic void setHyperlinkAddress(String text)
text
- hyperlink address attributepublic void setHyperlinkSubAddress(String text)
text
- hyperlink sub address attributepublic void setHyperlinkScreenTip(String text)
text
- hyperlink screen tip attributepublic boolean getLevelAssignments()
public void setLevelAssignments(boolean flag)
flag
- level assignments flagpublic boolean getLevelingCanSplit()
public void setLevelingCanSplit(boolean flag)
flag
- leveling can split flagpublic Duration getOvertimeWork()
public void setOvertimeWork(Duration work)
work
- overtime work valuepublic LocalDateTime getPreleveledStart()
public LocalDateTime getPreleveledFinish()
public void setPreleveledStart(LocalDateTime date)
date
- preleveled start attributepublic void setPreleveledFinish(LocalDateTime date)
date
- preleveled finish attributepublic Duration getRemainingOvertimeWork()
public void setRemainingOvertimeWork(Duration work)
work
- remaining overtime workpublic Number getRemainingOvertimeCost()
public void setRemainingOvertimeCost(Number cost)
cost
- overtime cost valuepublic ProjectCalendar getCalendar()
public void setCalendarUniqueID(Integer id)
id
- calendar unique IDpublic Integer getCalendarUniqueID()
public void setCalendar(ProjectCalendar calendar)
calendar
- calendar instancepublic boolean getExpanded()
public void setExpanded(boolean expanded)
expanded
- boolean flagpublic void setStartSlack(Duration duration)
duration
- start slackpublic void setFinishSlack(Duration duration)
duration
- finish slackpublic Duration getStartSlack()
public Duration getFinishSlack()
public Object getFieldByAlias(String alias)
alias
- field aliaspublic void setFieldByAlias(String alias, Object value)
alias
- field aliasvalue
- field valuepublic List<LocalDateTimeRange> getSplits()
public void setSplits(List<LocalDateTimeRange> splits)
splits
- list of split timespublic void remove()
public ProjectFile expandSubproject()
public ProjectFile getSubprojectObject()
public void setSubprojectObject(ProjectFile projectFile)
projectFile
- ProjectFile instancepublic Number getEnterpriseCost(int index)
index
- field indexpublic void setEnterpriseCost(int index, Number value)
index
- field indexvalue
- field valuepublic LocalDateTime getEnterpriseDate(int index)
index
- field indexpublic void setEnterpriseDate(int index, LocalDateTime value)
index
- field indexvalue
- field valuepublic Duration getEnterpriseDuration(int index)
index
- field indexpublic void setEnterpriseDuration(int index, Duration value)
index
- field indexvalue
- field valuepublic boolean getEnterpriseFlag(int index)
index
- field indexpublic void setEnterpriseFlag(int index, boolean value)
index
- field indexvalue
- field valuepublic Number getEnterpriseNumber(int index)
index
- field indexpublic void setEnterpriseNumber(int index, Number value)
index
- field indexvalue
- field valuepublic String getEnterpriseText(int index)
index
- field indexpublic void setEnterpriseText(int index, String value)
index
- field indexvalue
- field valuepublic void setBaselineCost(int baselineNumber, Number value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic void setBaselineDuration(int baselineNumber, Duration value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic void setBaselineFinish(int baselineNumber, LocalDateTime value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic void setBaselineStart(int baselineNumber, LocalDateTime value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic void setBaselineWork(int baselineNumber, Duration value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic Number getBaselineCost(int baselineNumber)
baselineNumber
- baseline index (1-10)public Duration getBaselineDuration(int baselineNumber)
baselineNumber
- baseline index (1-10)public String getBaselineDurationText(int baselineNumber)
baselineNumber
- baseline numberpublic void setBaselineDurationText(int baselineNumber, String value)
baselineNumber
- baseline numbervalue
- baseline duration text valuepublic LocalDateTime getBaselineFinish(int baselineNumber)
baselineNumber
- baseline index (1-10)public String getBaselineFinishText(int baselineNumber)
baselineNumber
- baseline numberpublic void setBaselineFinishText(int baselineNumber, String value)
baselineNumber
- baseline numbervalue
- baseline finish text valuepublic LocalDateTime getBaselineStart(int baselineNumber)
baselineNumber
- baseline index (1-10)public String getBaselineStartText(int baselineNumber)
baselineNumber
- baseline numberpublic void setBaselineStartText(int baselineNumber, String value)
baselineNumber
- baseline numbervalue
- baseline start text valuepublic Duration getBaselineWork(int baselineNumber)
baselineNumber
- baseline index (1-10)public LocalDateTime getCompleteThrough()
public void setCompleteThrough(LocalDateTime value)
value
- complete through datepublic LocalDateTime getSummaryProgress()
public void setSummaryProgress(LocalDateTime value)
value
- summary progress datepublic UUID getGUID()
public void setGUID(UUID value)
value
- task GUIDpublic TaskMode getTaskMode()
public void setTaskMode(TaskMode mode)
mode
- task modepublic boolean getActive()
public void setActive(boolean active)
active
- active flag valuepublic Duration getBaselineEstimatedDuration()
public void setBaselineEstimatedDuration(Duration duration)
duration
- baseline estimated durationpublic void setBaselineEstimatedDuration(int baselineNumber, Duration value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic Duration getBaselineEstimatedDuration(int baselineNumber)
baselineNumber
- baseline index (1-10)public LocalDateTime getBaselineEstimatedStart()
public void setBaselineEstimatedStart(LocalDateTime date)
date
- baseline estimated startpublic LocalDateTime getBaselineEstimatedStart(int baselineNumber)
baselineNumber
- baseline index (1-10)public void setBaselineEstimatedStart(int baselineNumber, LocalDateTime value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic LocalDateTime getBaselineEstimatedFinish()
public void setBaselineEstimatedFinish(LocalDateTime date)
date
- baseline estimated finishpublic LocalDateTime getBaselineEstimatedFinish(int baselineNumber)
baselineNumber
- baseline index (1-10)public void setBaselineEstimatedFinish(int baselineNumber, LocalDateTime value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic void setBaselineFixedCost(Number val)
val
- amountpublic Number getBaselineFixedCost()
public void setBaselineFixedCost(int baselineNumber, Number value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic Number getBaselineFixedCost(int baselineNumber)
baselineNumber
- baseline index (1-10)public AccrueType getBaselineFixedCostAccrual()
public void setBaselineFixedCostAccrual(AccrueType type)
type
- fixed cost accrual typepublic void setBaselineFixedCostAccrual(int baselineNumber, AccrueType value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic AccrueType getBaselineFixedCostAccrual(int baselineNumber)
baselineNumber
- baseline index (1-10)public List<ExpenseItem> getExpenseItems()
public void setExpenseItems(List<ExpenseItem> items)
items
- list of expense itemspublic void setStoredMaterial(Number value)
value
- stored material valuepublic Number getStoredMaterial()
public void setFeatureOfWork(String value)
value
- feature of work valuepublic String getFeatureOfWork()
public void setCategoryOfWork(String value)
value
- category of work valuepublic String getCategoryOfWork()
public void setPhaseOfWork(String value)
value
- phase of work valuepublic String getPhaseOfWork()
public void setBidItem(String value)
value
- bid item valuepublic String getBidItem()
public void setModOrClaimNumber(String value)
value
- mod or claim number valuepublic String getModOrClaimNumber()
public void setWorkAreaCode(String value)
value
- work area code valuepublic String getWorkAreaCode()
public void setResponsibilityCode(String value)
value
- responsibility code valuepublic String getResponsibilityCode()
public void setWorkersPerDay(Integer value)
value
- workers per day valuepublic Integer getWorkersPerDay()
public void setHammockCode(boolean value)
value
- hammock code valuepublic boolean getHammockCode()
public void setMail(String value)
value
- mail valuepublic String getMail()
public void setSection(String value)
value
- section valuepublic String getSection()
public void setManager(String value)
value
- manager valuepublic String getManager()
public void setDepartment(String value)
value
- department valuepublic String getDepartment()
public void setOverallPercentComplete(Number value)
value
- overall percent complete valuepublic Number getOverallPercentComplete()
public void setPlannedFinish(LocalDateTime value)
value
- planned finish valuepublic LocalDateTime getPlannedFinish()
public void setPlannedStart(LocalDateTime value)
value
- planned start valuepublic LocalDateTime getPlannedStart()
public void setPlannedDuration(Duration value)
value
- planned duration valuepublic Duration getPlannedDuration()
public void setPlannedWork(Duration value)
value
- planned work valuepublic Duration getPlannedWork()
public void setPlannedCost(Number value)
value
- planned cost valuepublic Number getPlannedCost()
public void setSuspendDate(LocalDateTime value)
value
- suspend date valuepublic LocalDateTime getSuspendDate()
public void setPrimaryResourceID(Integer value)
value
- primary resource IDpublic Integer getPrimaryResourceID()
public void setActivityID(String value)
value
- activity ID valuepublic String getCanonicalActivityID()
public String getActivityID()
public void setPercentCompleteType(PercentCompleteType value)
value
- percent complete typepublic PercentCompleteType getPercentCompleteType()
public ActivityStatus getActivityStatus()
public void setActivityStatus(ActivityStatus value)
value
- activity statuspublic ActivityType getActivityType()
public void setActivityType(ActivityType value)
value
- activity typepublic boolean getLongestPath()
public void setLongestPath(boolean value)
value
- true if part of the longest pathpublic LocalDateTime getExternalEarlyStart()
public void setExternalEarlyStart(LocalDateTime value)
value
- external early start datepublic LocalDateTime getExternalLateFinish()
public void setExternalLateFinish(LocalDateTime value)
value
- external late finish datepublic Integer getSprintID()
public void setSprintID(Integer value)
value
- sprint IDpublic Integer getBoardStatusID()
public void setBoardStatusID(Integer value)
value
- board status IDpublic boolean getResponsePending()
public void setResponsePending(boolean value)
value
- response pending flag valuepublic LocalDateTime getScheduledStart()
public void setScheduledStart(LocalDateTime value)
value
- scheduled start valuepublic LocalDateTime getScheduledFinish()
public void setScheduledFinish(LocalDateTime value)
value
- scheduled finish valuepublic Duration getScheduledDuration()
public void setScheduledDuration(Duration value)
value
- scheduled duration valuepublic Number getBudgetCost()
public void setBudgetCost(Number value)
value
- budget cost valuepublic Duration getBudgetWork()
public void setBudgetWork(Duration value)
value
- budget work valuepublic Number getBaselineBudgetCost()
public void setBaselineBudgetCost(Number value)
value
- baseline budget cost valuepublic Duration getBaselineBudgetWork()
public void setBaselineBudgetWork(Duration value)
value
- baseline budget work valuepublic Number getBaselineBudgetCost(int baselineNumber)
baselineNumber
- baseline numberpublic void setBaselineBudgetCost(int baselineNumber, Number value)
baselineNumber
- baseline numbervalue
- baseline budget cost valuepublic Duration getBaselineBudgetWork(int baselineNumber)
baselineNumber
- baseline numberpublic void setBaselineBudgetWork(int baselineNumber, Duration value)
baselineNumber
- baseline numbervalue
- baseline budget work valuepublic void setSequenceNumber(Integer sequenceNumber)
sequenceNumber
- task sequence numberpublic Integer getSequenceNumber()
public void setSteps(List<Step> steps)
steps
- list of stepspublic Integer getLocationUniqueID()
public void setLocationUniqueID(Integer uniqueID)
uniqueID
- location unique IDpublic Location getLocation()
public void setLocation(Location location)
location
- locationpublic String getBarName()
public void setBarName(String value)
value
- bar namepublic LocalDateTime getExpectedFinish()
public void setExpectedFinish(LocalDateTime value)
value
- expected finish datepublic void setActualWorkLabor(Duration value)
value
- work valuepublic Duration getActualWorkLabor()
public void setActualWorkNonlabor(Duration value)
value
- work valuepublic Duration getActualWorkNonlabor()
public void setPlannedWorkLabor(Duration value)
value
- work valuepublic Duration getPlannedWorkLabor()
public void setPlannedWorkNonlabor(Duration value)
value
- work valuepublic Duration getPlannedWorkNonlabor()
public void setRemainingWorkLabor(Duration value)
value
- work valuepublic Duration getRemainingWorkLabor()
public void setRemainingWorkNonlabor(Duration value)
value
- work valuepublic Duration getRemainingWorkNonlabor()
public boolean getShowStartText()
public boolean getShowFinishText()
public boolean getShowDurationText()
public Number getActivityPercentComplete()
public ProjectCalendar getEffectiveCalendar()
public Task getBaselineTask()
public Task getBaselineTask(int index)
index
- baseline indexpublic boolean isPredecessor(Task task)
task
- potential predecessor task@Deprecated public boolean isSucessor(Task task)
task
- potential successor taskpublic boolean isSuccessor(Task task)
task
- potential successor taskpublic boolean hasChildTasks()
public final ProjectFile getParentFile()
Copyright © 2000–2024 Packwood Software. All rights reserved.