Class ResourceAssignmentCBSSpread

All Implemented Interfaces:
Serializable, Cloneable, Iterable<SpreadPeriod>

public class ResourceAssignmentCBSSpread extends ResourceAssignmentCBSBaseSpread

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 Details

    • ResourceAssignmentCBSSpread

      public ResourceAssignmentCBSSpread(SpreadData spreadData)
  • Method Details

    • getActualStartDate

      public Date getActualStartDate()
      The earliest actual start date for this summarized assignment, or null if none of the assignments have started.
      Returns:
      the earliest actual start date for this summarized assignment
    • setActualStartDate

      public void setActualStartDate(Date actualStartDate)
      Sets the actual start date value for this summarized assignment.
      Parameters:
      actualStartDate - the actual start date for this assignment
    • getActualFinishDate

      public Date getActualFinishDate()
      The latest actual finish date for this summarized assignment, or null if any of the assignments have not finished.
      Returns:
      the latest actual finish date for this summarized assignment
    • setActualFinishDate

      public void setActualFinishDate(Date actualFinishDate)
      Sets the actual finish date value for this summarized assignment.
      Parameters:
      actualFinishDate - the actual finish date for this assignment
    • getRemainingStartDate

      public Date getRemainingStartDate()
      The earliest remaining start date for this summarized assignment, or null if all assignments have been completed.
      Returns:
      the earliest remaining start date for this summarized assignment
    • setRemainingStartDate

      public void setRemainingStartDate(Date remainingStartDate)
      Sets the remaining start date value for this summarized assignment.
      Parameters:
      remainingStartDate - the remaining start date for this summarized assignment
    • getRemainingFinishDate

      public Date getRemainingFinishDate()
      Returns the latest remaining finish date for this summarized assignment, or null if all assignments have been completed.
      Returns:
      the remaining finish date for this summarized assignment
    • setRemainingFinishDate

      public void setRemainingFinishDate(Date remainingFinishDate)
      Sets the remaining finish date value for this summarized assignment.
      Parameters:
      remainingFinishDate - the remaining finish date for this summarized assignment
    • getResourceObjectId

      public ObjectId getResourceObjectId()
      Gets the unique ID of the associated Resource object.
      Returns:
      the unique ID of the Resource
    • setResourceObjectId

      public void setResourceObjectId(ObjectId resourceId)
      Sets the unique ID of the associated Resource object.
      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 unitField)
      Gets the values of the associated unit fields.
      Returns:
      values of the associated unit fields
    • setSummaryUnits

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

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

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

      public void setSummaryDates(String dateField, Date date)
      Gets the values of the associated date fields.
    • getSummaryDates

      public Date getSummaryDates(String dateField)
      Sets the values of the associated date fields.
      Parameters:
      date - field name and date value