Class ProjectResourceRoleSpread

All Implemented Interfaces:
Serializable, Cloneable, Iterable<SpreadPeriod>
Direct Known Subclasses:
ProjectResourceSpread, ProjectRoleSpread

public class ProjectResourceRoleSpread extends SummaryAssignmentSpread

Resource/Role spread, containing unit and/or cost fields that have been spread for a particular project over zero to many spread periods. For Resource/Role spreads to be successfully loaded, the summarizer job service must have first been run on that particular project object.

See the description in BaseSpread for information on how to access the loaded spread data.

See Also:
  • Constructor Details

    • ProjectResourceRoleSpread

      public ProjectResourceRoleSpread(SpreadData spreadData)
      Constructor that creates ProjectResourceRoleSpread object from which all Resource or Role spread data for a Project can be accessed.
      Parameters:
      spreadData - the actual object which holds spread data
  • Method Details

    • getProjectObjectId

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

      public void setProjectObjectId(ObjectId projectObjectId)
      Sets the unique ID of the associated Project object.
      Parameters:
      projectObjectId - the unique ID of the Project