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 Details

    • ExpenseCategoryCBSSpread

      public ExpenseCategoryCBSSpread(SpreadData spreadData)
  • Method Details

    • getExpenseCategoryObjectId

      public ObjectId getExpenseCategoryObjectId()
      Gets the unique ID of the associated Resource object.
      Overrides:
      getExpenseCategoryObjectId in class com.primavera.common.value.spread.ExpenseCategorySpread
      Returns:
      the unique ID of the Resource
    • setExpenseCategoryObjectId

      public void setExpenseCategoryObjectId(ObjectId expenseCategoryId)
      Sets the unique ID of the associated Resource object.
      Overrides:
      setExpenseCategoryObjectId in class com.primavera.common.value.spread.ExpenseCategorySpread
      Parameters:
      resourceObjectId - the unique ID of the Resource
    • getCbsObjectId

      public ObjectId getCbsObjectId()
      Gets the unique ID of the associated CBS object.
      Returns:
      the unique ID of the CBS
    • setCbsObjectId

      public void setCbsObjectId(ObjectId cbsId)
      Sets the unique ID of the associated CBS object.
      Parameters:
      cbsObjectId - the unique ID of the CBS
    • getProjObjectId

      public ObjectId getProjObjectId()
      Gets the unique ID of the associated Project object.
      Returns:
      the unique ID of the Project
    • setProjObjectId

      public void setProjObjectId(ObjectId projId)
      Sets the unique ID of the associated Project object.
      Parameters:
      projObjectId - the unique ID of the Project
    • getProjOrigObjectId

      public ObjectId getProjOrigObjectId()
      Gets the unique ID of the associated Original Project object.
      Returns:
      the unique ID of the Original Project
    • setProjOrigObjectId

      public void setProjOrigObjectId(ObjectId projId)
      Sets the unique ID of the associated Original Project object.
      Parameters:
      projObjectId - the unique ID of the Original Project
    • getSummaryUnits

      public Unit getSummaryUnits(String unitFiled)
      Gets the values of the associated unit fields.
      Returns:
      values of the associated unit fields
    • setSummaryUnits

      public void setSummaryUnits(String unitFiled, Unit unit)
      Sets the values of the associated unit fields.
      Parameters:
      unit - field name and unit value
    • getSummaryCost

      public Cost getSummaryCost(String costFiled)
      Gets the values of the associated cost fields.
      Returns:
      values of the associated cost fields
    • setSummaryCost

      public void setSummaryCost(String costFiled, Cost cost)
      Sets the values of the associated cost fields.
      Parameters:
      cost - field name and cost value