|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.Task
public final class Task
This class represents a task record from an project file.
| Method Summary | |
|---|---|
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 |
addFieldListener(FieldListener listener)
Add a listener to receive field events. |
Relation |
addPredecessor(Task targetTask,
RelationType type,
Duration lag)
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. |
void |
disableEvents()
Disable events firing when fields are updated. |
void |
enableEvents()
Enable events firing when fields are updated. |
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. |
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. |
Date |
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. |
Date |
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 |
getActualWorkProtected()
Retrieves the actual work protected value. |
Number |
getACWP()
Retrieve the ACWP value. |
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. |
Date |
getBaselineFinish()
The Baseline Finish field shows the planned completion date for a task at the time you saved a baseline. |
Date |
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. |
Date |
getBaselineStart()
The Baseline Start field shows the planned beginning date for a task at the time you saved a baseline. |
Date |
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. |
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. |
Object |
getCachedValue(FieldType field)
Retrieve a field value. |
ProjectCalendar |
getCalendar()
Retrieves the base calendar instance associated with this task. |
List<Task> |
getChildTasks()
This method retrieves a list of child tasks relative to the current task, as defined by the outine level. |
Date |
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. |
Date |
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 |
getCost1()
The Cost1-10 fields show any custom task cost information you want to enter in your project. |
Number |
getCost10()
Retrieves a cost. |
Number |
getCost2()
The Cost1-10 fields show any custom task cost information you want to enter in your project. |
Number |
getCost3()
The Cost1-10 fields show any custom task cost information you want to enter in your project. |
Number |
getCost4()
Retrieves a cost. |
Number |
getCost5()
Retrieves a cost. |
Number |
getCost6()
Retrieves a cost. |
Number |
getCost7()
Retrieves a cost. |
Number |
getCost8()
Retrieves a cost. |
Number |
getCost9()
Retrieves a cost. |
Number |
getCostVariance()
The Cost Variance field shows the difference between the baseline cost and total cost for a task. |
Date |
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. |
Object |
getCurrentValue(FieldType field)
Retrieve a field value. |
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. |
Date |
getDate1()
Retrieves a date value. |
Date |
getDate10()
Retrieves a date value. |
Date |
getDate2()
Retrieves a date value. |
Date |
getDate3()
Retrieves a date value. |
Date |
getDate4()
Retrieves a date value. |
Date |
getDate5()
Retrieves a date value. |
Date |
getDate6()
Retrieves a date value. |
Date |
getDate7()
Retrieves a date value. |
Date |
getDate8()
Retrieves a date value. |
Date |
getDate9()
Retrieves a date value. |
Date |
getDeadline()
This method retrieves the deadline for this task. |
Duration |
getDuration()
The Duration field is the total span of active working time for a task. |
Duration |
getDuration1()
The Duration1 through Duration10 fields are custom fields that show any specialized task duration information you want to enter and store separately in your project. |
Duration |
getDuration10()
Retrieves a duration. |
Duration |
getDuration2()
The Duration1 through Duration10 fields are custom fields that show any specialized task duration information you want to enter and store separately in your project. |
Duration |
getDuration3()
The Duration1 through Duration10 fields are custom fields that show any specialized task duration information you want to enter and store separately in your project. |
Duration |
getDuration4()
Retrieves a duration. |
Duration |
getDuration5()
Retrieves a duration. |
Duration |
getDuration6()
Retrieves a duration. |
Duration |
getDuration7()
Retrieves a duration. |
Duration |
getDuration8()
Retrieves a duration. |
Duration |
getDuration9()
Retrieves a duration. |
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. |
Date |
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. |
Date |
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. |
boolean |
getEffortDriven()
Retrieves the effort driven flag. |
Number |
getEnterpriseCost(int index)
Retrieve an enterprise field value. |
Date |
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. |
boolean |
getExpanded()
Retrieve a flag indicating if the task is shown as expanded in MS Project. |
boolean |
getExternalTask()
Retrieves the external task flag. |
String |
getExternalTaskProject()
Retrieves the external task project file name. |
Object |
getFieldByAlias(String alias)
Retrieve the value of a field using its alias. |
Date |
getFinish()
The Finish field shows the date and time that a task is scheduled to be completed. |
Date |
getFinish1()
The Finish1 through Finish10 fields are custom fields that show any specific task finish date information you want to enter and store separately in your project. |
Date |
getFinish10()
Retrieves a finish date. |
Date |
getFinish2()
The Finish1 through Finish10 fields are custom fields that show any specific task finish date information you want to enter and store separately in your project. |
Date |
getFinish3()
The Finish1 through Finish10 fields are custom fields that show any specific task finish date information you want to enter and store separately in your project. |
Date |
getFinish4()
The Finish1 through Finish10 fields are custom fields that show any specific task finish date information you want to enter and store separately in your project. |
Date |
getFinish5()
The Finish1 through Finish10 fields are custom fields that show any specific task finish date information you want to enter and store separately in your project. |
Date |
getFinish6()
Retrieves a finish date. |
Date |
getFinish7()
Retrieves a finish date. |
Date |
getFinish8()
Retrieves a finish date. |
Date |
getFinish9()
Retrieves a finish date. |
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 |
getFlag1()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag10()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag11()
Retrieves the flag value. |
boolean |
getFlag12()
Retrieves the flag value. |
boolean |
getFlag13()
Retrieves the flag value. |
boolean |
getFlag14()
Retrieves the flag value. |
boolean |
getFlag15()
Retrieves the flag value. |
boolean |
getFlag16()
Retrieves the flag value. |
boolean |
getFlag17()
Retrieves the flag value. |
boolean |
getFlag18()
Retrieves the flag value. |
boolean |
getFlag19()
Retrieves the flag value. |
boolean |
getFlag2()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag20()
Retrieves the flag value. |
boolean |
getFlag3()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag4()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag5()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag6()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag7()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag8()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
boolean |
getFlag9()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. |
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 |
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 |
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 celandar flag. |
Date |
getLateFinish()
The Late Finish field contains the latest date that a task can finish without delaying the finish of the project. |
Date |
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. |
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 |
getName()
Retrieves the task name. |
String |
getNotes()
The Notes field contains notes that you can enter about a task. |
boolean |
getNull()
Retrieves the flag indicating if this is a null task. |
Number |
getNumber1()
Retrieves a numeric value. |
Number |
getNumber10()
Retrieves a numeric value. |
Number |
getNumber11()
Retrieves a numeric value. |
Number |
getNumber12()
Retrieves a numeric value. |
Number |
getNumber13()
Retrieves a numeric value. |
Number |
getNumber14()
Retrieves a numeric value. |
Number |
getNumber15()
Retrieves a numeric value. |
Number |
getNumber16()
Retrieves a numeric value. |
Number |
getNumber17()
Retrieves a numeric value. |
Number |
getNumber18()
Retrieves a numeric value. |
Number |
getNumber19()
Retrieves a numeric value. |
Number |
getNumber2()
Retrieves a numeric value. |
Number |
getNumber20()
Retrieves a numeric value. |
Number |
getNumber3()
Retrieves a numeric value. |
Number |
getNumber4()
Retrieves a numeric value. |
Number |
getNumber5()
Retrieves a numeric value. |
Number |
getNumber6()
Retrieves a numeric value. |
Number |
getNumber7()
Retrieves a numeric value. |
Number |
getNumber8()
Retrieves a numeric value. |
Number |
getNumber9()
Retrieves a numeric value. |
Integer |
getObjects()
The Objects field contains the number of objects attached to a task. |
String |
getOutlineCode1()
Retrieves the value of an outline code field. |
String |
getOutlineCode10()
Retrieves the value of an outline code field. |
String |
getOutlineCode2()
Retrieves the value of an outline code field. |
String |
getOutlineCode3()
Retrieves the value of an outline code field. |
String |
getOutlineCode4()
Retrieves the value of an outline code field. |
String |
getOutlineCode5()
Retrieves the value of an outline code field. |
String |
getOutlineCode6()
Retrieves the value of an outline code field. |
String |
getOutlineCode7()
Retrieves the value of an outline code field. |
String |
getOutlineCode8()
Retrieves the value of an outline code field. |
String |
getOutlineCode9()
Retrieves the value of an outline code field. |
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 |
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. |
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. |
Integer |
getPhysicalPercentComplete()
Retrieves the physical percent complete value. |
List<Relation> |
getPredecessors()
Retrieves the list of predecessors for this task. |
Date |
getPreleveledFinish()
Retrieves the preleveled finish attribute. |
Date |
getPreleveledStart()
Retrieves the preleveled start attribute. |
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. |
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. |
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. |
Date |
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. |
Date |
getSplitCompleteDuration()
Task splits contain the time up to which the splits are completed. |
List<DateRange> |
getSplits()
This method retrieves a list of task splits. |
Date |
getStart()
The Start field shows the date and time that a task is scheduled to begin. |
Date |
getStart1()
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
Date |
getStart10()
Retrieves a start date. |
Date |
getStart2()
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
Date |
getStart3()
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
Date |
getStart4()
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
Date |
getStart5()
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
Date |
getStart6()
Retrieves a start date. |
Date |
getStart7()
Retrieves a start date. |
Date |
getStart8()
Retrieves a start date. |
Date |
getStart9()
Retrieves a start date. |
Duration |
getStartSlack()
Retrieve the start slack. |
String |
getStartText()
Retrieve the start text for a manually scheduled task. |
Duration |
getStartVariance()
Calculate the start variance. |
Date |
getStop()
The Stop field shows the date that represents the end of the actual portion of a task. |
SubProject |
getSubProject()
Retrieve the sub project represented by this task. |
String |
getSubprojectName()
Contains the file name and path of the sub project represented by the current task. |
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 succesors for this task. |
boolean |
getSummary()
The Summary field indicates whether a task is a summary task. |
Date |
getSummaryProgress()
Retrieve the summary progress date. |
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 |
getText1()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText10()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText11()
Retrieves a text value. |
String |
getText12()
Retrieves a text value. |
String |
getText13()
Retrieves a text value. |
String |
getText14()
Retrieves a text value. |
String |
getText15()
Retrieves a text value. |
String |
getText16()
Retrieves a text value. |
String |
getText17()
Retrieves a text value. |
String |
getText18()
Retrieves a text value. |
String |
getText19()
Retrieves a text value. |
String |
getText2()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText20()
Retrieves a text value. |
String |
getText21()
Retrieves a text value. |
String |
getText22()
Retrieves a text value. |
String |
getText23()
Retrieves a text value. |
String |
getText24()
Retrieves a text value. |
String |
getText25()
Retrieves a text value. |
String |
getText26()
Retrieves a text value. |
String |
getText27()
Retrieves a text value. |
String |
getText28()
Retrieves a text value. |
String |
getText29()
Retrieves a text value. |
String |
getText3()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText30()
Retrieves a text value. |
String |
getText4()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText5()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText6()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText7()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText8()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
String |
getText9()
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
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. |
String |
getWBSLevel()
Retrieve the WBS level. |
Duration |
getWork()
The Work field shows the total amount of work scheduled to be performed on a task by all assigned resources. |
Duration |
getWorkVariance()
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work. |
boolean |
isPredecessor(Task task)
Utility method used to determine if the supplied task is a predecessor of the current task. |
boolean |
isSucessor(Task task)
Utility method used to determine if the supplied task is a successor of the current task. |
void |
remove()
Removes this task from the project. |
void |
removeChildTask(Task child)
Removes a child task. |
void |
removeFieldListener(FieldListener listener)
Remove a listener. |
boolean |
removePredecessor(Task targetTask,
RelationType type,
Duration lag)
This method allows a predecessor relationship to be removed from this task instance. |
void |
set(FieldType field,
Object value)
Set a field value. |
void |
setActive(boolean active)
Sets the active flag. |
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(Date 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(Date 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 |
setActualWorkProtected(Duration actualWorkProtected)
Sets the actual work protected value. |
void |
setACWP(Number acwp)
Set the ACWP value. |
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 |
setBaselineFinish(Date val)
The Baseline Finish field shows the planned completion date for a task at the time you saved a baseline. |
void |
setBaselineFinish(int baselineNumber,
Date value)
Set a baseline value. |
void |
setBaselineFinishText(int baselineNumber,
String value)
Sets the baseline finish text value. |
void |
setBaselineFinishText(String value)
Sets the baseline finish text value. |
void |
setBaselineStart(Date val)
The Baseline Start field shows the planned beginning date for a task at the time you saved a baseline. |
void |
setBaselineStart(int baselineNumber,
Date value)
Set a baseline value. |
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 |
setCalendar(ProjectCalendar calendar)
Sets the name of the base calendar associated with this task. |
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(Date 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(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 |
setCost1(Number val)
The Cost1-10 fields show any custom task cost information you want to enter in your project. |
void |
setCost10(Number number)
Sets a cost value. |
void |
setCost2(Number val)
The Cost1-10 fields show any custom task cost information you want to enter in your project. |
void |
setCost3(Number val)
The Cost1-10 fields show any custom task cost information you want to enter in your project. |
void |
setCost4(Number number)
Sets a cost value. |
void |
setCost5(Number number)
Sets a cost value. |
void |
setCost6(Number number)
Sets a cost value. |
void |
setCost7(Number number)
Sets a cost value. |
void |
setCost8(Number number)
Sets a cost value. |
void |
setCost9(Number number)
Sets a cost value. |
void |
setCostVariance(Number val)
The Cost Variance field shows the difference between the baseline cost and total cost for a task. |
void |
setCreateDate(Date 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 |
setDate1(Date date)
Sets a date value. |
void |
setDate10(Date date)
Sets a date value. |
void |
setDate2(Date date)
Sets a date value. |
void |
setDate3(Date date)
Sets a date value. |
void |
setDate4(Date date)
Sets a date value. |
void |
setDate5(Date date)
Sets a date value. |
void |
setDate6(Date date)
Sets a date value. |
void |
setDate7(Date date)
Sets a date value. |
void |
setDate8(Date date)
Sets a date value. |
void |
setDate9(Date date)
Sets a date value. |
void |
setDeadline(Date deadline)
This method sets the deadline for this task. |
void |
setDuration(Duration val)
The Duration field is the total span of active working time for a task. |
void |
setDuration1(Duration duration)
User defined duration field. |
void |
setDuration10(Duration duration)
User defined duration field. |
void |
setDuration2(Duration duration)
User defined duration field. |
void |
setDuration3(Duration duration)
User defined duration field. |
void |
setDuration4(Duration duration)
User defined duration field. |
void |
setDuration5(Duration duration)
User defined duration field. |
void |
setDuration6(Duration duration)
User defined duration field. |
void |
setDuration7(Duration duration)
User defined duration field. |
void |
setDuration8(Duration duration)
User defined duration field. |
void |
setDuration9(Duration duration)
User defined duration field. |
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(Date 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(Date 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,
Date 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 |
setExternalTask(boolean externalTask)
Sets the external task flag. |
void |
setExternalTaskProject(String externalTaskProject)
Sets the external task project file name. |
void |
setFieldByAlias(String alias,
Object value)
Set the value of a field using its alias. |
void |
setFinish(Date date)
The Finish field shows the date and time that a task is scheduled to be completed. |
void |
setFinish1(Date date)
User defined finish date field. |
void |
setFinish10(Date date)
User defined finish date field. |
void |
setFinish2(Date date)
User defined finish date field. |
void |
setFinish3(Date date)
User defined finish date field. |
void |
setFinish4(Date date)
User defined finish date field. |
void |
setFinish5(Date date)
User defined finish date field. |
void |
setFinish6(Date date)
User defined finish date field. |
void |
setFinish7(Date date)
User defined finish date field. |
void |
setFinish8(Date date)
User defined finish date field. |
void |
setFinish9(Date date)
User defined finish date field. |
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 |
setFlag1(boolean val)
User defined flag field. |
void |
setFlag10(boolean val)
User defined flag field. |
void |
setFlag11(boolean b)
Sets the flag value. |
void |
setFlag12(boolean b)
Sets the flag value. |
void |
setFlag13(boolean b)
Sets the flag value. |
void |
setFlag14(boolean b)
Sets the flag value. |
void |
setFlag15(boolean b)
Sets the flag value. |
void |
setFlag16(boolean b)
Sets the flag value. |
void |
setFlag17(boolean b)
Sets the flag value. |
void |
setFlag18(boolean b)
Sets the flag value. |
void |
setFlag19(boolean b)
Sets the flag value. |
void |
setFlag2(boolean val)
User defined flag field. |
void |
setFlag20(boolean b)
Sets the flag value. |
void |
setFlag3(boolean val)
User defined flag field. |
void |
setFlag4(boolean val)
User defined flag field. |
void |
setFlag5(boolean val)
User defined flag field. |
void |
setFlag6(boolean val)
User defined flag field. |
void |
setFlag7(boolean val)
User defined flag field. |
void |
setFlag8(boolean val)
User defined flag field. |
void |
setFlag9(boolean val)
User defined flag field. |
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 |
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 |
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 celandar flag. |
void |
setLateFinish(Date date)
The Late Finish field contains the latest date that a task can finish without delaying the finish of the project. |
void |
setLateStart(Date 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 |
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 |
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 |
setNull(boolean isNull)
Sets the flag indicating if this is a null task. |
void |
setNumber1(Number val)
Sets a numeric value. |
void |
setNumber10(Number val)
Sets a numeric value. |
void |
setNumber11(Number val)
Sets a numeric value. |
void |
setNumber12(Number val)
Sets a numeric value. |
void |
setNumber13(Number val)
Sets a numeric value. |
void |
setNumber14(Number val)
Sets a numeric value. |
void |
setNumber15(Number val)
Sets a numeric value. |
void |
setNumber16(Number val)
Sets a numeric value. |
void |
setNumber17(Number val)
Sets a numeric value. |
void |
setNumber18(Number val)
Sets a numeric value. |
void |
setNumber19(Number val)
Sets a numeric value. |
void |
setNumber2(Number val)
Sets a numeric value. |
void |
setNumber20(Number val)
Sets a numeric value. |
void |
setNumber3(Number val)
Sets a numeric value. |
void |
setNumber4(Number val)
Sets a numeric value. |
void |
setNumber5(Number val)
Sets a numeric value. |
void |
setNumber6(Number val)
Sets a numeric value. |
void |
setNumber7(Number val)
Sets a numeric value. |
void |
setNumber8(Number val)
Sets a numeric value. |
void |
setNumber9(Number val)
Sets a numeric value. |
void |
setObjects(Integer val)
The Objects field contains the number of objects attached to a task. |
void |
setOutlineCode1(String value)
Sets the value of an outline code field. |
void |
setOutlineCode10(String value)
Sets the value of an outline code field. |
void |
setOutlineCode2(String value)
Sets the value of an outline code field. |
void |
setOutlineCode3(String value)
Sets the value of an outline code field. |
void |
setOutlineCode4(String value)
Sets the value of an outline code field. |
void |
setOutlineCode5(String value)
Sets the value of an outline code field. |
void |
setOutlineCode6(String value)
Sets the value of an outline code field. |
void |
setOutlineCode7(String value)
Sets the value of an outline code field. |
void |
setOutlineCode8(String value)
Sets the value of an outline code field. |
void |
setOutlineCode9(String value)
Sets the value of an outline code field. |
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 |
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 |
setPhysicalPercentComplete(Integer physicalPercentComplete)
Srts the physical percent complete value. |
void |
setPreleveledFinish(Date date)
Sets the preleveled finish attribute. |
void |
setPreleveledStart(Date date)
Sets the preleveled start attribute. |
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 |
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 |
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 |
setResume(Date 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 |
setSplitCompleteDuration(Date splitsComplete)
Set the time up to which the splits are completed. |
void |
setSplits(List<DateRange> splits)
Internal method used to set the list of splits. |
void |
setStart(Date val)
The Start field shows the date and time that a task is scheduled to begin. |
void |
setStart1(Date val)
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
void |
setStart10(Date date)
Sets a start date. |
void |
setStart2(Date val)
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
void |
setStart3(Date val)
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
void |
setStart4(Date val)
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
void |
setStart5(Date val)
The Start1 through Start10 fields are custom fields that show any specific task start date information you want to enter and store separately in your project. |
void |
setStart6(Date date)
Sets a start date. |
void |
setStart7(Date date)
Sets a start date. |
void |
setStart8(Date date)
Sets a start date. |
void |
setStart9(Date date)
Sets a start date. |
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 |
setStop(Date val)
The Stop field shows the date that represents the end of the actual portion of a task. |
void |
setSubProject(SubProject subProject)
Set the sub project represented by this task. |
void |
setSubprojectName(String val)
The Subproject File field contains the name of a project inserted into the active project file. |
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(Date value)
Set the summary progress date. |
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 |
setText1(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText10(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText11(String string)
Sets a text value. |
void |
setText12(String string)
Sets a text value. |
void |
setText13(String string)
Sets a text value. |
void |
setText14(String string)
Sets a text value. |
void |
setText15(String string)
Sets a text value. |
void |
setText16(String string)
Sets a text value. |
void |
setText17(String string)
Sets a text value. |
void |
setText18(String string)
Sets a text value. |
void |
setText19(String string)
Sets a text value. |
void |
setText2(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText20(String string)
Sets a text value. |
void |
setText21(String string)
Sets a text value. |
void |
setText22(String string)
Sets a text value. |
void |
setText23(String string)
Sets a text value. |
void |
setText24(String string)
Sets a text value. |
void |
setText25(String string)
Sets a text value. |
void |
setText26(String string)
Sets a text value. |
void |
setText27(String string)
Sets a text value. |
void |
setText28(String string)
Sets a text value. |
void |
setText29(String string)
Sets a text value. |
void |
setText3(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText30(String string)
Sets a text value. |
void |
setText4(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText5(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText6(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText7(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText8(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
void |
setText9(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks. |
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 |
setWBSLevel(String wbsLevel)
Set the WBS level. |
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 |
setWorkVariance(Duration val)
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void generateWBS(Task parent)
parent - Parent Taskpublic void generateOutlineNumber(Task parent)
parent - Parent Taskpublic void setNotes(String notes)
notes - notes to be addedpublic Task addTask()
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 removeChildTask(Task child)
child - child task instancepublic void clearChildTasks()
public RecurringTask addRecurringTask()
public RecurringTask getRecurringTask()
public ResourceAssignment addResourceAssignment(Resource resource)
resource - the resource to assign
public void addResourceAssignment(ResourceAssignment assignment)
assignment - resource assignmentpublic List<ResourceAssignment> getResourceAssignments()
public Relation addPredecessor(Task targetTask,
RelationType type,
Duration lag)
targetTask - the predecessor tasktype - relation typelag - relation lag
public 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(Date val)
val - value to be setpublic void setActualStart(Date 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(Date val)
val - Date to be setpublic void setBaselineStart(Date 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(Date val)
val - Date to be setpublic void setConstraintType(ConstraintType type)
type - string constraint typepublic void setContact(String val)
val - value to be setpublic void setCost(Number val)
val - amountpublic void setCost1(Number val)
val - amountpublic void setCost2(Number val)
val - amountpublic void setCost3(Number val)
val - amountpublic void setCostVariance(Number val)
val - amountpublic void setCreateDate(Date 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 setDuration1(Duration duration)
duration - Duration valuepublic void setDuration2(Duration duration)
duration - Duration valuepublic void setDuration3(Duration duration)
duration - Duration valuepublic void setDurationVariance(Duration duration)
duration - duration valuepublic void setEarlyFinish(Date date)
date - Date valuepublic void setEarlyStart(Date date)
date - Date valuepublic void setFinish(Date date)
date - Date valuepublic void setFinishText(String val)
val - textpublic void setFinish1(Date date)
date - Date valuepublic void setFinish2(Date date)
date - Date valuepublic void setFinish3(Date date)
date - Date valuepublic void setFinish4(Date date)
date - Date valuepublic void setFinish5(Date date)
date - Date valuepublic void setFinishVariance(Duration duration)
duration - duration valuepublic void setFixedCost(Number val)
val - amountpublic void setFlag1(boolean val)
val - boolean valuepublic void setFlag2(boolean val)
val - boolean valuepublic void setFlag3(boolean val)
val - boolean valuepublic void setFlag4(boolean val)
val - boolean valuepublic void setFlag5(boolean val)
val - boolean valuepublic void setFlag6(boolean val)
val - boolean valuepublic void setFlag7(boolean val)
val - boolean valuepublic void setFlag8(boolean val)
val - boolean valuepublic void setFlag9(boolean val)
val - boolean valuepublic void setFlag10(boolean val)
val - boolean valuepublic void setFreeSlack(Duration duration)
duration - duration valuepublic void setHideBar(boolean flag)
flag - boolean valuepublic void setID(Integer val)
val - IDpublic void setLateFinish(Date date)
date - date valuepublic void setLateStart(Date date)
date - date valuepublic 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 setNumber1(Number val)
val - Numeric valuepublic void setNumber2(Number val)
val - Numeric valuepublic void setNumber3(Number val)
val - Numeric valuepublic void setNumber4(Number val)
val - Numeric valuepublic void setNumber5(Number val)
val - Numeric valuepublic 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(Date val)
val - - Datepublic void setRollup(boolean val)
val - - booleanpublic void setStart(Date val)
val - - Datepublic void setStartText(String val)
val - textpublic void setStart1(Date val)
val - - Datepublic void setStart2(Date val)
val - - Datepublic void setStart3(Date val)
val - - Datepublic void setStart4(Date val)
val - - Datepublic void setStart5(Date val)
val - - Datepublic void setStartVariance(Duration val)
val - - durationpublic void setStop(Date val)
val - - Datepublic void setSubprojectName(String val)
val - - Stringpublic void setSummary(boolean val)
val - - booleanpublic void setSV(Number val)
val - - currency amountpublic void setText1(String val)
val - - Stringpublic void setText2(String val)
val - - Stringpublic void setText3(String val)
val - - Stringpublic void setText4(String val)
val - - Stringpublic void setText5(String val)
val - - Stringpublic void setText6(String val)
val - - Stringpublic void setText7(String val)
val - - Stringpublic void setText8(String val)
val - - Stringpublic void setText9(String val)
val - - Stringpublic void setText10(String val)
val - - Stringpublic void setTotalSlack(Duration val)
val - - durationpublic void setUniqueID(Integer val)
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 Date getActualFinish()
public Date getActualStart()
public Duration getActualWork()
public Number getBaselineCost()
public Duration getBaselineDuration()
public String getBaselineDurationText()
public void setBaselineDurationText(String value)
value - baseline duration textpublic Date getBaselineFinish()
public String getBaselineFinishText()
public void setBaselineFinishText(String value)
value - baseline finish textpublic Date 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 Date getConstraintDate()
public ConstraintType getConstraintType()
public String getContact()
public Number getCost()
public Number getCost1()
public Number getCost2()
public Number getCost3()
public Number getCostVariance()
public Date getCreateDate()
public boolean getCritical()
public Number getCV()
public Duration getLevelingDelay()
public Duration getDuration()
public String getDurationText()
public Duration getDuration1()
public Duration getDuration2()
public Duration getDuration3()
public Duration getDurationVariance()
public Date getEarlyFinish()
public Date getEarlyStart()
public Date getFinish()
public String getFinishText()
public Date getFinish1()
public Date getFinish2()
public Date getFinish3()
public Date getFinish4()
public Date getFinish5()
public Duration getFinishVariance()
public Number getFixedCost()
public boolean getFlag1()
public boolean getFlag2()
public boolean getFlag3()
public boolean getFlag4()
public boolean getFlag5()
public boolean getFlag6()
public boolean getFlag7()
public boolean getFlag8()
public boolean getFlag9()
public boolean getFlag10()
public Duration getFreeSlack()
public boolean getHideBar()
public Integer getID()
public Date getLateFinish()
public Date getLateStart()
public boolean getLinkedFields()
public boolean getMarked()
public boolean getMilestone()
public String getName()
public String getNotes()
public Number getNumber1()
public Number getNumber2()
public Number getNumber3()
public Number getNumber4()
public Number getNumber5()
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 Date getResume()
public boolean getRollup()
public Date getStart()
public String getStartText()
public Date getStart1()
public Date getStart2()
public Date getStart3()
public Date getStart4()
public Date getStart5()
public Duration getStartVariance()
public Date getStop()
public String getSubprojectName()
public boolean getSummary()
public Number getSV()
public String getText1()
public String getText2()
public String getText3()
public String getText4()
public String getText5()
public String getText6()
public String getText7()
public String getText8()
public String getText9()
public String getText10()
public Duration getTotalSlack()
public Integer getUniqueID()
public boolean getUpdateNeeded()
public String getWBS()
public Duration getWork()
public Duration getWorkVariance()
public Task getParentTask()
public List<Task> getChildTasks()
public int compareTo(Task o)
compareTo in interface Comparable<Task>o - object to compare this instance with
public boolean getEstimated()
public void setEstimated(boolean estimated)
estimated - Boolean flagpublic Date getDeadline()
public void setDeadline(Date deadline)
deadline - deadline datepublic TaskType getType()
public void setType(TaskType type)
type - task typepublic boolean getNull()
public void setNull(boolean isNull)
isNull - boolean flagpublic String getWBSLevel()
public void setWBSLevel(String wbsLevel)
wbsLevel - WBS levelpublic 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 String getExternalTaskProject()
public void setExternalTaskProject(String externalTaskProject)
externalTaskProject - external task project file namepublic 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 celandar flagpublic Integer getPhysicalPercentComplete()
public void setPhysicalPercentComplete(Integer 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 boolean getFlag11()
public boolean getFlag12()
public boolean getFlag13()
public boolean getFlag14()
public boolean getFlag15()
public boolean getFlag16()
public boolean getFlag17()
public boolean getFlag18()
public boolean getFlag19()
public boolean getFlag20()
public void setFlag11(boolean b)
b - flag valuepublic void setFlag12(boolean b)
b - flag valuepublic void setFlag13(boolean b)
b - flag valuepublic void setFlag14(boolean b)
b - flag valuepublic void setFlag15(boolean b)
b - flag valuepublic void setFlag16(boolean b)
b - flag valuepublic void setFlag17(boolean b)
b - flag valuepublic void setFlag18(boolean b)
b - flag valuepublic void setFlag19(boolean b)
b - flag valuepublic void setFlag20(boolean b)
b - flag valuepublic void setEffortDriven(boolean flag)
flag - valuepublic boolean getEffortDriven()
public String getText11()
public String getText12()
public String getText13()
public String getText14()
public String getText15()
public String getText16()
public String getText17()
public String getText18()
public String getText19()
public String getText20()
public String getText21()
public String getText22()
public String getText23()
public String getText24()
public String getText25()
public String getText26()
public String getText27()
public String getText28()
public String getText29()
public String getText30()
public void setText11(String string)
string - Text valuepublic void setText12(String string)
string - Text valuepublic void setText13(String string)
string - Text valuepublic void setText14(String string)
string - Text valuepublic void setText15(String string)
string - Text valuepublic void setText16(String string)
string - Text valuepublic void setText17(String string)
string - Text valuepublic void setText18(String string)
string - Text valuepublic void setText19(String string)
string - Text valuepublic void setText20(String string)
string - Text valuepublic void setText21(String string)
string - Text valuepublic void setText22(String string)
string - Text valuepublic void setText23(String string)
string - Text valuepublic void setText24(String string)
string - Text valuepublic void setText25(String string)
string - Text valuepublic void setText26(String string)
string - Text valuepublic void setText27(String string)
string - Text valuepublic void setText28(String string)
string - Text valuepublic void setText29(String string)
string - Text valuepublic void setText30(String string)
string - Text valuepublic void setNumber6(Number val)
val - Numeric valuepublic Number getNumber6()
public void setNumber7(Number val)
val - Numeric valuepublic Number getNumber7()
public void setNumber8(Number val)
val - Numeric valuepublic Number getNumber8()
public void setNumber9(Number val)
val - Numeric valuepublic Number getNumber9()
public void setNumber10(Number val)
val - Numeric valuepublic Number getNumber10()
public void setNumber11(Number val)
val - Numeric valuepublic Number getNumber11()
public void setNumber12(Number val)
val - Numeric valuepublic Number getNumber12()
public void setNumber13(Number val)
val - Numeric valuepublic Number getNumber13()
public void setNumber14(Number val)
val - Numeric valuepublic Number getNumber14()
public void setNumber15(Number val)
val - Numeric valuepublic Number getNumber15()
public void setNumber16(Number val)
val - Numeric valuepublic Number getNumber16()
public void setNumber17(Number val)
val - Numeric valuepublic Number getNumber17()
public void setNumber18(Number val)
val - Numeric valuepublic Number getNumber18()
public void setNumber19(Number val)
val - Numeric valuepublic Number getNumber19()
public void setNumber20(Number val)
val - Numeric valuepublic Number getNumber20()
public Duration getDuration10()
public Duration getDuration4()
public Duration getDuration5()
public Duration getDuration6()
public Duration getDuration7()
public Duration getDuration8()
public Duration getDuration9()
public void setDuration10(Duration duration)
duration - Duration valuepublic void setDuration4(Duration duration)
duration - Duration valuepublic void setDuration5(Duration duration)
duration - Duration valuepublic void setDuration6(Duration duration)
duration - Duration valuepublic void setDuration7(Duration duration)
duration - Duration valuepublic void setDuration8(Duration duration)
duration - Duration valuepublic void setDuration9(Duration duration)
duration - Duration valuepublic Date getDate1()
public Date getDate10()
public Date getDate2()
public Date getDate3()
public Date getDate4()
public Date getDate5()
public Date getDate6()
public Date getDate7()
public Date getDate8()
public Date getDate9()
public void setDate1(Date date)
date - Date valuepublic void setDate10(Date date)
date - Date valuepublic void setDate2(Date date)
date - Date valuepublic void setDate3(Date date)
date - Date valuepublic void setDate4(Date date)
date - Date valuepublic void setDate5(Date date)
date - Date valuepublic void setDate6(Date date)
date - Date valuepublic void setDate7(Date date)
date - Date valuepublic void setDate8(Date date)
date - Date valuepublic void setDate9(Date date)
date - Date valuepublic Number getCost10()
public Number getCost4()
public Number getCost5()
public Number getCost6()
public Number getCost7()
public Number getCost8()
public Number getCost9()
public void setCost10(Number number)
number - Cost valuepublic void setCost4(Number number)
number - Cost valuepublic void setCost5(Number number)
number - Cost valuepublic void setCost6(Number number)
number - Cost valuepublic void setCost7(Number number)
number - Cost valuepublic void setCost8(Number number)
number - Cost valuepublic void setCost9(Number number)
number - Cost valuepublic Date getStart10()
public Date getStart6()
public Date getStart7()
public Date getStart8()
public Date getStart9()
public void setStart10(Date date)
date - Start datepublic void setStart6(Date date)
date - Start datepublic void setStart7(Date date)
date - Start datepublic void setStart8(Date date)
date - Start datepublic void setStart9(Date date)
date - Start datepublic Date getFinish10()
public Date getFinish6()
public Date getFinish7()
public Date getFinish8()
public Date getFinish9()
public void setFinish10(Date date)
date - Date valuepublic void setFinish6(Date date)
date - Date valuepublic void setFinish7(Date date)
date - Date valuepublic void setFinish8(Date date)
date - Date valuepublic void setFinish9(Date date)
date - Date valuepublic Number getOvertimeCost()
public void setOvertimeCost(Number number)
number - Cost valuepublic void setOutlineCode1(String value)
value - outline code valuepublic String getOutlineCode1()
public void setOutlineCode2(String value)
value - outline code valuepublic String getOutlineCode2()
public void setOutlineCode3(String value)
value - outline code valuepublic String getOutlineCode3()
public void setOutlineCode4(String value)
value - outline code valuepublic String getOutlineCode4()
public void setOutlineCode5(String value)
value - outline code valuepublic String getOutlineCode5()
public void setOutlineCode6(String value)
value - outline code valuepublic String getOutlineCode6()
public void setOutlineCode7(String value)
value - outline code valuepublic String getOutlineCode7()
public void setOutlineCode8(String value)
value - outline code valuepublic String getOutlineCode8()
public void setOutlineCode9(String value)
value - outline code valuepublic String getOutlineCode9()
public void setOutlineCode10(String value)
value - outline code valuepublic String getOutlineCode10()
public 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 void setHyperlink(String text)
text - hyperlink attributepublic void setHyperlinkAddress(String text)
text - hyperlink address attributepublic void setHyperlinkSubAddress(String text)
text - hyperlink sub address 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 Date getPreleveledStart()
public Date getPreleveledFinish()
public void setPreleveledStart(Date date)
date - preleveled start attributepublic void setPreleveledFinish(Date 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 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 alias
public void setFieldByAlias(String alias,
Object value)
alias - field aliasvalue - field valuepublic List<DateRange> getSplits()
public void setSplits(List<DateRange> splits)
splits - list of split timespublic Date getSplitCompleteDuration()
public void setSplitCompleteDuration(Date splitsComplete)
splitsComplete - Duration of completed time for the splits.public void remove()
public SubProject getSubProject()
public void setSubProject(SubProject subProject)
subProject - sub projectpublic Number getEnterpriseCost(int index)
index - field index
public void setEnterpriseCost(int index,
Number value)
index - field indexvalue - field valuepublic Date getEnterpriseDate(int index)
index - field index
public void setEnterpriseDate(int index,
Date value)
index - field indexvalue - field valuepublic Duration getEnterpriseDuration(int index)
index - field index
public void setEnterpriseDuration(int index,
Duration value)
index - field indexvalue - field valuepublic boolean getEnterpriseFlag(int index)
index - field index
public void setEnterpriseFlag(int index,
boolean value)
index - field indexvalue - field valuepublic Number getEnterpriseNumber(int index)
index - field index
public void setEnterpriseNumber(int index,
Number value)
index - field indexvalue - field valuepublic String getEnterpriseText(int index)
index - field index
public void setEnterpriseText(int index,
String value)
index - field indexvalue - field value
public void setBaselineCost(int baselineNumber,
Number value)
baselineNumber - baseline index (1-10)value - baseline value
public void setBaselineDuration(int baselineNumber,
Duration value)
baselineNumber - baseline index (1-10)value - baseline value
public void setBaselineFinish(int baselineNumber,
Date value)
baselineNumber - baseline index (1-10)value - baseline value
public void setBaselineStart(int baselineNumber,
Date value)
baselineNumber - baseline index (1-10)value - baseline value
public 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 number
public void setBaselineDurationText(int baselineNumber,
String value)
baselineNumber - baseline numbervalue - baseline duration text valuepublic Date getBaselineFinish(int baselineNumber)
baselineNumber - baseline index (1-10)
public String getBaselineFinishText(int baselineNumber)
baselineNumber - baseline number
public void setBaselineFinishText(int baselineNumber,
String value)
baselineNumber - baseline numbervalue - baseline finish text valuepublic Date getBaselineStart(int baselineNumber)
baselineNumber - baseline index (1-10)
public String getBaselineStartText(int baselineNumber)
baselineNumber - baseline number
public void setBaselineStartText(int baselineNumber,
String value)
baselineNumber - baseline numbervalue - baseline start text valuepublic Duration getBaselineWork(int baselineNumber)
baselineNumber - baseline index (1-10)
public Date getCompleteThrough()
public Date getSummaryProgress()
public void setSummaryProgress(Date 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 value
public boolean removePredecessor(Task targetTask,
RelationType type,
Duration lag)
targetTask - the predecessor tasktype - relation typelag - relation lag
public Object getCachedValue(FieldType field)
getCachedValue in interface FieldContainerfield - field identifier
public Object getCurrentValue(FieldType field)
getCurrentValue in interface FieldContainerfield - field identifier
public void set(FieldType field,
Object value)
set in interface FieldContainerfield - field identifiervalue - field valuepublic void addFieldListener(FieldListener listener)
addFieldListener in interface FieldContainerlistener - target listenerpublic void removeFieldListener(FieldListener listener)
removeFieldListener in interface FieldContainerlistener - target listenerpublic String toString()
toString in class Objectpublic boolean isPredecessor(Task task)
task - potential predecessor task
public boolean isSucessor(Task task)
task - potential successor task
public void disableEvents()
public void enableEvents()
public final ProjectFile getParentFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||