Class ExpenseCategoryCBSSpread
java.lang.Object
com.primavera.common.value.spread.BaseSpread
com.primavera.common.value.spread.ExpenseCategorySpread
com.primavera.common.value.spread.ExpenseCategoryCBSSpread
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<SpreadPeriod>
public class ExpenseCategoryCBSSpread
extends com.primavera.common.value.spread.ExpenseCategorySpread
Expense Category 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 Expense Category 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 TypeMethodDescriptionGets the unique ID of the associated CBS object.Gets the unique ID of the associated Resource object.Gets the unique ID of the associated Project object.Gets the unique ID of the associated Original Project object.getSummaryCost(String costFiled) Gets the values of the associated cost fields.getSummaryUnits(String unitFiled) Gets the values of the associated unit fields.voidsetCbsObjectId(ObjectId cbsId) Sets the unique ID of the associated CBS object.voidsetExpenseCategoryObjectId(ObjectId expenseCategoryId) Sets the unique ID of the associated Resource 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.voidsetSummaryCost(String costFiled, Cost cost) Sets the values of the associated cost fields.voidsetSummaryUnits(String unitFiled, Unit unit) Sets the values of the associated unit fields.Methods inherited from class com.primavera.common.value.spread.ExpenseCategorySpread
setFinancialPeriodIdsMethods 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
-
ExpenseCategoryCBSSpread
-
-
Method Details
-
getExpenseCategoryObjectId
Gets the unique ID of the associated Resource object.- Overrides:
getExpenseCategoryObjectIdin classcom.primavera.common.value.spread.ExpenseCategorySpread- Returns:
- the unique ID of the Resource
-
setExpenseCategoryObjectId
Sets the unique ID of the associated Resource object.- Overrides:
setExpenseCategoryObjectIdin classcom.primavera.common.value.spread.ExpenseCategorySpread- 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
-