Class ProjectRoleSpread
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<SpreadPeriod>
Role spread for Project, containing unit and/or cost fields that have been spread for a particular project over zero to many spread periods. For Role 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
ConstructorsConstructorDescriptionProjectRoleSpread(SpreadData spreadData) Constructor that creates ProjectRoleSpread object from which all Role spread data for a Project can be accessed. -
Method Summary
Modifier and TypeMethodDescriptionGets the unique ID of the associated Role object.voidsetRoleObjectId(ObjectId roleObjectId) Sets the unique ID of the associated Role object.Methods inherited from class com.primavera.common.value.spread.ProjectResourceRoleSpread
getProjectObjectId, setProjectObjectIdMethods inherited from class com.primavera.common.value.spread.SummaryAssignmentSpread
getActualFinishDate, getActualStartDate, getRemainingFinishDate, getRemainingStartDate, getResourceType, setActualFinishDate, setActualStartDate, setFinancialPeriodIds, setRemainingFinishDate, setRemainingStartDate, setResourceTypeMethods 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
-
ProjectRoleSpread
Constructor that creates ProjectRoleSpread object from which all Role spread data for a Project can be accessed.- Parameters:
spreadData- the actual object which holds the spread data
-
-
Method Details
-
getRoleObjectId
Gets the unique ID of the associated Role object.- Returns:
- the unique ID of the Role
-
setRoleObjectId
Sets the unique ID of the associated Role object.- Parameters:
roleObjectId- the unique ID of the Role
-