Class ProjectResourceSpread

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

public class ProjectResourceSpread extends ProjectResourceRoleSpread

Resource 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 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

    • ProjectResourceSpread

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

    • 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 resourceObjectId)
      Sets the unique ID of the associated Resource object.
      Parameters:
      resourceObjectId - the unique ID of the Resource