net.sf.mpxj
Class Task

java.lang.Object
  extended by net.sf.mpxj.Task
All Implemented Interfaces:
Comparable<Task>, FieldContainer

public final class Task
extends Object
implements Comparable<Task>, FieldContainer

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

generateWBS

public void generateWBS(Task parent)
This method is used to automatically generate a value for the WBS field of this task.

Parameters:
parent - Parent Task

generateOutlineNumber

public void generateOutlineNumber(Task parent)
This method is used to automatically generate a value for the Outline Number field of this task.

Parameters:
parent - Parent Task

setNotes

public void setNotes(String notes)
This method is used to add notes to the current task.

Parameters:
notes - notes to be added

addTask

public Task addTask()
This method allows nested tasks to be added, with the WBS being completed automatically.

Returns:
new task

addChildTask

public void addChildTask(Task child,
                         int childOutlineLevel)
This method is used to associate a child task with the current task instance. It has package access, and has been designed to allow the hierarchical outline structure of tasks in an MPX file to be constructed as the file is read in.

Parameters:
child - Child task.
childOutlineLevel - Outline level of the child task.

addChildTask

public void addChildTask(Task child)
This method is used to associate a child task with the current task instance. It has been designed to allow the hierarchical outline structure of tasks in an MPX file to be updated once all of the task data has been read.

Parameters:
child - child task

removeChildTask

public void removeChildTask(Task child)
Removes a child task.

Parameters:
child - child task instance

clearChildTasks

public void clearChildTasks()
This method allows the list of child tasks to be cleared in preparation for the hierarchical task structure to be built.


addRecurringTask

public RecurringTask addRecurringTask()
This method allows recurring task details to be added to the current task.

Returns:
RecurringTask object

getRecurringTask

public RecurringTask getRecurringTask()
This method retrieves the recurring task record. If the current task is not a recurring task, then this method will return null.

Returns:
Recurring task record.

addResourceAssignment

public ResourceAssignment addResourceAssignment(Resource resource)
This method allows a resource assignment to be added to the current task.

Parameters:
resource - the resource to assign
Returns:
ResourceAssignment object

addResourceAssignment

public void addResourceAssignment(ResourceAssignment assignment)
Add a resource assignment which has been populated elsewhere.

Parameters:
assignment - resource assignment

getResourceAssignments

public List<ResourceAssignment> getResourceAssignments()
This method allows the list of resource assignments for this task to be retrieved.

Returns:
list of resource assignments

addPredecessor

public Relation addPredecessor(Task targetTask,
                               RelationType type,
                               Duration lag)
This method allows a predecessor relationship to be added to this task instance.

Parameters:
targetTask - the predecessor task
type - relation type
lag - relation lag
Returns:
relationship

setPercentageComplete

public 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. You can enter percent complete, or you can have Microsoft Project calculate it for you based on actual duration.

Parameters:
val - value to be set

setPercentageWorkComplete

public 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. You can enter percent work complete, or you can have Microsoft Project calculate it for you based on actual work on the task.

Parameters:
val - value to be set

setActualCost

public 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. You can enter all the actual costs or have Microsoft Project calculate them for you.

Parameters:
val - value to be set

setActualDuration

public 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.

Parameters:
val - value to be set

setActualFinish

public void setActualFinish(Date val)
The Actual Finish field shows the date and time that a task actually finished. Microsoft Project sets the Actual Finish field to the scheduled finish date if the completion percentage is 100. This field contains "NA" until you enter actual information or set the completion percentage to 100.

Parameters:
val - value to be set

setActualStart

public void setActualStart(Date val)
The Actual Start field shows the date and time that a task actually began. When a task is first created, the Actual Start field contains "NA." Once you enter the first actual work or a completion percentage for a task, Microsoft Project sets the actual start date to the scheduled start date.

Parameters:
val - value to be set

setActualWork

public 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.

Parameters:
val - value to be set

setBaselineCost

public void setBaselineCost(Number val)
The Baseline Cost field shows the total planned cost for a task. Baseline cost is also referred to as budget at completion (BAC).

Parameters:
val - the amount to be set

setBaselineDuration

public void setBaselineDuration(Duration val)
The Baseline Duration field shows the original span of time planned to complete a task.

Parameters:
val - duration

setBaselineFinish

public void setBaselineFinish(Date val)
The Baseline Finish field shows the planned completion date for a task at the time you saved a baseline. Information in this field becomes available when you set a baseline for a task.

Parameters:
val - Date to be set

setBaselineStart

public void setBaselineStart(Date val)
The Baseline Start field shows the planned beginning date for a task at the time you saved a baseline. Information in this field becomes available when you set a baseline.

Parameters:
val - Date to be set

setBaselineWork

public 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. This field shows the planned person-hours scheduled for a task. Information in the Baseline Work field becomes available when you set a baseline for the project.

Parameters:
val - the duration to be set.

setBCWP

public 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. BCWP is calculated up to the status date or todays date. This information is also known as earned value.

Parameters:
val - the amount to be set

setBCWS

public 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.

Parameters:
val - the amount to set

setConfirmed

public 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.

Parameters:
val - boolean value

setConstraintDate

public 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. SEE class constants

Parameters:
val - Date to be set

setConstraintType

public void setConstraintType(ConstraintType type)
Private method for dealing with string parameters from File.

Parameters:
type - string constraint type

setContact

public void setContact(String val)
The Contact field contains the name of an individual responsible for a task.

Parameters:
val - value to be set

setCost

public 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. This can also be referred to as estimate at completion (EAC).

Parameters:
val - amount

setCost1

public void setCost1(Number val)
The Cost1-10 fields show any custom task cost information you want to enter in your project.

Parameters:
val - amount

setCost2

public void setCost2(Number val)
The Cost1-10 fields show any custom task cost information you want to enter in your project.

Parameters:
val - amount

setCost3

public void setCost3(Number val)
The Cost1-10 fields show any custom task cost information you want to enter in your project.

Parameters:
val - amount

setCostVariance

public void setCostVariance(Number val)
The Cost Variance field shows the difference between the baseline cost and total cost for a task. The total cost is the current estimate of costs based on actual costs and remaining costs.

Parameters:
val - amount

setCreateDate

public void setCreateDate(Date val)
The Created field contains the date and time when a task was added to the project.

Parameters:
val - date

setCritical

public 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. The Critical field contains Yes if the task is critical and No if the task is not critical.

Parameters:
val - whether task is critical or not

setCV

public 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.

Parameters:
val - value to set

setLevelingDelay

public void setLevelingDelay(Duration val)
Set amount of delay as elapsed real time.

Parameters:
val - elapsed time

setDuration

public void setDuration(Duration val)
The Duration field is the total span of active working time for a task. This is generally the amount of time from the start to the finish of a task. The default for new tasks is 1 day (1d).

Parameters:
val - duration

setDurationText

public void setDurationText(String val)
Set the duration text used for a manually scheduled task.

Parameters:
val - text

setManualDuration

public void setManualDuration(Duration dur)
Set the manual duration attribute.

Parameters:
dur - manual duration

getManualDuration

public Duration getManualDuration()
Read the manual duration attribute.

Returns:
manual duration

setDuration1

public void setDuration1(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration2

public void setDuration2(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration3

public void setDuration3(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDurationVariance

public 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.

Parameters:
duration - duration value

setEarlyFinish

public 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.

Parameters:
date - Date value

setEarlyStart

public 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.

Parameters:
date - Date value

setFinish

public void setFinish(Date date)
The Finish field shows the date and time that a task is scheduled to be completed. MS project allows a finish date to be entered, and will calculate the duration, or a duration can be supplied and MS Project will calculate the finish date.

Parameters:
date - Date value

setFinishText

public void setFinishText(String val)
Set the finish text used for a manually scheduled task.

Parameters:
val - text

setFinish1

public void setFinish1(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish2

public void setFinish2(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish3

public void setFinish3(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish4

public void setFinish4(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish5

public void setFinish5(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinishVariance

public 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.

Parameters:
duration - duration value

setFixedCost

public void setFixedCost(Number val)
The Fixed Cost field shows any task expense that is not associated with a resource cost.

Parameters:
val - amount

setFlag1

public void setFlag1(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag2

public void setFlag2(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag3

public void setFlag3(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag4

public void setFlag4(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag5

public void setFlag5(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag6

public void setFlag6(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag7

public void setFlag7(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag8

public void setFlag8(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag9

public void setFlag9(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFlag10

public void setFlag10(boolean val)
User defined flag field.

Parameters:
val - boolean value

setFreeSlack

public void setFreeSlack(Duration duration)
The Free Slack field contains the amount of time that a task can be delayed without delaying any successor tasks. If the task has no successors, free slack is the amount of time that a task can be delayed without delaying the entire project's finish date.

Parameters:
duration - duration value

setHideBar

public 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.

Parameters:
flag - boolean value

setID

public 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. The ID indicates the position of a task with respect to the other tasks.

Parameters:
val - ID

setLateFinish

public void setLateFinish(Date date)
The Late Finish field contains the latest date that a task can finish without delaying the finish of the project. This date is based on the task's late start date, as well as the late start and late finish dates of predecessor and successor tasks, and other constraints.

Parameters:
date - date value

setLateStart

public void setLateStart(Date date)
The Late Start field contains the latest date that a task can start without delaying the finish of the project. This date is based on the task's start date, as well as the late start and late finish dates of predecessor and successor tasks, and other constraints.

Parameters:
date - date value

setLinkedFields

public 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.

Parameters:
flag - boolean value

setMarked

public void setMarked(boolean flag)
This is a user defined field used to mark a task for some form of additional action.

Parameters:
flag - boolean value

setMilestone

public void setMilestone(boolean flag)
The Milestone field indicates whether a task is a milestone.

Parameters:
flag - boolean value

setName

public void setName(String name)
The Name field contains the name of a task.

Parameters:
name - task name

setNumber1

public void setNumber1(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

setNumber2

public void setNumber2(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

setNumber3

public void setNumber3(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

setNumber4

public void setNumber4(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

setNumber5

public void setNumber5(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

setObjects

public void setObjects(Integer val)
The Objects field contains the number of objects attached to a task.

Parameters:
val - - integer value

setOutlineLevel

public void setOutlineLevel(Integer val)
The Outline Level field contains the number that indicates the level of the task in the project outline hierarchy.

Parameters:
val - - int

setOutlineNumber

public void setOutlineNumber(String val)
The Outline Number field contains the number of the task in the structure of an outline. This number indicates the task's position within the hierarchical structure of the project outline. The outline number is similar to a WBS (work breakdown structure) number, except that the outline number is automatically entered by Microsoft Project.

Parameters:
val - - text

setPriority

public 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. The default priority is Medium. Those tasks with a priority of Do Not Level are never delayed or split when Microsoft Project levels tasks that have overallocated resources assigned.

Parameters:
priority - the priority value

setProject

public void setProject(String val)
The Project field shows the name of the project from which a task originated. This can be the name of the active project file. If there are other projects inserted into the active project file, the name of the inserted project appears in this field for the task.

Parameters:
val - - text

setRemainingCost

public 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.

Parameters:
val - - currency amount

setRemainingDuration

public void setRemainingDuration(Duration val)
The Remaining Duration field shows the amount of time required to complete the unfinished portion of a task.

Parameters:
val - - duration.

setRemainingWork

public 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.

Parameters:
val - - duration

setResourceGroup

public void setResourceGroup(String val)
The Resource Group field contains the list of resource groups to which the resources assigned to a task belong.

Parameters:
val - - String list

setResourceInitials

public void setResourceInitials(String val)
The Resource Initials field lists the abbreviations for the names of resources assigned to a task. These initials can serve as substitutes for the names. Note that MS Project 98 does no normally populate this field when it generates an MPX file, and will therefore not expect to see values in this field when it reads an MPX file. Supplying values for this field will cause MS Project 98, 2000, and 2002 to create new resources and ignore any other resource assignments that have been defined in the MPX file.

Parameters:
val - String containing a comma separated list of initials

setResourceNames

public void setResourceNames(String val)
The Resource Names field lists the names of all resources assigned to a task. Note that MS Project 98 does not normally populate this field when it generates an MPX file, and will therefore not expect to see values in this field when it reads an MPX file. Supplying values for this field when writing an MPX file will cause MS Project 98, 2000, and 2002 to create new resources and ignore any other resource assignments that have been defined in the MPX file.

Parameters:
val - String containing a comma separated list of names

setResume

public 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. The Resume field is also recalculated when the remaining portion of a task is moved to a new date.

Parameters:
val - - Date

setRollup

public 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. For summary tasks, the Rollup field indicates whether the summary task bar displays rolled up bars. You must have the Rollup field for summary tasks set to Yes for any subtasks to roll up to them.

Parameters:
val - - boolean

setStart

public void setStart(Date val)
The Start field shows the date and time that a task is scheduled to begin. You can enter the start date you want, to indicate the date when the task should begin. Or, you can have Microsoft Project calculate the start date.

Parameters:
val - - Date

setStartText

public void setStartText(String val)
Set the start text used for a manually scheduled task.

Parameters:
val - text

setStart1

public 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.

Parameters:
val - - Date

setStart2

public 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.

Parameters:
val - - Date

setStart3

public 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.

Parameters:
val - - Date

setStart4

public 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.

Parameters:
val - - Date

setStart5

public 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.

Parameters:
val - - Date

setStartVariance

public 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.

Parameters:
val - - duration

setStop

public void setStop(Date val)
The Stop field shows the date that represents the end of the actual portion of a task. Typically, Microsoft Project calculates the stop date. However, you can edit this date as well.

Parameters:
val - - Date

setSubprojectName

public void setSubprojectName(String val)
The Subproject File field contains the name of a project inserted into the active project file. The Subproject File field contains the inserted project's path and file name.

Parameters:
val - - String

setSummary

public void setSummary(boolean val)
The Summary field indicates whether a task is a summary task.

Parameters:
val - - boolean

setSV

public 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. You can use SV to check costs to determine whether tasks are on schedule.

Parameters:
val - - currency amount

setText1

public void setText1(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText2

public void setText2(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText3

public void setText3(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText4

public void setText4(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText5

public void setText5(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText6

public void setText6(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText7

public void setText7(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText8

public void setText8(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText9

public void setText9(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setText10

public void setText10(String val)
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Parameters:
val - - String

setTotalSlack

public 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.

Parameters:
val - - duration

setUniqueID

public void setUniqueID(Integer val)
The Unique ID field contains the number that Microsoft Project automatically designates whenever a new task is created. This number indicates the sequence in which the task was created, regardless of placement in the schedule.

Parameters:
val - unique ID

setUpdateNeeded

public 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.

Parameters:
val - - boolean

setWBS

public void setWBS(String val)
The work breakdown structure code. The WBS field contains an alphanumeric code you can use to represent the task's position within the hierarchical structure of the project. This field is similar to the outline number, except that you can edit it.

Parameters:
val - - String

setWork

public void setWork(Duration val)
The Work field shows the total amount of work scheduled to be performed on a task by all assigned resources. This field shows the total work, or person-hours, for a task.

Parameters:
val - - duration

setWorkVariance

public void setWorkVariance(Duration val)
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work.

Parameters:
val - - duration

getPercentageComplete

public 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. You can enter percent complete, or you can have Microsoft Project calculate it for you based on actual duration.

Returns:
percentage as float

getPercentageWorkComplete

public 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. You can enter percent work complete, or you can have Microsoft Project calculate it for you based on actual work on the task.

Returns:
percentage as float

getActualCost

public 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. You can enter all the actual costs or have Microsoft Project calculate them for you.

Returns:
currency amount as float

getActualDuration

public 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.

Returns:
duration string

getActualFinish

public Date getActualFinish()
The Actual Finish field shows the date and time that a task actually finished. Microsoft Project sets the Actual Finish field to the scheduled finish date if the completion percentage is 100. This field contains "NA" until you enter actual information or set the completion percentage to 100. If "NA" is entered as value, arbitrary year zero Date is used. Date(0);

Returns:
Date

getActualStart

public Date getActualStart()
The Actual Start field shows the date and time that a task actually began. When a task is first created, the Actual Start field contains "NA." Once you enter the first actual work or a completion percentage for a task, Microsoft Project sets the actual start date to the scheduled start date. If "NA" is entered as value, arbitrary year zero Date is used. Date(0);

Returns:
Date

getActualWork

public Duration getActualWork()
The Actual Work field shows the amount of work that has already been done by the resources assigned to a task.

Returns:
duration string

getBaselineCost

public Number getBaselineCost()
The Baseline Cost field shows the total planned cost for a task. Baseline cost is also referred to as budget at completion (BAC).

Returns:
currency amount as float

getBaselineDuration

public Duration getBaselineDuration()
The Baseline Duration field shows the original span of time planned to complete a task.

Returns:
- duration string

getBaselineDurationText

public String getBaselineDurationText()
Retrieves the text value for the baseline duration.

Returns:
baseline duration text

setBaselineDurationText

public void setBaselineDurationText(String value)
Sets the baseline duration text value.

Parameters:
value - baseline duration text

getBaselineFinish

public Date getBaselineFinish()
The Baseline Finish field shows the planned completion date for a task at the time you saved a baseline. Information in this field becomes available when you set a baseline for a task.

Returns:
Date

getBaselineFinishText

public String getBaselineFinishText()
Retrieves the baseline finish text value.

Returns:
baseline finish text

setBaselineFinishText

public void setBaselineFinishText(String value)
Sets the baseline finish text value.

Parameters:
value - baseline finish text

getBaselineStart

public Date getBaselineStart()
The Baseline Start field shows the planned beginning date for a task at the time you saved a baseline. Information in this field becomes available when you set a baseline.

Returns:
Date

getBaselineStartText

public String getBaselineStartText()
Retrieves the baseline start text value.

Returns:
baseline strat value

setBaselineStartText

public void setBaselineStartText(String value)
Sets the baseline start text value.

Parameters:
value - baseline start text

getBaselineWork

public Duration getBaselineWork()
The Baseline Work field shows the originally planned amount of work to be performed by all resources assigned to a task. This field shows the planned person-hours scheduled for a task. Information in the Baseline Work field becomes available when you set a baseline for the project.

Returns:
Duration

getBCWP

public 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. BCWP is calculated up to the status date or today's date. This information is also known as earned value.

Returns:
currency amount as float

getBCWS

public 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.

Returns:
currency amount as float

getConfirmed

public 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.

Returns:
boolean

getConstraintDate

public 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.

Returns:
Date

getConstraintType

public ConstraintType getConstraintType()
The Constraint Type field provides choices for the type of constraint you can apply for scheduling a task.

Returns:
constraint type

getContact

public String getContact()
The Contact field contains the name of an individual responsible for a task.

Returns:
String

getCost

public 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. This can also be referred to as estimate at completion (EAC).

Returns:
cost amount

getCost1

public Number getCost1()
The Cost1-10 fields show any custom task cost information you want to enter in your project.

Returns:
cost amount

getCost2

public Number getCost2()
The Cost1-10 fields show any custom task cost information you want to enter in your project.

Returns:
amount

getCost3

public Number getCost3()
The Cost1-10 fields show any custom task cost information you want to enter in your project.

Returns:
amount

getCostVariance

public Number getCostVariance()
The Cost Variance field shows the difference between the baseline cost and total cost for a task. The total cost is the current estimate of costs based on actual costs and remaining costs.

Returns:
amount

getCreateDate

public Date getCreateDate()
The Created field contains the date and time when a task was added to the project.

Returns:
Date

getCritical

public 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. The Critical field contains Yes if the task is critical and No if the task is not critical.

Returns:
boolean

getCV

public 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. How Calculated CV is the difference between BCWP (budgeted cost of work performed) and ACWP (actual cost of work performed). Microsoft Project calculates the CV as follows: CV = BCWP - ACWP

Returns:
sum of earned value cost variance

getLevelingDelay

public Duration getLevelingDelay()
Delay , in MPX files as eg '0ed'. Use duration

Returns:
Duration

getDuration

public Duration getDuration()
The Duration field is the total span of active working time for a task. This is generally the amount of time from the start to the finish of a task. The default for new tasks is 1 day (1d).

Returns:
Duration

getDurationText

public String getDurationText()
Retrieves the duration text of a manually scheduled task.

Returns:
duration text

getDuration1

public 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.

Returns:
Duration

getDuration2

public 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.

Returns:
Duration

getDuration3

public 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.

Returns:
Duration

getDurationVariance

public 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.

Returns:
Duration

getEarlyFinish

public 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.

Returns:
Date

getEarlyStart

public 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.

Returns:
Date

getFinish

public Date getFinish()
The Finish field shows the date and time that a task is scheduled to be completed. You can enter the finish date you want, to indicate the date when the task should be completed. Or, you can have Microsoft Project calculate the finish date.

Returns:
Date

getFinishText

public String getFinishText()
Retrieves the finish text of a manually scheduled task.

Returns:
finish text

getFinish1

public 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.

Returns:
Date

getFinish2

public 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.

Returns:
Date

getFinish3

public 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.

Returns:
Date

getFinish4

public 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.

Returns:
Date

getFinish5

public 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.

Returns:
Date

getFinishVariance

public Duration getFinishVariance()
Calculate the finish variance.

Returns:
finish variance

getFixedCost

public Number getFixedCost()
The Fixed Cost field shows any task expense that is not associated with a resource cost.

Returns:
currency amount

getFlag1

public boolean getFlag1()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag2

public boolean getFlag2()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag3

public boolean getFlag3()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag4

public boolean getFlag4()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag5

public boolean getFlag5()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag6

public boolean getFlag6()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag7

public boolean getFlag7()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag8

public boolean getFlag8()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag9

public boolean getFlag9()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFlag10

public boolean getFlag10()
The Flag1-20 fields indicate whether a task is marked for further action or identification of some kind. To mark a task, click Yes in a Flag field. If you don't want a task marked, click No.

Returns:
boolean

getFreeSlack

public Duration getFreeSlack()
The Free Slack field contains the amount of time that a task can be delayed without delaying any successor tasks. If the task has no successors, free slack is the amount of time that a task can be delayed without delaying the entire project's finish date.

Returns:
Duration

getHideBar

public boolean getHideBar()
The Hide Bar field indicates whether the Gantt bars and Calendar bars for a task are hidden. Click Yes in the Hide Bar field to hide the bar for the task. Click No in the Hide Bar field to show the bar for the task.

Returns:
boolean

getID

public Integer getID()
The ID field contains the identifier number that Microsoft Project automatically assigns to each task as you add it to the project. The ID indicates the position of a task with respect to the other tasks.

Returns:
the task ID

getLateFinish

public Date getLateFinish()
The Late Finish field contains the latest date that a task can finish without delaying the finish of the project. This date is based on the task's late start date, as well as the late start and late finish dates of predecessor and successor tasks, and other constraints.

Returns:
Date

getLateStart

public Date getLateStart()
The Late Start field contains the latest date that a task can start without delaying the finish of the project. This date is based on the task's start date, as well as the late start and late finish dates of predecessor and successor tasks, and other constraints.

Returns:
Date

getLinkedFields

public 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.

Returns:
boolean

getMarked

public boolean getMarked()
The Marked field indicates whether a task is marked for further action or identification of some kind. To mark a task, click Yes in the Marked field. If you don't want a task marked, click No.

Returns:
true for marked

getMilestone

public boolean getMilestone()
The Milestone field indicates whether a task is a milestone.

Returns:
boolean

getName

public String getName()
Retrieves the task name.

Returns:
task name

getNotes

public String getNotes()
The Notes field contains notes that you can enter about a task. You can use task notes to help maintain a history for a task.

Returns:
notes

getNumber1

public Number getNumber1()
Retrieves a numeric value.

Returns:
Numeric value

getNumber2

public Number getNumber2()
Retrieves a numeric value.

Returns:
Numeric value

getNumber3

public Number getNumber3()
Retrieves a numeric value.

Returns:
Numeric value

getNumber4

public Number getNumber4()
Retrieves a numeric value.

Returns:
Numeric value

getNumber5

public Number getNumber5()
Retrieves a numeric value.

Returns:
Numeric value

getObjects

public Integer getObjects()
The Objects field contains the number of objects attached to a task. Microsoft Project counts the number of objects linked or embedded to a task. However, objects in the Notes box in the Resource Form are not included in this count.

Returns:
int

getOutlineLevel

public Integer getOutlineLevel()
The Outline Level field contains the number that indicates the level of the task in the project outline hierarchy.

Returns:
int

getOutlineNumber

public String getOutlineNumber()
The Outline Number field contains the number of the task in the structure of an outline. This number indicates the task's position within the hierarchical structure of the project outline. The outline number is similar to a WBS (work breakdown structure) number, except that the outline number is automatically entered by Microsoft Project.

Returns:
String

getPredecessors

public List<Relation> getPredecessors()
Retrieves the list of predecessors for this task.

Returns:
list of prdecessor Relation instances

getSuccessors

public List<Relation> getSuccessors()
Retrieves the list of succesors for this task.

Returns:
list of successor Relation instances

getPriority

public 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. The default priority is Medium. Those tasks with a priority of Do Not Level are never delayed or split when Microsoft Project levels tasks that have overallocated resources assigned.

Returns:
priority class instance

getProject

public String getProject()
The Project field shows the name of the project from which a task originated. This can be the name of the active project file. If there are other projects inserted into the active project file, the name of the inserted project appears in this field for the task.

Returns:
name of originating project

getRemainingCost

public 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.

Returns:
remaining cost

getRemainingDuration

public Duration getRemainingDuration()
The Remaining Duration field shows the amount of time required to complete the unfinished portion of a task.

Returns:
Duration

getRemainingWork

public Duration getRemainingWork()
The Remaining Work field shows the amount of time, or person-hours, still required by all assigned resources to complete a task.

Returns:
the amount of time still required to complete a task

getResourceGroup

public String getResourceGroup()
The Resource Group field contains the list of resource groups to which the resources assigned to a task belong.

Returns:
single string list of groups

getResourceInitials

public String getResourceInitials()
The Resource Initials field lists the abbreviations for the names of resources assigned to a task. These initials can serve as substitutes for the names. Note that MS Project 98 does not export values for this field when writing an MPX file, and the field is not currently populated by MPXJ when reading an MPP file.

Returns:
String containing a comma separated list of initials

getResourceNames

public String getResourceNames()
The Resource Names field lists the names of all resources assigned to a task. Note that MS Project 98 does not export values for this field when writing an MPX file, and the field is not currently populated by MPXJ when reading an MPP file.

Returns:
String containing a comma separated list of names

getResume

public 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. The Resume field is also recalculated when the remaining portion of a task is moved to a new date.

Returns:
Date

getRollup

public boolean getRollup()
For subtasks, the Rollup field indicates whether information on the subtask Gantt bars will be rolled up to the summary task bar. For summary tasks, the Rollup field indicates whether the summary task bar displays rolled up bars. You must have the Rollup field for summary tasks set to Yes for any subtasks to roll up to them.

Returns:
boolean

getStart

public Date getStart()
The Start field shows the date and time that a task is scheduled to begin. You can enter the start date you want, to indicate the date when the task should begin. Or, you can have Microsoft Project calculate the start date.

Returns:
Date

getStartText

public String getStartText()
Retrieve the start text for a manually scheduled task.

Returns:
start text

getStart1

public 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.

Returns:
Date

getStart2

public 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.

Returns:
Date

getStart3

public 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.

Returns:
Date

getStart4

public 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.

Returns:
Date

getStart5

public 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.

Returns:
Date

getStartVariance

public Duration getStartVariance()
Calculate the start variance.

Returns:
start variance

getStop

public Date getStop()
The Stop field shows the date that represents the end of the actual portion of a task. Typically, Microsoft Project calculates the stop date. However, you can edit this date as well.

Returns:
Date

getSubprojectName

public String getSubprojectName()
Contains the file name and path of the sub project represented by the current task.

Returns:
sub project file path

getSummary

public boolean getSummary()
The Summary field indicates whether a task is a summary task.

Returns:
boolean, true-is summary task

getSV

public 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. You can use SV to check costs to determine whether tasks are on schedule.

Returns:
-earned value schedule variance

getText1

public String getText1()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText2

public String getText2()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText3

public String getText3()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText4

public String getText4()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText5

public String getText5()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText6

public String getText6()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText7

public String getText7()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText8

public String getText8()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText9

public String getText9()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getText10

public String getText10()
The Text1-30 fields show any custom text information you want to enter in your project about tasks.

Returns:
String

getTotalSlack

public Duration getTotalSlack()
The Total Slack field contains the amount of time a task can be delayed without delaying the project's finish date.

Returns:
string representing duration

getUniqueID

public Integer getUniqueID()
The Unique ID field contains the number that Microsoft Project automatically designates whenever a new task is created. This number indicates the sequence in which the task was created, regardless of placement in the schedule.

Returns:
String

getUpdateNeeded

public 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.

Returns:
true if needed.

getWBS

public String getWBS()
The work breakdown structure code. The WBS field contains an alphanumeric code you can use to represent the task's position within the hierarchical structure of the project. This field is similar to the outline number, except that you can edit it.

Returns:
string

getWork

public Duration getWork()
The Work field shows the total amount of work scheduled to be performed on a task by all assigned resources. This field shows the total work, or person-hours, for a task.

Returns:
Duration representing duration .

getWorkVariance

public Duration getWorkVariance()
The Work Variance field contains the difference between a task's baseline work and the currently scheduled work.

Returns:
Duration representing duration.

getParentTask

public Task getParentTask()
This method retrieves a reference to the parent of this task, as defined by the outline level. If this task is at the top level, this method will return null.

Returns:
parent task

getChildTasks

public List<Task> getChildTasks()
This method retrieves a list of child tasks relative to the current task, as defined by the outine level. If there are no child tasks, this method will return an empty list.

Returns:
child tasks

compareTo

public int compareTo(Task o)
This method implements the only method in the Comparable interface. This allows Tasks to be compared and sorted based on their ID value. Note that if the MPX/MPP file has been generated by MSP, the ID value will always be in the correct sequence. The Unique ID value will not necessarily be in the correct sequence as task insertions and deletions will change the order.

Specified by:
compareTo in interface Comparable<Task>
Parameters:
o - object to compare this instance with
Returns:
result of comparison

getEstimated

public boolean getEstimated()
This method retrieves a flag indicating whether the duration of the task has only been estimated.

Returns:
boolean

setEstimated

public void setEstimated(boolean estimated)
This method retrieves a flag indicating whether the duration of the task has only been estimated.

Parameters:
estimated - Boolean flag

getDeadline

public Date getDeadline()
This method retrieves the deadline for this task.

Returns:
Task deadline

setDeadline

public void setDeadline(Date deadline)
This method sets the deadline for this task.

Parameters:
deadline - deadline date

getType

public TaskType getType()
This method retrieves the task type.

Returns:
int representing the task type

setType

public void setType(TaskType type)
This method sets the task type.

Parameters:
type - task type

getNull

public boolean getNull()
Retrieves the flag indicating if this is a null task.

Returns:
boolean flag

setNull

public void setNull(boolean isNull)
Sets the flag indicating if this is a null task.

Parameters:
isNull - boolean flag

getWBSLevel

public String getWBSLevel()
Retrieve the WBS level.

Returns:
WBS level

setWBSLevel

public void setWBSLevel(String wbsLevel)
Set the WBS level.

Parameters:
wbsLevel - WBS level

getResumeValid

public boolean getResumeValid()
Retrieve the resume valid flag.

Returns:
resume valie flag

setResumeValid

public void setResumeValid(boolean resumeValid)
Set the resume valid flag.

Parameters:
resumeValid - resume valid flag

getRecurring

public boolean getRecurring()
Retrieve the recurring flag.

Returns:
recurring flag

setRecurring

public void setRecurring(boolean recurring)
Set the recurring flag.

Parameters:
recurring - recurring flag

getOverAllocated

public boolean getOverAllocated()
Retrieve the over allocated flag.

Returns:
over allocated flag

setOverAllocated

public void setOverAllocated(boolean overAllocated)
Set the over allocated flag.

Parameters:
overAllocated - over allocated flag

getSubprojectTaskUniqueID

public Integer getSubprojectTaskUniqueID()
Where a task in an MPP file represents a task from a subproject, this value will be non-zero. The value itself is the unique ID value shown in the parent project. To retrieve the value of the task unique ID in the child project, remove the top two bytes: taskID = (subprojectUniqueID & 0xFFFF)

Returns:
sub project unique task ID

setSubprojectTaskUniqueID

public void setSubprojectTaskUniqueID(Integer subprojectUniqueTaskID)
Sets the sub project unique task ID.

Parameters:
subprojectUniqueTaskID - subproject unique task ID

getSubprojectTaskID

public Integer getSubprojectTaskID()
Where a task in an MPP file represents a task from a subproject, this value will be non-zero. The value itself is the ID value shown in the parent project.

Returns:
sub project task ID

setSubprojectTaskID

public void setSubprojectTaskID(Integer subprojectTaskID)
Sets the sub project task ID.

Parameters:
subprojectTaskID - subproject task ID

setSubprojectTasksUniqueIDOffset

public 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.

Parameters:
offset - unique ID offset

getSubprojectTasksUniqueIDOffset

public Integer getSubprojectTasksUniqueIDOffset()
Retrieves the offset added to unique task IDs from sub projects to generate the task ID shown in the master project.

Returns:
unique ID offset

getSubprojectReadOnly

public boolean getSubprojectReadOnly()
Retrieve the subproject read only flag.

Returns:
subproject read only flag

setSubprojectReadOnly

public void setSubprojectReadOnly(boolean subprojectReadOnly)
Set the subproject read only flag.

Parameters:
subprojectReadOnly - subproject read only flag

getExternalTask

public boolean getExternalTask()
Retrieves the external task flag.

Returns:
external task flag

setExternalTask

public void setExternalTask(boolean externalTask)
Sets the external task flag.

Parameters:
externalTask - external task flag

getExternalTaskProject

public String getExternalTaskProject()
Retrieves the external task project file name.

Returns:
external task project file name

setExternalTaskProject

public void setExternalTaskProject(String externalTaskProject)
Sets the external task project file name.

Parameters:
externalTaskProject - external task project file name

getACWP

public Number getACWP()
Retrieve the ACWP value.

Returns:
ACWP value

setACWP

public void setACWP(Number acwp)
Set the ACWP value.

Parameters:
acwp - ACWP value

getLevelingDelayFormat

public TimeUnit getLevelingDelayFormat()
Retrieve the leveling delay format.

Returns:
leveling delay format

setLevelingDelayFormat

public void setLevelingDelayFormat(TimeUnit levelingDelayFormat)
Set the leveling delay format.

Parameters:
levelingDelayFormat - leveling delay format

getIgnoreResourceCalendar

public boolean getIgnoreResourceCalendar()
Retrieves the ignore resource celandar flag.

Returns:
ignore resource celandar flag

setIgnoreResourceCalendar

public void setIgnoreResourceCalendar(boolean ignoreResourceCalendar)
Sets the ignore resource celandar flag.

Parameters:
ignoreResourceCalendar - ignore resource celandar flag

getPhysicalPercentComplete

public Integer getPhysicalPercentComplete()
Retrieves the physical percent complete value.

Returns:
physical percent complete value

setPhysicalPercentComplete

public void setPhysicalPercentComplete(Integer physicalPercentComplete)
Srts the physical percent complete value.

Parameters:
physicalPercentComplete - physical percent complete value

getEarnedValueMethod

public EarnedValueMethod getEarnedValueMethod()
Retrieves the earned value method.

Returns:
earned value method

setEarnedValueMethod

public void setEarnedValueMethod(EarnedValueMethod earnedValueMethod)
Sets the earned value method.

Parameters:
earnedValueMethod - earned value method

getActualWorkProtected

public Duration getActualWorkProtected()
Retrieves the actual work protected value.

Returns:
actual work protected value

setActualWorkProtected

public void setActualWorkProtected(Duration actualWorkProtected)
Sets the actual work protected value.

Parameters:
actualWorkProtected - actual work protected value

getActualOvertimeWorkProtected

public Duration getActualOvertimeWorkProtected()
Retrieves the actual overtime work protected value.

Returns:
actual overtime work protected value

setActualOvertimeWorkProtected

public void setActualOvertimeWorkProtected(Duration actualOvertimeWorkProtected)
Sets the actual overtime work protected value.

Parameters:
actualOvertimeWorkProtected - actual overtime work protected value

getRegularWork

public Duration getRegularWork()
Retrieve the amount of regular work.

Returns:
amount of regular work

setRegularWork

public void setRegularWork(Duration regularWork)
Set the amount of regular work.

Parameters:
regularWork - amount of regular work

getFlag11

public boolean getFlag11()
Retrieves the flag value.

Returns:
flag value

getFlag12

public boolean getFlag12()
Retrieves the flag value.

Returns:
flag value

getFlag13

public boolean getFlag13()
Retrieves the flag value.

Returns:
flag value

getFlag14

public boolean getFlag14()
Retrieves the flag value.

Returns:
flag value

getFlag15

public boolean getFlag15()
Retrieves the flag value.

Returns:
flag value

getFlag16

public boolean getFlag16()
Retrieves the flag value.

Returns:
flag value

getFlag17

public boolean getFlag17()
Retrieves the flag value.

Returns:
flag value

getFlag18

public boolean getFlag18()
Retrieves the flag value.

Returns:
flag value

getFlag19

public boolean getFlag19()
Retrieves the flag value.

Returns:
flag value

getFlag20

public boolean getFlag20()
Retrieves the flag value.

Returns:
flag value

setFlag11

public void setFlag11(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag12

public void setFlag12(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag13

public void setFlag13(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag14

public void setFlag14(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag15

public void setFlag15(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag16

public void setFlag16(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag17

public void setFlag17(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag18

public void setFlag18(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag19

public void setFlag19(boolean b)
Sets the flag value.

Parameters:
b - flag value

setFlag20

public void setFlag20(boolean b)
Sets the flag value.

Parameters:
b - flag value

setEffortDriven

public void setEffortDriven(boolean flag)
Sets the effort driven flag.

Parameters:
flag - value

getEffortDriven

public boolean getEffortDriven()
Retrieves the effort driven flag.

Returns:
Flag value

getText11

public String getText11()
Retrieves a text value.

Returns:
Text value

getText12

public String getText12()
Retrieves a text value.

Returns:
Text value

getText13

public String getText13()
Retrieves a text value.

Returns:
Text value

getText14

public String getText14()
Retrieves a text value.

Returns:
Text value

getText15

public String getText15()
Retrieves a text value.

Returns:
Text value

getText16

public String getText16()
Retrieves a text value.

Returns:
Text value

getText17

public String getText17()
Retrieves a text value.

Returns:
Text value

getText18

public String getText18()
Retrieves a text value.

Returns:
Text value

getText19

public String getText19()
Retrieves a text value.

Returns:
Text value

getText20

public String getText20()
Retrieves a text value.

Returns:
Text value

getText21

public String getText21()
Retrieves a text value.

Returns:
Text value

getText22

public String getText22()
Retrieves a text value.

Returns:
Text value

getText23

public String getText23()
Retrieves a text value.

Returns:
Text value

getText24

public String getText24()
Retrieves a text value.

Returns:
Text value

getText25

public String getText25()
Retrieves a text value.

Returns:
Text value

getText26

public String getText26()
Retrieves a text value.

Returns:
Text value

getText27

public String getText27()
Retrieves a text value.

Returns:
Text value

getText28

public String getText28()
Retrieves a text value.

Returns:
Text value

getText29

public String getText29()
Retrieves a text value.

Returns:
Text value

getText30

public String getText30()
Retrieves a text value.

Returns:
Text value

setText11

public void setText11(String string)
Sets a text value.

Parameters:
string - Text value

setText12

public void setText12(String string)
Sets a text value.

Parameters:
string - Text value

setText13

public void setText13(String string)
Sets a text value.

Parameters:
string - Text value

setText14

public void setText14(String string)
Sets a text value.

Parameters:
string - Text value

setText15

public void setText15(String string)
Sets a text value.

Parameters:
string - Text value

setText16

public void setText16(String string)
Sets a text value.

Parameters:
string - Text value

setText17

public void setText17(String string)
Sets a text value.

Parameters:
string - Text value

setText18

public void setText18(String string)
Sets a text value.

Parameters:
string - Text value

setText19

public void setText19(String string)
Sets a text value.

Parameters:
string - Text value

setText20

public void setText20(String string)
Sets a text value.

Parameters:
string - Text value

setText21

public void setText21(String string)
Sets a text value.

Parameters:
string - Text value

setText22

public void setText22(String string)
Sets a text value.

Parameters:
string - Text value

setText23

public void setText23(String string)
Sets a text value.

Parameters:
string - Text value

setText24

public void setText24(String string)
Sets a text value.

Parameters:
string - Text value

setText25

public void setText25(String string)
Sets a text value.

Parameters:
string - Text value

setText26

public void setText26(String string)
Sets a text value.

Parameters:
string - Text value

setText27

public void setText27(String string)
Sets a text value.

Parameters:
string - Text value

setText28

public void setText28(String string)
Sets a text value.

Parameters:
string - Text value

setText29

public void setText29(String string)
Sets a text value.

Parameters:
string - Text value

setText30

public void setText30(String string)
Sets a text value.

Parameters:
string - Text value

setNumber6

public void setNumber6(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber6

public Number getNumber6()
Retrieves a numeric value.

Returns:
Numeric value

setNumber7

public void setNumber7(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber7

public Number getNumber7()
Retrieves a numeric value.

Returns:
Numeric value

setNumber8

public void setNumber8(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber8

public Number getNumber8()
Retrieves a numeric value.

Returns:
Numeric value

setNumber9

public void setNumber9(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber9

public Number getNumber9()
Retrieves a numeric value.

Returns:
Numeric value

setNumber10

public void setNumber10(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber10

public Number getNumber10()
Retrieves a numeric value.

Returns:
Numeric value

setNumber11

public void setNumber11(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber11

public Number getNumber11()
Retrieves a numeric value.

Returns:
Numeric value

setNumber12

public void setNumber12(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber12

public Number getNumber12()
Retrieves a numeric value.

Returns:
Numeric value

setNumber13

public void setNumber13(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber13

public Number getNumber13()
Retrieves a numeric value.

Returns:
Numeric value

setNumber14

public void setNumber14(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber14

public Number getNumber14()
Retrieves a numeric value.

Returns:
Numeric value

setNumber15

public void setNumber15(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber15

public Number getNumber15()
Retrieves a numeric value.

Returns:
Numeric value

setNumber16

public void setNumber16(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber16

public Number getNumber16()
Retrieves a numeric value.

Returns:
Numeric value

setNumber17

public void setNumber17(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber17

public Number getNumber17()
Retrieves a numeric value.

Returns:
Numeric value

setNumber18

public void setNumber18(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber18

public Number getNumber18()
Retrieves a numeric value.

Returns:
Numeric value

setNumber19

public void setNumber19(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber19

public Number getNumber19()
Retrieves a numeric value.

Returns:
Numeric value

setNumber20

public void setNumber20(Number val)
Sets a numeric value.

Parameters:
val - Numeric value

getNumber20

public Number getNumber20()
Retrieves a numeric value.

Returns:
Numeric value

getDuration10

public Duration getDuration10()
Retrieves a duration.

Returns:
Duration

getDuration4

public Duration getDuration4()
Retrieves a duration.

Returns:
Duration

getDuration5

public Duration getDuration5()
Retrieves a duration.

Returns:
Duration

getDuration6

public Duration getDuration6()
Retrieves a duration.

Returns:
Duration

getDuration7

public Duration getDuration7()
Retrieves a duration.

Returns:
Duration

getDuration8

public Duration getDuration8()
Retrieves a duration.

Returns:
Duration

getDuration9

public Duration getDuration9()
Retrieves a duration.

Returns:
Duration

setDuration10

public void setDuration10(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration4

public void setDuration4(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration5

public void setDuration5(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration6

public void setDuration6(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration7

public void setDuration7(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration8

public void setDuration8(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

setDuration9

public void setDuration9(Duration duration)
User defined duration field.

Parameters:
duration - Duration value

getDate1

public Date getDate1()
Retrieves a date value.

Returns:
Date value

getDate10

public Date getDate10()
Retrieves a date value.

Returns:
Date value

getDate2

public Date getDate2()
Retrieves a date value.

Returns:
Date value

getDate3

public Date getDate3()
Retrieves a date value.

Returns:
Date value

getDate4

public Date getDate4()
Retrieves a date value.

Returns:
Date value

getDate5

public Date getDate5()
Retrieves a date value.

Returns:
Date value

getDate6

public Date getDate6()
Retrieves a date value.

Returns:
Date value

getDate7

public Date getDate7()
Retrieves a date value.

Returns:
Date value

getDate8

public Date getDate8()
Retrieves a date value.

Returns:
Date value

getDate9

public Date getDate9()
Retrieves a date value.

Returns:
Date value

setDate1

public void setDate1(Date date)
Sets a date value.

Parameters:
date - Date value

setDate10

public void setDate10(Date date)
Sets a date value.

Parameters:
date - Date value

setDate2

public void setDate2(Date date)
Sets a date value.

Parameters:
date - Date value

setDate3

public void setDate3(Date date)
Sets a date value.

Parameters:
date - Date value

setDate4

public void setDate4(Date date)
Sets a date value.

Parameters:
date - Date value

setDate5

public void setDate5(Date date)
Sets a date value.

Parameters:
date - Date value

setDate6

public void setDate6(Date date)
Sets a date value.

Parameters:
date - Date value

setDate7

public void setDate7(Date date)
Sets a date value.

Parameters:
date - Date value

setDate8

public void setDate8(Date date)
Sets a date value.

Parameters:
date - Date value

setDate9

public void setDate9(Date date)
Sets a date value.

Parameters:
date - Date value

getCost10

public Number getCost10()
Retrieves a cost.

Returns:
Cost value

getCost4

public Number getCost4()
Retrieves a cost.

Returns:
Cost value

getCost5

public Number getCost5()
Retrieves a cost.

Returns:
Cost value

getCost6

public Number getCost6()
Retrieves a cost.

Returns:
Cost value

getCost7

public Number getCost7()
Retrieves a cost.

Returns:
Cost value

getCost8

public Number getCost8()
Retrieves a cost.

Returns:
Cost value

getCost9

public Number getCost9()
Retrieves a cost.

Returns:
Cost value

setCost10

public void setCost10(Number number)
Sets a cost value.

Parameters:
number - Cost value

setCost4

public void setCost4(Number number)
Sets a cost value.

Parameters:
number - Cost value

setCost5

public void setCost5(Number number)
Sets a cost value.

Parameters:
number - Cost value

setCost6

public void setCost6(Number number)
Sets a cost value.

Parameters:
number - Cost value

setCost7

public void setCost7(Number number)
Sets a cost value.

Parameters:
number - Cost value

setCost8

public void setCost8(Number number)
Sets a cost value.

Parameters:
number - Cost value

setCost9

public void setCost9(Number number)
Sets a cost value.

Parameters:
number - Cost value

getStart10

public Date getStart10()
Retrieves a start date.

Returns:
Date start date

getStart6

public Date getStart6()
Retrieves a start date.

Returns:
Date start date

getStart7

public Date getStart7()
Retrieves a start date.

Returns:
Date start date

getStart8

public Date getStart8()
Retrieves a start date.

Returns:
Date start date

getStart9

public Date getStart9()
Retrieves a start date.

Returns:
Date start date

setStart10

public void setStart10(Date date)
Sets a start date.

Parameters:
date - Start date

setStart6

public void setStart6(Date date)
Sets a start date.

Parameters:
date - Start date

setStart7

public void setStart7(Date date)
Sets a start date.

Parameters:
date - Start date

setStart8

public void setStart8(Date date)
Sets a start date.

Parameters:
date - Start date

setStart9

public void setStart9(Date date)
Sets a start date.

Parameters:
date - Start date

getFinish10

public Date getFinish10()
Retrieves a finish date.

Returns:
Date finish date

getFinish6

public Date getFinish6()
Retrieves a finish date.

Returns:
Date finish date

getFinish7

public Date getFinish7()
Retrieves a finish date.

Returns:
Date finish date

getFinish8

public Date getFinish8()
Retrieves a finish date.

Returns:
Date finish date

getFinish9

public Date getFinish9()
Retrieves a finish date.

Returns:
Date finish date

setFinish10

public void setFinish10(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish6

public void setFinish6(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish7

public void setFinish7(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish8

public void setFinish8(Date date)
User defined finish date field.

Parameters:
date - Date value

setFinish9

public void setFinish9(Date date)
User defined finish date field.

Parameters:
date - Date value

getOvertimeCost

public Number getOvertimeCost()
Retrieves the overtime cost.

Returns:
Cost value

setOvertimeCost

public void setOvertimeCost(Number number)
Sets the overtime cost value.

Parameters:
number - Cost value

setOutlineCode1

public void setOutlineCode1(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode1

public String getOutlineCode1()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode2

public void setOutlineCode2(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode2

public String getOutlineCode2()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode3

public void setOutlineCode3(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode3

public String getOutlineCode3()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode4

public void setOutlineCode4(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode4

public String getOutlineCode4()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode5

public void setOutlineCode5(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode5

public String getOutlineCode5()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode6

public void setOutlineCode6(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode6

public String getOutlineCode6()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode7

public void setOutlineCode7(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode7

public String getOutlineCode7()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode8

public void setOutlineCode8(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode8

public String getOutlineCode8()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode9

public void setOutlineCode9(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode9

public String getOutlineCode9()
Retrieves the value of an outline code field.

Returns:
outline code value

setOutlineCode10

public void setOutlineCode10(String value)
Sets the value of an outline code field.

Parameters:
value - outline code value

getOutlineCode10

public String getOutlineCode10()
Retrieves the value of an outline code field.

Returns:
outline code value

getActualOvertimeCost

public Number getActualOvertimeCost()
Retrieves the actual overtime cost for this task.

Returns:
actual overtime cost

setActualOvertimeCost

public void setActualOvertimeCost(Number cost)
Sets the actual overtime cost for this task.

Parameters:
cost - actual overtime cost

getActualOvertimeWork

public Duration getActualOvertimeWork()
Retrieves the actual overtime work value.

Returns:
actual overtime work value

setActualOvertimeWork

public void setActualOvertimeWork(Duration work)
Sets the actual overtime work value.

Parameters:
work - actual overtime work value

getFixedCostAccrual

public AccrueType getFixedCostAccrual()
Retrieves the fixed cost accrual flag value.

Returns:
fixed cost accrual flag

setFixedCostAccrual

public void setFixedCostAccrual(AccrueType type)
Sets the fixed cost accrual flag value.

Parameters:
type - fixed cost accrual type

getHyperlink

public String getHyperlink()
Retrieves the task hyperlink attribute.

Returns:
hyperlink attribute

getHyperlinkAddress

public String getHyperlinkAddress()
Retrieves the task hyperlink address attribute.

Returns:
hyperlink address attribute

getHyperlinkSubAddress

public String getHyperlinkSubAddress()
Retrieves the task hyperlink sub-address attribute.

Returns:
hyperlink sub address attribute

setHyperlink

public void setHyperlink(String text)
Sets the task hyperlink attribute.

Parameters:
text - hyperlink attribute

setHyperlinkAddress

public void setHyperlinkAddress(String text)
Sets the task hyperlink address attribute.

Parameters:
text - hyperlink address attribute

setHyperlinkSubAddress

public void setHyperlinkSubAddress(String text)
Sets the task hyperlink sub address attribute.

Parameters:
text - hyperlink sub address attribute

getLevelAssignments

public boolean getLevelAssignments()
Retrieves the level assignments flag.

Returns:
level assignments flag

setLevelAssignments

public void setLevelAssignments(boolean flag)
Sets the level assignments flag.

Parameters:
flag - level assignments flag

getLevelingCanSplit

public boolean getLevelingCanSplit()
Retrieves the leveling can split flag.

Returns:
leveling can split flag

setLevelingCanSplit

public void setLevelingCanSplit(boolean flag)
Sets the leveling can split flag.

Parameters:
flag - leveling can split flag

getOvertimeWork

public Duration getOvertimeWork()
Retrieves the overtime work attribute.

Returns:
overtime work value

setOvertimeWork

public void setOvertimeWork(Duration work)
Sets the overtime work attribute.

Parameters:
work - overtime work value

getPreleveledStart

public Date getPreleveledStart()
Retrieves the preleveled start attribute.

Returns:
preleveled start

getPreleveledFinish

public Date getPreleveledFinish()
Retrieves the preleveled finish attribute.

Returns:
preleveled finish

setPreleveledStart

public void setPreleveledStart(Date date)
Sets the preleveled start attribute.

Parameters:
date - preleveled start attribute

setPreleveledFinish

public void setPreleveledFinish(Date date)
Sets the preleveled finish attribute.

Parameters:
date - preleveled finish attribute

getRemainingOvertimeWork

public Duration getRemainingOvertimeWork()
Retrieves the remaining overtime work attribute.

Returns:
remaining overtime work

setRemainingOvertimeWork

public void setRemainingOvertimeWork(Duration work)
Sets the remaining overtime work attribute.

Parameters:
work - remaining overtime work

getRemainingOvertimeCost

public Number getRemainingOvertimeCost()
Retrieves the remaining overtime cost.

Returns:
remaining overtime cost value

setRemainingOvertimeCost

public void setRemainingOvertimeCost(Number cost)
Sets the remaining overtime cost value.

Parameters:
cost - overtime cost value

getCalendar

public ProjectCalendar getCalendar()
Retrieves the base calendar instance associated with this task. Note that this attribute appears in MPP9 and MSPDI files.

Returns:
ProjectCalendar instance

setCalendar

public void setCalendar(ProjectCalendar calendar)
Sets the name of the base calendar associated with this task. Note that this attribute appears in MPP9 and MSPDI files.

Parameters:
calendar - calendar instance

getExpanded

public boolean getExpanded()
Retrieve a flag indicating if the task is shown as expanded in MS Project. If this flag is set to true, any sub tasks for this current task will be visible. If this is false, any sub tasks will be hidden.

Returns:
boolean flag

setExpanded

public void setExpanded(boolean expanded)
Set a flag indicating if the task is shown as expanded in MS Project. If this flag is set to true, any sub tasks for this current task will be visible. If this is false, any sub tasks will be hidden.

Parameters:
expanded - boolean flag

setStartSlack

public void setStartSlack(Duration duration)
Set the start slack.

Parameters:
duration - start slack

setFinishSlack

public void setFinishSlack(Duration duration)
Set the finish slack.

Parameters:
duration - finish slack

getStartSlack

public Duration getStartSlack()
Retrieve the start slack.

Returns:
start slack

getFinishSlack

public Duration getFinishSlack()
Retrieve the finish slack.

Returns:
finish slack

getFieldByAlias

public Object getFieldByAlias(String alias)
Retrieve the value of a field using its alias.

Parameters:
alias - field alias
Returns:
field value

setFieldByAlias

public void setFieldByAlias(String alias,
                            Object value)
Set the value of a field using its alias.

Parameters:
alias - field alias
value - field value

getSplits

public List<DateRange> getSplits()
This method retrieves a list of task splits. Each split is represented by a DateRange instance. The list will always follow the pattern task range, split range, task range and so on. Note that this method will return null if the task is not split.

Returns:
list of split times

setSplits

public void setSplits(List<DateRange> splits)
Internal method used to set the list of splits.

Parameters:
splits - list of split times

getSplitCompleteDuration

public Date getSplitCompleteDuration()
Task splits contain the time up to which the splits are completed.

Returns:
Duration of completed time for the splits.

setSplitCompleteDuration

public void setSplitCompleteDuration(Date splitsComplete)
Set the time up to which the splits are completed.

Parameters:
splitsComplete - Duration of completed time for the splits.

remove

public void remove()
Removes this task from the project.


getSubProject

public SubProject getSubProject()
Retrieve the sub project represented by this task.

Returns:
sub project

setSubProject

public void setSubProject(SubProject subProject)
Set the sub project represented by this task.

Parameters:
subProject - sub project

getEnterpriseCost

public Number getEnterpriseCost(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseCost

public void setEnterpriseCost(int index,
                              Number value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseDate

public Date getEnterpriseDate(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseDate

public void setEnterpriseDate(int index,
                              Date value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseDuration

public Duration getEnterpriseDuration(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseDuration

public void setEnterpriseDuration(int index,
                                  Duration value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseFlag

public boolean getEnterpriseFlag(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseFlag

public void setEnterpriseFlag(int index,
                              boolean value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseNumber

public Number getEnterpriseNumber(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseNumber

public void setEnterpriseNumber(int index,
                                Number value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

getEnterpriseText

public String getEnterpriseText(int index)
Retrieve an enterprise field value.

Parameters:
index - field index
Returns:
field value

setEnterpriseText

public void setEnterpriseText(int index,
                              String value)
Set an enterprise field value.

Parameters:
index - field index
value - field value

setBaselineCost

public void setBaselineCost(int baselineNumber,
                            Number value)
Set a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
value - baseline value

setBaselineDuration

public void setBaselineDuration(int baselineNumber,
                                Duration value)
Set a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
value - baseline value

setBaselineFinish

public void setBaselineFinish(int baselineNumber,
                              Date value)
Set a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
value - baseline value

setBaselineStart

public void setBaselineStart(int baselineNumber,
                             Date value)
Set a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
value - baseline value

setBaselineWork

public void setBaselineWork(int baselineNumber,
                            Duration value)
Set a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
value - baseline value

getBaselineCost

public Number getBaselineCost(int baselineNumber)
Retrieve a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
Returns:
baseline value

getBaselineDuration

public Duration getBaselineDuration(int baselineNumber)
Retrieve a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
Returns:
baseline value

getBaselineDurationText

public String getBaselineDurationText(int baselineNumber)
Retrieves the baseline duration text value.

Parameters:
baselineNumber - baseline number
Returns:
baseline duration text value

setBaselineDurationText

public void setBaselineDurationText(int baselineNumber,
                                    String value)
Sets the baseline duration text value.

Parameters:
baselineNumber - baseline number
value - baseline duration text value

getBaselineFinish

public Date getBaselineFinish(int baselineNumber)
Retrieve a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
Returns:
baseline value

getBaselineFinishText

public String getBaselineFinishText(int baselineNumber)
Retrieves the baseline finish text value.

Parameters:
baselineNumber - baseline number
Returns:
baseline finish text value

setBaselineFinishText

public void setBaselineFinishText(int baselineNumber,
                                  String value)
Sets the baseline finish text value.

Parameters:
baselineNumber - baseline number
value - baseline finish text value

getBaselineStart

public Date getBaselineStart(int baselineNumber)
Retrieve a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
Returns:
baseline value

getBaselineStartText

public String getBaselineStartText(int baselineNumber)
Retrieves the baseline start text value.

Parameters:
baselineNumber - baseline number
Returns:
baseline start text value

setBaselineStartText

public void setBaselineStartText(int baselineNumber,
                                 String value)
Sets the baseline start text value.

Parameters:
baselineNumber - baseline number
value - baseline start text value

getBaselineWork

public Duration getBaselineWork(int baselineNumber)
Retrieve a baseline value.

Parameters:
baselineNumber - baseline index (1-10)
Returns:
baseline value

getCompleteThrough

public Date getCompleteThrough()
Retrieve the "complete through" date.

Returns:
complete through date

getSummaryProgress

public Date getSummaryProgress()
Retrieve the summary progress date.

Returns:
summary progress date

setSummaryProgress

public void setSummaryProgress(Date value)
Set the summary progress date.

Parameters:
value - summary progress date

getGUID

public UUID getGUID()
Retrieve the task GUID.

Returns:
task GUID

setGUID

public void setGUID(UUID value)
Set the task GUID.

Parameters:
value - task GUID

getTaskMode

public TaskMode getTaskMode()
Retrieves the task mode.

Returns:
task mode

setTaskMode

public void setTaskMode(TaskMode mode)
Sets the task mode.

Parameters:
mode - task mode

getActive

public boolean getActive()
Retrieves the active flag.

Returns:
active flag value

setActive

public void setActive(boolean active)
Sets the active flag.

Parameters:
active - active flag value

removePredecessor

public boolean removePredecessor(Task targetTask,
                                 RelationType type,
                                 Duration lag)
This method allows a predecessor relationship to be removed from this task instance. It will only delete relationships that exactly match the given targetTask, type and lag time.

Parameters:
targetTask - the predecessor task
type - relation type
lag - relation lag
Returns:
returns true if the relation is found and removed

getCachedValue

public Object getCachedValue(FieldType field)
Retrieve a field value. Use the cached value. Do not attempt to calculate a value if the cached value is null.

Specified by:
getCachedValue in interface FieldContainer
Parameters:
field - field identifier
Returns:
field value

getCurrentValue

public Object getCurrentValue(FieldType field)
Retrieve a field value. If the cached value is null, attempt to calculate the current value.

Specified by:
getCurrentValue in interface FieldContainer
Parameters:
field - field identifier
Returns:
field value

set

public void set(FieldType field,
                Object value)
Set a field value.

Specified by:
set in interface FieldContainer
Parameters:
field - field identifier
value - field value

addFieldListener

public void addFieldListener(FieldListener listener)
Add a listener to receive field events.

Specified by:
addFieldListener in interface FieldContainer
Parameters:
listener - target listener

removeFieldListener

public void removeFieldListener(FieldListener listener)
Remove a listener.

Specified by:
removeFieldListener in interface FieldContainer
Parameters:
listener - target listener

toString

public String toString()

Overrides:
toString in class Object

isPredecessor

public boolean isPredecessor(Task task)
Utility method used to determine if the supplied task is a predecessor of the current task.

Parameters:
task - potential predecessor task
Returns:
Boolean flag

isSucessor

public boolean isSucessor(Task task)
Utility method used to determine if the supplied task is a successor of the current task.

Parameters:
task - potential successor task
Returns:
Boolean flag

disableEvents

public void disableEvents()
Disable events firing when fields are updated.


enableEvents

public void enableEvents()
Enable events firing when fields are updated. This is the default state.


getParentFile

public final ProjectFile getParentFile()
Accessor method allowing retrieval of ProjectFile reference.

Returns:
reference to this the parent ProjectFile instance


Copyright © 2012. All Rights Reserved.