Class SummaryAssignmentSpread
java.lang.Object
com.primavera.common.value.spread.BaseSpread
com.primavera.common.value.spread.ResourceAssignmentBaseSpread
com.primavera.common.value.spread.SummaryAssignmentSpread
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<SpreadPeriod>
- Direct Known Subclasses:
ProjectResourceRoleSpread,WBSResourceRoleSpread
Base class for summarized Resource/Role assignment spread data. This object contains unit and/or cost fields that have been spread for a particular Resource/Role over zero to many spread periods.
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.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.The resource type for this summarized assignment, possible values are:.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.voidsetFinancialPeriodIds(Map<Date, ObjectId> financialPeriodIds) Sets the map that enables eachSpreadPeriodto determine which financial period it corresponds to.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.voidsetResourceType(String resourceType) Sets the resource type for this summarized assignment, valid values are:.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
-
SummaryAssignmentSpread
-
-
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
-
getResourceType
The resource type for this summarized assignment, possible values are:.LABORfor labor ResourcesNONLABORfor non-labor ResourcesMATERIALfor material Resourcesnullfor Roles- Returns:
- the resource type for this summarized assignment
-
setResourceType
Sets the resource type for this summarized assignment, valid values are:.LABORfor labor ResourcesNONLABORfor non-labor ResourcesMATERIALfor material Resourcesnullfor Roles- Parameters:
resourceType- the resource type for this summarized assignment
-
setFinancialPeriodIds
Sets the map that enables eachSpreadPeriodto determine which financial period it corresponds to.- Parameters:
financialPeriodIds- map of Financial Period object IDs, keyed by the period's start date
-