public final class ResourceAssignment extends AbstractFieldContainer<ResourceAssignment> implements ProjectEntityWithMutableUniqueID, TimePeriodEntity
Modifier and Type | Field and Description |
---|---|
static Double |
DEFAULT_UNITS
Default units value: 100%.
|
Constructor and Description |
---|
ResourceAssignment(ProjectFile file,
Task task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addResourceAssignmentCodeValue(ResourceAssignmentCodeValue value)
Assign a resource assignment code value to this resource assignment.
|
ResourceAssignmentWorkgroupFields |
addWorkgroupAssignment()
This method allows a resource assignment workgroup fields record
to be added to the current resource assignment.
|
Number |
getActualCost()
Returns the actual cost for this resource assignment.
|
LocalDateTime |
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.
|
LocalDateTime |
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.
|
LocalDateTime |
getBaselineFinish()
Retrieve the baseline finish date.
|
LocalDateTime |
getBaselineFinish(int baselineNumber)
Retrieve a baseline value.
|
LocalDateTime |
getBaselineStart()
Retrieve the baseline start date.
|
LocalDateTime |
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.
|
boolean |
getCalculateCostsFromUnits()
Retrieve the calculate costs from units flag.
|
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.
|
CostAccount |
getCostAccount()
Retrieve the cost account for this resource assignment.
|
Integer |
getCostAccountUniqueID()
Retrieve the cost account unique ID for this resource assignment.
|
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.
|
LocalDateTime |
getCreateDate()
The Created field contains the date and time when a task was added
to the project.
|
Number |
getCV()
The CV (earned value cost variance) field shows the difference between
how much it should have cost to achieve the current level of completion
on the task, and how much it has actually cost to achieve the current
level of completion up to the status date or today's date.
|
LocalDateTime |
getDate(int index)
Retrieve a date value.
|
Duration |
getDelay()
Returns the delay for this resource assignment.
|
Duration |
getDuration(int index)
Retrieve a duration value.
|
ProjectCalendar |
getEffectiveCalendar()
Retrieves the effective calendar used for this resource assignment.
|
Rate |
getEffectiveRate(LocalDateTime date)
Based on the configuration data for this resource assignment,
return the cost rate effective on the supplied date.
|
Number |
getEnterpriseCost(int index)
Retrieve an enterprise cost value.
|
LocalDateTime |
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.
|
Object |
getFieldByAlias(String alias)
Retrieve the value of a field using its alias.
|
LocalDateTime |
getFinish()
Returns the finish date for this resource assignment.
|
LocalDateTime |
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()
Retrieve the plain text representation of the assignment notes.
|
Notes |
getNotesObject()
Retrieve an object which contains both the plain text notes
and, if relevant, the original formatted version of the notes.
|
Number |
getNumber(int index)
Retrieve a number value.
|
Rate |
getOverrideRate()
Retrieve the rate to use in place of the value from the cost rate table.
|
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.
|
Number |
getPlannedCost()
Retrieve the planned cost field.
|
LocalDateTime |
getPlannedFinish()
Retrieve the planned finish value.
|
LocalDateTime |
getPlannedStart()
Set the planned start field.
|
Duration |
getPlannedWork()
Retrieve the planned work field.
|
Integer |
getRateIndex()
Retrieve the index of the rate in the cost rate table used
to calculate the cost for this resource assignment.
|
RateSource |
getRateSource()
Retrieve the source of the cost rate to be used for this resource assignment.
|
Duration |
getRegularWork()
Returns the regular work of this resource assignment.
|
Number |
getRemainingCost()
Returns the remaining cost of this resource assignment.
|
LocalDateTime |
getRemainingEarlyFinish()
Retrieve the remaining early finish value.
|
LocalDateTime |
getRemainingEarlyStart()
Retrieve the remaining early start value.
|
LocalDateTime |
getRemainingLateFinish()
Retrieve the remaining late finish value.
|
LocalDateTime |
getRemainingLateStart()
Retrieve the remaining late start value.
|
Number |
getRemainingOvertimeCost()
Returns the remaining overtime cost of this resource assignment.
|
Duration |
getRemainingOvertimeWork()
Returns the remaining overtime work of this resource assignment.
|
Number |
getRemainingUnits()
Returns the remaining units 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.
|
Map<ResourceAssignmentCode,ResourceAssignmentCodeValue> |
getResourceAssignmentCodeValues()
Retrieve the resource assignment code values associated with this resource assignment.
|
ResourceRequestType |
getResourceRequestType()
Retrieves the resource request type attribute.
|
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.
|
LocalDateTime |
getResume()
Retrieve the resume date.
|
Resource |
getRole()
Retrieve the role in which this resource assignment is being performed.
|
Integer |
getRoleUniqueID()
Retrieve the role unique ID in which this resource assignment is being performed.
|
LocalDateTime |
getStart()
Returns the start of this resource assignment.
|
LocalDateTime |
getStart(int index)
Retrieve a start value.
|
Duration |
getStartVariance()
Calculate the start variance.
|
LocalDateTime |
getStop()
Retrieve the stop 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.
|
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> |
getTimephasedPlannedWork()
Retrieves the timephased breakdown of the planned 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.
|
protected void |
handleFieldChange(FieldType field,
Object oldValue,
Object newValue)
Clear any cached calculated values which will be affected by this change.
|
void |
remove()
Removes this resource assignment from the project.
|
void |
setActualCost(Number actualCost)
Sets the actual cost so far incurred for this resource assignment.
|
void |
setActualFinish(LocalDateTime 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(LocalDateTime 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(int baselineNumber,
LocalDateTime value)
Set a baseline value.
|
void |
setBaselineFinish(LocalDateTime finish)
Set the baseline finish date.
|
void |
setBaselineStart(int baselineNumber,
LocalDateTime value)
Set a baseline value.
|
void |
setBaselineStart(LocalDateTime start)
Set the baseline start date.
|
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 |
setCalculateCostsFromUnits(boolean calculateCostsFromUnits)
Set the calculate costs from units flag.
|
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 |
setCostAccount(CostAccount costAccount)
Set the cost account for this resource assignment.
|
void |
setCostAccountUniqueID(Integer id)
Set the cost account unique ID 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(LocalDateTime 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,
LocalDateTime 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 |
setEnterpriseDate(int index,
LocalDateTime 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 |
setFieldByAlias(String alias,
Object value)
Set the value of a field using its alias.
|
void |
setFinish(int index,
LocalDateTime value)
Set a finish value.
|
void |
setFinish(LocalDateTime val)
Sets the finish date for this resource assignment.
|
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 |
setNotesObject(Notes notes)
Set the Notes instance representing the assignment notes.
|
void |
setNumber(int index,
Number value)
Set a number value.
|
void |
setOverrideRate(Rate rate)
Set the rate to use in place of the value from the cost rate table.
|
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 |
setPlannedCost(Number value)
Set the planned cost field.
|
void |
setPlannedFinish(LocalDateTime value)
Set the planned finish value.
|
void |
setPlannedStart(LocalDateTime value)
Retrieve the planned start field.
|
void |
setPlannedWork(Duration value)
Set the planned work field.
|
void |
setRateIndex(Integer index)
Set the index of the rate in the cost rate table used
to calculate the cost for this resource assignment.
|
void |
setRateSource(RateSource source)
Set the source of the cost rate to be used for this resource assignment.
|
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 |
setRemainingEarlyFinish(LocalDateTime date)
Set the remaining early finish value.
|
void |
setRemainingEarlyStart(LocalDateTime date)
Set the remaining early start value.
|
void |
setRemainingLateFinish(LocalDateTime date)
Set the remaining late finish value.
|
void |
setRemainingLateStart(LocalDateTime date)
Set the remaining late start value.
|
void |
setRemainingOvertimeCost(Number cost)
Sets the remaining overtime cost for this resource assignment.
|
void |
setRemainingOvertimeWork(Duration dur)
Sets the remaining overtime work for this resource assignment.
|
void |
setRemainingUnits(Number val)
Sets the remaining units for this resource assignment.
|
void |
setRemainingWork(Duration remainingWork)
Sets the remaining work for this resource assignment.
|
void |
setResourceRequestType(ResourceRequestType type)
Sets the resource request type attribute.
|
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 |
setResume(LocalDateTime resume)
Set the resume date.
|
void |
setRole(Resource role)
Set the role in which this resource assignment is being performed.
|
void |
setRoleUniqueID(Integer id)
Set the unique ID of the role in which this resource assignment is being performed.
|
void |
setStart(int index,
LocalDateTime value)
Set a start value.
|
void |
setStart(LocalDateTime val)
Sets the start date for this resource assignment.
|
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(LocalDateTime stop)
Set the stop 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(TimephasedWorkContainer data)
Sets the timephased breakdown of the actual overtime work
for this assignment.
|
void |
setTimephasedActualWork(TimephasedWorkContainer data)
Sets the timephased breakdown of the completed work for this
resource assignment.
|
void |
setTimephasedBaselineCost(int index,
TimephasedCostContainer data)
Set timephased baseline cost.
|
void |
setTimephasedBaselineWork(int index,
TimephasedWorkContainer data)
Set timephased baseline work.
|
void |
setTimephasedPlannedWork(TimephasedWorkContainer data)
Sets the timephased breakdown of the planned work for this
resource assignment.
|
void |
setTimephasedWork(TimephasedWorkContainer 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() |
addFieldListener, disableEvents, enableEvents, get, getCachedValue, removeFieldListener, set
public static final Double DEFAULT_UNITS
public ResourceAssignment(ProjectFile file, Task task)
file
- The parent file to which this record belongs.task
- The task to which this assignment is being madepublic ResourceAssignmentWorkgroupFields addWorkgroupAssignment() throws MPXJException
MPXJException
- if MSP defined limit of 1 is exceededpublic Integer getUniqueID()
getUniqueID
in interface ProjectEntityWithUniqueID
public void setUniqueID(Integer uniqueID)
setUniqueID
in interface ProjectEntityWithMutableUniqueID
uniqueID
- resource assignment unique IDpublic Number getUnits()
public void setUnits(Number val)
val
- unitspublic Number getRemainingUnits()
public void setRemainingUnits(Number val)
val
- remaining unitspublic Duration getWork()
public void setWork(Duration dur)
dur
- workpublic LocalDateTime getBaselineStart()
public void setBaselineStart(LocalDateTime start)
start
- baseline start datepublic LocalDateTime getActualStart()
public void setActualStart(LocalDateTime start)
start
- actual start datepublic LocalDateTime getBaselineFinish()
public void setBaselineFinish(LocalDateTime finish)
finish
- baseline finishpublic LocalDateTime getActualFinish()
public void setActualFinish(LocalDateTime 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 LocalDateTime getStart()
getStart
in interface TimePeriodEntity
public void setStart(LocalDateTime val)
val
- start datepublic LocalDateTime getFinish()
getFinish
in interface TimePeriodEntity
public void setFinish(LocalDateTime 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 Integer getRateIndex()
public void setRateIndex(Integer index)
index
- rate indexpublic Integer getRoleUniqueID()
public void setRoleUniqueID(Integer id)
id
- Resource unique ID representing a rolepublic Resource getRole()
public void setRole(Resource role)
role
- Resource instance representing a rolepublic Rate getOverrideRate()
public void setOverrideRate(Rate rate)
rate
- override ratepublic RateSource getRateSource()
public void setRateSource(RateSource source)
source
- rate sourcepublic List<TimephasedWork> getTimephasedPlannedWork()
public void setTimephasedPlannedWork(TimephasedWorkContainer data)
data
- timephased datapublic List<TimephasedWork> getTimephasedActualWork()
public void setTimephasedActualWork(TimephasedWorkContainer data)
data
- timephased datapublic List<TimephasedWork> getTimephasedWork()
public void setTimephasedWork(TimephasedWorkContainer data)
data
- timephased datapublic List<TimephasedWork> getTimephasedOvertimeWork()
public void setTimephasedActualOvertimeWork(TimephasedWorkContainer data)
data
- timephased workpublic List<TimephasedWork> getTimephasedActualOvertimeWork()
public List<TimephasedCost> getTimephasedCost()
public List<TimephasedCost> getTimephasedActualCost()
public boolean getHasTimephasedData()
public void setTimephasedBaselineWork(int index, TimephasedWorkContainer data)
index
- baseline indexdata
- timephased datapublic void setTimephasedBaselineCost(int index, TimephasedCostContainer data)
index
- baseline indexdata
- timephased datapublic List<TimephasedWork> getTimephasedBaselineWork(int index)
index
- baseline indexpublic List<TimephasedCost> getTimephasedBaselineCost(int index)
index
- baseline indexpublic ProjectCalendar getEffectiveCalendar()
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, LocalDateTime value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic LocalDateTime getBaselineStart(int baselineNumber)
baselineNumber
- baseline index (1-10)public void setBaselineFinish(int baselineNumber, LocalDateTime value)
baselineNumber
- baseline index (1-10)value
- baseline valuepublic LocalDateTime 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, LocalDateTime value)
index
- start index (1-10)value
- start valuepublic LocalDateTime getStart(int index)
index
- start index (1-10)public void setFinish(int index, LocalDateTime value)
index
- finish index (1-10)value
- finish valuepublic LocalDateTime getFinish(int index)
index
- finish index (1-10)public void setDate(int index, LocalDateTime value)
index
- date index (1-10)value
- date valuepublic LocalDateTime 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, LocalDateTime value)
index
- date index (1-30)value
- date valuepublic LocalDateTime 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 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 setNotesObject(Notes notes)
notes
- Notes instancepublic Notes getNotesObject()
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 LocalDateTime getCreateDate()
public void setCreateDate(LocalDateTime 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 ResourceRequestType getResourceRequestType()
public void setResourceRequestType(ResourceRequestType type)
type
- resource request typepublic LocalDateTime getStop()
public void setStop(LocalDateTime stop)
stop
- stop datepublic LocalDateTime getResume()
public void setResume(LocalDateTime resume)
resume
- resume datepublic Duration getPlannedWork()
public void setPlannedWork(Duration value)
value
- planned work valuepublic Number getPlannedCost()
public void setPlannedCost(Number value)
value
- planned cost valuepublic LocalDateTime getPlannedStart()
public void setPlannedStart(LocalDateTime value)
value
- planned start valuepublic LocalDateTime getPlannedFinish()
public void setPlannedFinish(LocalDateTime value)
value
- planned finish valuepublic boolean getCalculateCostsFromUnits()
public void setCalculateCostsFromUnits(boolean calculateCostsFromUnits)
calculateCostsFromUnits
- calculate costs from units flagpublic Integer getCostAccountUniqueID()
public void setCostAccountUniqueID(Integer id)
id
- cost account unique IDpublic CostAccount getCostAccount()
public void setCostAccount(CostAccount costAccount)
costAccount
- cost account for this resource assignmentpublic LocalDateTime getRemainingLateFinish()
public void setRemainingLateFinish(LocalDateTime date)
date
- remaining late finishpublic LocalDateTime getRemainingLateStart()
public void setRemainingLateStart(LocalDateTime date)
date
- remaining late startpublic LocalDateTime getRemainingEarlyFinish()
public void setRemainingEarlyFinish(LocalDateTime date)
date
- remaining early finishpublic LocalDateTime getRemainingEarlyStart()
public void setRemainingEarlyStart(LocalDateTime date)
date
- remaining early startpublic Rate getEffectiveRate(LocalDateTime date)
date
- target datepublic Map<ResourceAssignmentCode,ResourceAssignmentCodeValue> getResourceAssignmentCodeValues()
public void addResourceAssignmentCodeValue(ResourceAssignmentCodeValue value)
value
- resource assignment code valuepublic Object getFieldByAlias(String alias)
alias
- field aliaspublic void setFieldByAlias(String alias, Object value)
alias
- field aliasvalue
- field valueprotected void handleFieldChange(FieldType field, Object oldValue, Object newValue)
field
- modified fieldoldValue
- old value of the updated fieldnewValue
- new value of the updated fieldpublic final ProjectFile getParentFile()
Copyright © 2000–2024 Packwood Software. All rights reserved.