Class WBSRoleSpread

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

public class WBSRoleSpread extends WBSResourceRoleSpread
Role assignment spread, containing unit and/or cost fields that have been spread for a particular Role within a particular WBS over zero to many spread periods. For assignment spread data to be successfully loaded, the summarizer job service must have first been run on the project containing that particular WBS and the project must be configured to summarize assignments to the level in the WBS hierarchy where that WBS is located.

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

See Also:
  • Constructor Details

    • WBSRoleSpread

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

    • getRoleObjectId

      public ObjectId getRoleObjectId()
      Gets the unique ID of the associated Role object.
      Returns:
      the unique ID of the Role
    • setRoleObjectId

      public void setRoleObjectId(ObjectId roleObjectId)
      Sets the unique ID of the associated Role object.
      Parameters:
      roleObjectId - the unique ID of the Role