Class ResourceAssignmentCBSSpread
java.lang.Object
com.primavera.common.value.spread.BaseSpread
com.primavera.common.value.spread.ResourceAssignmentCBSBaseSpread
com.primavera.common.value.spread.ResourceAssignmentCBSSpread
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<SpreadPeriod>
Resource CBS spread for Project, containing unit and/or cost fields that have been spread for a particular project over zero to many spread periods. For Resource CBS spreads to be successfully loaded, the summarizer job service must have first been run on that particular project.
See the description in BaseSpread for information on how to access the loaded spread data.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe latest actual finish date for this summarized assignment, ornullif any of the assignments have not finished.The earliest actual start date for this summarized assignment, ornullif none of the assignments have started.Gets the unique ID of the associated CBS object.Gets the unique ID of the associated Project object.Gets the unique ID of the associated Original Project object.Returns the latest remaining finish date for this summarized assignment, ornullif all assignments have been completed.The earliest remaining start date for this summarized assignment, ornullif all assignments have been completed.Gets the unique ID of the associated Resource object.getSummaryCost(String costField) Gets the values of the associated cost fields.getSummaryDates(String dateField) Sets the values of the associated date fields.getSummaryUnits(String unitField) Gets the values of the associated unit fields.voidsetActualFinishDate(Date actualFinishDate) Sets the actual finish date value for this summarized assignment.voidsetActualStartDate(Date actualStartDate) Sets the actual start date value for this summarized assignment.voidsetCbsObjectId(ObjectId cbsId) Sets the unique ID of the associated CBS object.voidsetProjObjectId(ObjectId projId) Sets the unique ID of the associated Project object.voidsetProjOrigObjectId(ObjectId projId) Sets the unique ID of the associated Original Project object.voidsetRemainingFinishDate(Date remainingFinishDate) Sets the remaining finish date value for this summarized assignment.voidsetRemainingStartDate(Date remainingStartDate) Sets the remaining start date value for this summarized assignment.voidsetResourceObjectId(ObjectId resourceId) Sets the unique ID of the associated Resource object.voidsetSummaryCost(String costField, Cost cost) Sets the values of the associated cost fields.voidsetSummaryDates(String dateField, Date date) Gets the values of the associated date fields.voidsetSummaryUnits(String unitField, Unit unit) Sets the values of the associated unit fields.Methods inherited from class com.primavera.common.value.spread.BaseSpread
clearFinancialValues, ensureSpreadSpansDate, ensureSpreadSpansDate, getCostFields, getSpreadBucketType, getSpreadBucketTypeEnum, getSpreadEnd, getSpreadIterator, getSpreadPeriod, getSpreadStart, getUnitFields, hasCumulativeData, iterator, size, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ResourceAssignmentCBSSpread
-
-
Method Details
-
getActualStartDate
The earliest actual start date for this summarized assignment, ornullif none of the assignments have started.- Returns:
- the earliest actual start date for this summarized assignment
-
setActualStartDate
Sets the actual start date value for this summarized assignment.- Parameters:
actualStartDate- the actual start date for this assignment
-
getActualFinishDate
The latest actual finish date for this summarized assignment, ornullif any of the assignments have not finished.- Returns:
- the latest actual finish date for this summarized assignment
-
setActualFinishDate
Sets the actual finish date value for this summarized assignment.- Parameters:
actualFinishDate- the actual finish date for this assignment
-
getRemainingStartDate
The earliest remaining start date for this summarized assignment, ornullif all assignments have been completed.- Returns:
- the earliest remaining start date for this summarized assignment
-
setRemainingStartDate
Sets the remaining start date value for this summarized assignment.- Parameters:
remainingStartDate- the remaining start date for this summarized assignment
-
getRemainingFinishDate
Returns the latest remaining finish date for this summarized assignment, ornullif all assignments have been completed.- Returns:
- the remaining finish date for this summarized assignment
-
setRemainingFinishDate
Sets the remaining finish date value for this summarized assignment.- Parameters:
remainingFinishDate- the remaining finish date for this summarized assignment
-
getResourceObjectId
Gets the unique ID of the associated Resource object.- Returns:
- the unique ID of the Resource
-
setResourceObjectId
Sets the unique ID of the associated Resource object.- Parameters:
resourceObjectId- the unique ID of the Resource
-
getCbsObjectId
Gets the unique ID of the associated CBS object.- Returns:
- the unique ID of the CBS
-
setCbsObjectId
Sets the unique ID of the associated CBS object.- Parameters:
cbsObjectId- the unique ID of the CBS
-
getProjObjectId
Gets the unique ID of the associated Project object.- Returns:
- the unique ID of the Project
-
setProjObjectId
Sets the unique ID of the associated Project object.- Parameters:
projObjectId- the unique ID of the Project
-
getProjOrigObjectId
Gets the unique ID of the associated Original Project object.- Returns:
- the unique ID of the Original Project
-
setProjOrigObjectId
Sets the unique ID of the associated Original Project object.- Parameters:
projObjectId- the unique ID of the Original Project
-
getSummaryUnits
Gets the values of the associated unit fields.- Returns:
- values of the associated unit fields
-
setSummaryUnits
Sets the values of the associated unit fields.- Parameters:
unit- field name and unit value
-
getSummaryCost
Gets the values of the associated cost fields.- Returns:
- values of the associated cost fields
-
setSummaryCost
Sets the values of the associated cost fields.- Parameters:
cost- field name and cost value
-
setSummaryDates
Gets the values of the associated date fields. -
getSummaryDates
Sets the values of the associated date fields.- Parameters:
date- field name and date value
-