Primavera Integration API 7.0

com.primavera.common.value.spread
Class ProjectResourceRoleSpread

java.lang.Object
  extended by com.primavera.common.value.spread.BaseSpread
      extended by com.primavera.common.value.spread.ResourceAssignmentBaseSpread
          extended by com.primavera.common.value.spread.ProjectResourceRoleSpread
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ProjectResourceSpread, ProjectRoleSpread

public class ProjectResourceRoleSpread
extends com.primavera.common.value.spread.ResourceAssignmentBaseSpread

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:
Serialized Form

Constructor Summary
ProjectResourceRoleSpread(SpreadData spreadData)
          Constructor that creates ProjectResourceRoleSpread object from which all Resource or Role spread data for a Project can be accessed.
 
Method Summary
 ObjectId getProjectObjectId()
          Gets the unique ID of the associated Project object
 void setProjectObjectId(ObjectId projectObjectId)
          Sets the unique ID of the associated Project object
 
Methods inherited from class com.primavera.common.value.spread.BaseSpread
clearFinancialValues, ensureSpreadSpansDate, getCostFields, getSpreadBucketType, getSpreadBucketTypeEnum, getSpreadEnd, getSpreadIterator, getSpreadPeriod, getSpreadStart, getUnitFields, hasCumulativeData, size, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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

Primavera Integration API 7.0

Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.