public final class ResourceAssignment extends Object implements FieldContainer
| Modifier and Type | Field and Description |
|---|---|
static Double |
DEFAULT_UNITS
Default units value: 100%.
|
| Constructor and Description |
|---|
ResourceAssignment(ProjectFile file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFieldListener(FieldListener listener)
Add a listener to receive field events.
|
ResourceAssignmentWorkgroupFields |
addWorkgroupAssignment()
This method allows a resource assignment workgroup fields record
to be added to the current resource assignment.
|
void |
disableEvents()
Disable events firing when fields are updated.
|
void |
enableEvents()
Enable events firing when fields are updated.
|
Number |
getActualCost()
Returns the actual cost for this resource assignment.
|
Date |
getActualFinish()
Retrieve the actual finish date.
|
Number |
getActualOvertimeCost()
Returns the actual overtime cost of this resource assignment.
|
Duration |
getActualOvertimeWork()
Returns the actual overtime work of this resource assignment.
|
Date |
getActualStart()
Retrieve the actual start date.
|
Duration |
getActualWork()
Returns the actual completed work of this resource assignment.
|
Number |
getACWP()
Retrieve the ACWP value.
|
Number |
getBaselineBudgetCost()
Retrieves the baseline budget cost.
|
Number |
getBaselineBudgetCost(int baselineNumber)
Retrieve a baseline value.
|
Duration |
getBaselineBudgetWork()
Retrieves the baseline budget work value.
|
Duration |
getBaselineBudgetWork(int baselineNumber)
Retrieve a baseline value.
|
Number |
getBaselineCost()
Returns the planned cost for this resource assignment.
|
Number |
getBaselineCost(int baselineNumber)
Retrieve a baseline value.
|
Date |
getBaselineFinish()
Retrieve the baseline finish date.
|
Date |
getBaselineFinish(int baselineNumber)
Retrieve a baseline value.
|
Date |
getBaselineStart()
Retrieve the baseline start date.
|
Date |
getBaselineStart(int baselineNumber)
Retrieve a baseline value.
|
Duration |
getBaselineWork()
Returns the baseline work of this resource assignment.
|
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.
|
Number |
getBudgetCost()
Retrieves the budget cost.
|
Duration |
getBudgetWork()
Retrieves the budget work value.
|
Object |
getCachedValue(FieldType field)
Retrieve a field value.
|
ProjectCalendar |
getCalendar()
Retrieves the calendar used for this resource assignment.
|
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.
|
Number |
getCost()
Returns the cost of this resource assignment.
|
Number |
getCost(int index)
Retrieve a cost value.
|
CostRateTable |
getCostRateTable()
Returns the cost rate table for this assignment.
|
int |
getCostRateTableIndex()
Returns the cost rate table index for this assignment.
|
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.
|
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 |
getDate(int index)
Retrieve a date value.
|
Duration |
getDelay()
Returns the delay for this resource assignment.
|
Duration |
getDuration(int index)
Retrieve a duration value.
|
Number |
getEnterpriseCost(int index)
Retrieve an enterprise cost value.
|
String |
getEnterpriseCustomField(int index)
Retrieve an enterprise custom field value.
|
Date |
getEnterpriseDate(int index)
Retrieve an enterprise date value.
|
Duration |
getEnterpriseDuration(int index)
Retrieve an enterprise duration value.
|
boolean |
getEnterpriseFlag(int index)
Retrieve an enterprise flag value.
|
Number |
getEnterpriseNumber(int index)
Retrieve an enterprise number value.
|
String |
getEnterpriseText(int index)
Retrieve an enterprise text value.
|
Date |
getFinish()
Returns the finish date for this resource assignment.
|
Date |
getFinish(int index)
Retrieve a finish value.
|
Duration |
getFinishVariance()
Calculate the finish variance.
|
boolean |
getFlag(int index)
Retrieve a flag value.
|
UUID |
getGUID()
Retrieve the task GUID.
|
boolean |
getHasTimephasedData()
Retrieve a flag indicating if this resource assignment has timephased
data associated with it.
|
String |
getHyperlink()
Retrieves the task hyperlink attribute.
|
String |
getHyperlinkAddress()
Retrieves the task hyperlink address attribute.
|
String |
getHyperlinkScreenTip()
Retrieves the hyperlink screen tip attribute.
|
String |
getHyperlinkSubAddress()
Retrieves the task hyperlink sub-address attribute.
|
Duration |
getLevelingDelay()
Retrieves the leveling delay for this resource assignment.
|
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.
|
String |
getNotes()
The Notes field contains notes that you can enter about a task.
|
Number |
getNumber(int index)
Retrieve a number value.
|
Number |
getOvertimeCost()
Returns the overtime cost of this resource assignment.
|
Duration |
getOvertimeWork()
Returns the overtime work done of this resource assignment.
|
ProjectFile |
getParentFile()
Accessor method allowing retrieval of ProjectFile reference.
|
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.
|
Duration |
getRegularWork()
Returns the regular work of this resource assignment.
|
Number |
getRemainingCost()
Returns the remaining cost of this resource assignment.
|
Number |
getRemainingOvertimeCost()
Returns the remaining overtime cost of this resource assignment.
|
Duration |
getRemainingOvertimeWork()
Returns the remaining overtime work of this resource assignment.
|
Duration |
getRemainingWork()
Returns the remaining work for this resource assignment.
|
Resource |
getResource()
This method retrieves a reference to the resource with which this
assignment is associated.
|
Integer |
getResourceUniqueID()
Returns the resources unique id for this resource assignment.
|
boolean |
getResponsePending()
Retrieves a flag to indicate if a response has been received from a resource
assigned to a task.
|
Date |
getStart()
Returns the start of this resource assignment.
|
Date |
getStart(int index)
Retrieve a start value.
|
Duration |
getStartVariance()
Calculate the start variance.
|
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.
|
Task |
getTask()
This method retrieves a reference to the task with which this
assignment is associated.
|
Integer |
getTaskUniqueID()
Retrieve the parent task unique ID.
|
boolean |
getTeamStatusPending()
Retrieves a flag to indicate if a response has been received from a resource
assigned to a task.
|
String |
getText(int index)
Retrieve a text value.
|
List<TimephasedCost> |
getTimephasedActualCost()
Retrieves the timephased breakdown of actual cost.
|
List<TimephasedWork> |
getTimephasedActualOvertimeWork()
Retrieves the timephased breakdown of the actual overtime work for this
resource assignment.
|
List<TimephasedWork> |
getTimephasedActualWork()
Retrieves the timephased breakdown of the completed work for this
resource assignment.
|
List<TimephasedCost> |
getTimephasedBaselineCost(int index)
Retrieve timephased baseline cost.
|
List<TimephasedWork> |
getTimephasedBaselineWork(int index)
Retrieve timephased baseline work.
|
List<TimephasedCost> |
getTimephasedCost()
Retrieves the timephased breakdown of cost.
|
List<TimephasedWork> |
getTimephasedOvertimeWork()
Retrieves the timephased breakdown of the planned overtime work for this
resource assignment.
|
List<TimephasedWork> |
getTimephasedWork()
Retrieves the timephased breakdown of the planned work for this
resource assignment.
|
Integer |
getUniqueID()
Retrieve the unique ID of this resource assignment.
|
Number |
getUnits()
Returns the units of this resource assignment.
|
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.
|
Number |
getVAC()
Returns the VAC for this resource assignment.
|
TimeUnit |
getVariableRateUnits()
Retrieve the variable rate time units, null if fixed rate.
|
Duration |
getWork()
Returns the work of this resource assignment.
|
WorkContour |
getWorkContour()
This method returns the Work Contour type of this Assignment.
|
ResourceAssignmentWorkgroupFields |
getWorkgroupAssignment()
Gets the Resource Assignment Workgroup Fields if one exists.
|
Duration |
getWorkVariance()
The Work Variance field contains the difference between a task's
baseline work and the currently scheduled work.
|
void |
remove()
Removes this resource assignment from the project.
|
void |
removeFieldListener(FieldListener listener)
Remove a listener.
|
void |
set(FieldType field,
Object value)
Set a field value.
|
void |
setActualCost(Number actualCost)
Sets the actual cost so far incurred for this resource assignment.
|
void |
setActualFinish(Date finish)
Set the actual finish date.
|
void |
setActualOvertimeCost(Number cost)
Sets the actual overtime cost for this resource assignment.
|
void |
setActualOvertimeWork(Duration dur)
Sets the actual overtime work for this resource assignment.
|
void |
setActualStart(Date start)
Set the actual start date.
|
void |
setActualWork(Duration val)
Sets the actual completed work for this resource assignment.
|
void |
setACWP(Number acwp)
Set the ACWP value.
|
void |
setBaselineBudgetCost(int baselineNumber,
Number value)
Set a baseline value.
|
void |
setBaselineBudgetCost(Number cost)
Sets the baseline budget cost.
|
void |
setBaselineBudgetWork(Duration work)
Sets the baseline budget work value.
|
void |
setBaselineBudgetWork(int baselineNumber,
Duration value)
Set a baseline value.
|
void |
setBaselineCost(int baselineNumber,
Number value)
Set a baseline value.
|
void |
setBaselineCost(Number val)
Sets the planned cost for this resource assignment.
|
void |
setBaselineFinish(Date finish)
Set the baseline finish date.
|
void |
setBaselineFinish(int baselineNumber,
Date value)
Set a baseline value.
|
void |
setBaselineStart(Date start)
Set the baseline start date.
|
void |
setBaselineStart(int baselineNumber,
Date value)
Set a baseline value.
|
void |
setBaselineWork(Duration val)
Sets the baseline work for this resource assignment.
|
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 |
setBudgetCost(Number cost)
Sets the budget cost.
|
void |
setBudgetWork(Duration work)
Sets the budget work value.
|
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 |
setCost(int index,
Number value)
Set a cost value.
|
void |
setCost(Number cost)
Sets the cost for this resource assignment.
|
void |
setCostRateTableIndex(int index)
Sets the index of the cost rate table for this assignment.
|
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 |
setCV(Number val)
The CV (earned value cost variance) field shows the difference
between how much it should have cost to achieve the current level of
completion on the task, and how much it has actually cost to achieve the
current level of completion up to the status date or today's date.
|
void |
setDate(int index,
Date value)
Set a date value.
|
void |
setDelay(Duration dur)
Sets the delay for this resource assignment.
|
void |
setDuration(int index,
Duration value)
Set a duration value.
|
void |
setEnterpriseCost(int index,
Number value)
Set an enterprise cost value.
|
void |
setEnterpriseCustomField(int index,
String value)
Set an enterprise custom field value.
|
void |
setEnterpriseDate(int index,
Date value)
Set an enterprise date value.
|
void |
setEnterpriseDuration(int index,
Duration value)
Set an enterprise duration value.
|
void |
setEnterpriseFlag(int index,
boolean value)
Set an enterprise flag value.
|
void |
setEnterpriseNumber(int index,
Number value)
Set an enterprise number value.
|
void |
setEnterpriseText(int index,
String value)
Set an enterprise text value.
|
void |
setFinish(Date val)
Sets the finish date for this resource assignment.
|
void |
setFinish(int index,
Date value)
Set a finish value.
|
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 |
setFlag(int index,
boolean value)
Set a flag value.
|
void |
setGUID(UUID value)
Set the task GUID.
|
void |
setHyperlink(String text)
Sets the task hyperlink attribute.
|
void |
setHyperlinkAddress(String text)
Sets the task hyperlink address attribute.
|
void |
setHyperlinkScreenTip(String text)
Sets the hyperlink screen tip attribute.
|
void |
setHyperlinkSubAddress(String text)
Sets the task hyperlink sub address attribute.
|
void |
setLevelingDelay(Duration levelingDelay)
Sets the leveling delay for this resource assignment.
|
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 |
setNotes(String notes)
This method is used to add notes to the current task.
|
void |
setNumber(int index,
Number value)
Set a number value.
|
void |
setOvertimeCost(Number cost)
Sets the overtime cost for this resource assignment.
|
void |
setOvertimeWork(Duration overtimeWork)
Sets the overtime work for this resource assignment.
|
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 |
setRegularWork(Duration dur)
Sets the regular work for this resource assignment.
|
void |
setRemainingCost(Number cost)
Sets the remaining cost for this resource assignment.
|
void |
setRemainingOvertimeCost(Number cost)
Sets the remaining overtime cost for this resource assignment.
|
void |
setRemainingOvertimeWork(Duration dur)
Sets the remaining overtime work for this resource assignment.
|
void |
setRemainingWork(Duration remainingWork)
Sets the remaining work for this resource assignment.
|
void |
setResourceUniqueID(Integer val)
Sets the resources unique id for this resource assignment.
|
void |
setResponsePending(boolean val)
Sets a flag to indicate if a response has been received from a resource
assigned to a task.
|
void |
setStart(Date val)
Sets the start date for this resource assignment.
|
void |
setStart(int index,
Date value)
Set a start value.
|
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 |
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 |
setTaskUniqueID(Integer id)
Set the parent task unique ID.
|
void |
setTeamStatusPending(boolean val)
Sets a flag to indicate if a response has been received from a resource
assigned to a task.
|
void |
setText(int index,
String value)
Set a text value.
|
void |
setTimephasedActualOvertimeWork(TimephasedWorkData data)
Sets the timephased breakdown of the actual overtime work
for this assignment.
|
void |
setTimephasedActualWork(TimephasedWorkData data)
Sets the timephased breakdown of the completed work for this
resource assignment.
|
void |
setTimephasedBaselineCost(int index,
TimephasedCostData data)
Set timephased baseline cost.
|
void |
setTimephasedBaselineWork(int index,
TimephasedWorkData data)
Set timephased baseline work.
|
void |
setTimephasedWork(TimephasedWorkData data)
Sets the timephased breakdown of the planned work for this
resource assignment.
|
void |
setUniqueID(Integer uniqueID)
Set the unique ID of this resource assignment.
|
void |
setUnits(Number val)
Sets the units for this resource assignment.
|
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 |
setVAC(Number value)
Sets VAC for this resource assignment.
|
void |
setVariableRateUnits(TimeUnit variableRateUnits)
Set the variable rate time units, null if fixed rate.
|
void |
setWork(Duration dur)
Sets the work for this resource assignment.
|
void |
setWorkContour(WorkContour workContour)
This method sets the Work Contour type of this Assignment.
|
void |
setWorkVariance(Duration val)
The Work Variance field contains the difference between a task's baseline
work and the currently scheduled work.
|
String |
toString() |
public static final Double DEFAULT_UNITS
public ResourceAssignment(ProjectFile file)
file - The parent file to which this record belongs.public ResourceAssignmentWorkgroupFields addWorkgroupAssignment() throws MPXJException
MPXJException - if MSP defined limit of 1 is exceededpublic Integer getUniqueID()
public void setUniqueID(Integer uniqueID)
uniqueID - resource assignment unique IDpublic Number getUnits()
public void setUnits(Number val)
val - unitspublic Duration getWork()
public void setWork(Duration dur)
dur - workpublic Date getBaselineStart()
public void setBaselineStart(Date start)
start - baseline start datepublic Date getActualStart()
public void setActualStart(Date start)
start - actual start datepublic Date getBaselineFinish()
public void setBaselineFinish(Date finish)
finish - baseline finishpublic Date getActualFinish()
public void setActualFinish(Date finish)
finish - actual finishpublic Duration getBaselineWork()
public void setBaselineWork(Duration val)
val - planned workpublic Duration getActualWork()
public void setActualWork(Duration val)
val - actual completed workpublic Duration getOvertimeWork()
public void setOvertimeWork(Duration overtimeWork)
overtimeWork - overtime workpublic Number getCost()
public void setCost(Number cost)
cost - costpublic Number getBaselineCost()
public void setBaselineCost(Number val)
val - planned costpublic Number getActualCost()
public void setActualCost(Number actualCost)
actualCost - actual costpublic Date getStart()
public void setStart(Date val)
val - start datepublic Date getFinish()
public void setFinish(Date val)
val - finish datepublic Duration getDelay()
public void setDelay(Duration dur)
dur - delaypublic Integer getResourceUniqueID()
public void setResourceUniqueID(Integer val)
val - resources unique idpublic ResourceAssignmentWorkgroupFields getWorkgroupAssignment()
public Task getTask()
public Resource getResource()
public WorkContour getWorkContour()
public void setWorkContour(WorkContour workContour)
workContour - the Work Contour typepublic void remove()
public Duration getRemainingWork()
public void setRemainingWork(Duration remainingWork)
remainingWork - remaining workpublic Duration getLevelingDelay()
public void setLevelingDelay(Duration levelingDelay)
levelingDelay - leveling delaypublic List<TimephasedWork> getTimephasedActualWork()
public void setTimephasedActualWork(TimephasedWorkData data)
data - timephased datapublic List<TimephasedWork> getTimephasedWork()
public void setTimephasedWork(TimephasedWorkData data)
data - timephased datapublic List<TimephasedWork> getTimephasedOvertimeWork()
public void setTimephasedActualOvertimeWork(TimephasedWorkData data)
data - timephased workpublic List<TimephasedWork> getTimephasedActualOvertimeWork()
public List<TimephasedCost> getTimephasedCost()
public List<TimephasedCost> getTimephasedActualCost()
public boolean getHasTimephasedData()
public void setTimephasedBaselineWork(int index,
TimephasedWorkData data)
index - baseline indexdata - timephased datapublic void setTimephasedBaselineCost(int index,
TimephasedCostData data)
index - baseline indexdata - timephased datapublic List<TimephasedWork> getTimephasedBaselineWork(int index)
index - baseline indexpublic List<TimephasedCost> getTimephasedBaselineCost(int index)
index - baseline indexpublic ProjectCalendar getCalendar()
public TimeUnit getVariableRateUnits()
public void setVariableRateUnits(TimeUnit variableRateUnits)
variableRateUnits - variable rate unitspublic void setTaskUniqueID(Integer id)
id - task unique IDpublic Integer getTaskUniqueID()
public Number getBudgetCost()
public void setBudgetCost(Number cost)
cost - budget costpublic Duration getBudgetWork()
public void setBudgetWork(Duration work)
work - budget workpublic Number getBaselineBudgetCost()
public void setBaselineBudgetCost(Number cost)
cost - baseline budget costpublic Duration getBaselineBudgetWork()
public void setBaselineBudgetWork(Duration work)
work - baseline budget workpublic void setBaselineCost(int baselineNumber,
Number value)
baselineNumber - baseline index (1-10)value - baseline valuepublic void setBaselineWork(int baselineNumber,
Duration value)
baselineNumber - baseline index (1-10)value - baseline valuepublic Duration getBaselineWork(int baselineNumber)
baselineNumber - baseline index (1-10)public Number getBaselineCost(int baselineNumber)
baselineNumber - baseline index (1-10)public void setBaselineStart(int baselineNumber,
Date value)
baselineNumber - baseline index (1-10)value - baseline valuepublic Date getBaselineStart(int baselineNumber)
baselineNumber - baseline index (1-10)public void setBaselineFinish(int baselineNumber,
Date value)
baselineNumber - baseline index (1-10)value - baseline valuepublic Date getBaselineFinish(int baselineNumber)
baselineNumber - baseline index (1-10)public void setBaselineBudgetCost(int baselineNumber,
Number value)
baselineNumber - baseline index (1-10)value - baseline valuepublic void setBaselineBudgetWork(int baselineNumber,
Duration value)
baselineNumber - baseline index (1-10)value - baseline valuepublic Duration getBaselineBudgetWork(int baselineNumber)
baselineNumber - baseline index (1-10)public Number getBaselineBudgetCost(int baselineNumber)
baselineNumber - baseline index (1-10)public void setText(int index,
String value)
index - text index (1-30)value - text valuepublic String getText(int index)
index - text index (1-30)public void setStart(int index,
Date value)
index - start index (1-10)value - start valuepublic Date getStart(int index)
index - start index (1-10)public void setFinish(int index,
Date value)
index - finish index (1-10)value - finish valuepublic Date getFinish(int index)
index - finish index (1-10)public void setDate(int index,
Date value)
index - date index (1-10)value - date valuepublic Date getDate(int index)
index - date index (1-10)public void setNumber(int index,
Number value)
index - number index (1-20)value - number valuepublic Number getNumber(int index)
index - number index (1-20)public void setDuration(int index,
Duration value)
index - duration index (1-10)value - duration valuepublic Duration getDuration(int index)
index - duration index (1-10)public void setCost(int index,
Number value)
index - cost index (1-10)value - cost valuepublic Number getCost(int index)
index - cost index (1-10)public void setFlag(int index,
boolean value)
index - flag index (1-20)value - flag valuepublic boolean getFlag(int index)
index - flag index (1-20)public void setEnterpriseCost(int index,
Number value)
index - cost index (1-30)value - cost valuepublic Number getEnterpriseCost(int index)
index - cost index (1-30)public void setEnterpriseDate(int index,
Date value)
index - date index (1-30)value - date valuepublic Date getEnterpriseDate(int index)
index - date index (1-30)public void setEnterpriseDuration(int index,
Duration value)
index - duration index (1-30)value - duration valuepublic Duration getEnterpriseDuration(int index)
index - duration index (1-30)public void setEnterpriseFlag(int index,
boolean value)
index - flag index (1-20)value - flag valuepublic boolean getEnterpriseFlag(int index)
index - flag index (1-20)public void setEnterpriseNumber(int index,
Number value)
index - number index (1-40)value - number valuepublic Number getEnterpriseNumber(int index)
index - number index (1-40)public void setEnterpriseText(int index,
String value)
index - text index (1-40)value - text valuepublic String getEnterpriseText(int index)
index - text index (1-40)public String getEnterpriseCustomField(int index)
index - field indexpublic void setEnterpriseCustomField(int index,
String value)
index - field indexvalue - field valuepublic Duration getRegularWork()
public void setRegularWork(Duration dur)
dur - workpublic Duration getActualOvertimeWork()
public void setActualOvertimeWork(Duration dur)
dur - workpublic Duration getRemainingOvertimeWork()
public void setRemainingOvertimeWork(Duration dur)
dur - workpublic Number getOvertimeCost()
public void setOvertimeCost(Number cost)
cost - costpublic Number getRemainingCost()
public void setRemainingCost(Number cost)
cost - costpublic Number getActualOvertimeCost()
public void setActualOvertimeCost(Number cost)
cost - costpublic Number getRemainingOvertimeCost()
public void setRemainingOvertimeCost(Number cost)
cost - costpublic void setBCWP(Number val)
val - the amount to be setpublic Number getBCWP()
public void setBCWS(Number val)
val - the amount to setpublic Number getBCWS()
public Number getACWP()
public void setACWP(Number acwp)
acwp - ACWP valuepublic void setSV(Number val)
val - - currency amountpublic Number getSV()
public void setCV(Number val)
val - value to setpublic Number getCV()
public void setCostVariance(Number val)
val - amountpublic Number getCostVariance()
public void setPercentageWorkComplete(Number val)
val - value to be setpublic Number getPercentageWorkComplete()
public void setNotes(String notes)
notes - notes to be addedpublic String getNotes()
public void setConfirmed(boolean val)
val - boolean valuepublic boolean getConfirmed()
public void setUpdateNeeded(boolean val)
val - - booleanpublic boolean getUpdateNeeded()
public void setLinkedFields(boolean flag)
flag - boolean valuepublic boolean getLinkedFields()
public String getHyperlink()
public String getHyperlinkAddress()
public String getHyperlinkSubAddress()
public void setHyperlink(String text)
text - hyperlink attributepublic void setHyperlinkAddress(String text)
text - hyperlink address attributepublic void setHyperlinkSubAddress(String text)
text - hyperlink sub address attributepublic void setWorkVariance(Duration val)
val - - durationpublic Duration getWorkVariance()
public void setStartVariance(Duration val)
val - - durationpublic Duration getStartVariance()
public void setFinishVariance(Duration duration)
duration - duration valuepublic Duration getFinishVariance()
public Date getCreateDate()
public void setCreateDate(Date val)
val - datepublic UUID getGUID()
public void setGUID(UUID value)
value - task GUIDpublic void setResponsePending(boolean val)
val - boolean valuepublic boolean getResponsePending()
public void setTeamStatusPending(boolean val)
val - boolean valuepublic boolean getTeamStatusPending()
public void setVAC(Number value)
value - VAC valuepublic Number getVAC()
public void setCostRateTableIndex(int index)
index - cost rate table indexpublic int getCostRateTableIndex()
public CostRateTable getCostRateTable()
public String getHyperlinkScreenTip()
public void setHyperlinkScreenTip(String text)
text - hyperlink screen tip attributepublic void set(FieldType field, Object value)
set in interface FieldContainerfield - field identifiervalue - field valuepublic void addFieldListener(FieldListener listener)
addFieldListener in interface FieldContainerlistener - target listenerpublic void removeFieldListener(FieldListener listener)
removeFieldListener in interface FieldContainerlistener - target listenerpublic Object getCachedValue(FieldType field)
getCachedValue in interface FieldContainerfield - field identifierpublic Object getCurrentValue(FieldType field)
getCurrentValue in interface FieldContainerfield - field identifierpublic void disableEvents()
public void enableEvents()
public final ProjectFile getParentFile()
Copyright © 2013. All Rights Reserved.