|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.primavera.common.value.spread.BaseSpread
com.primavera.common.value.spread.ResourceAssignmentBaseSpread
com.primavera.common.value.spread.SummaryAssignmentSpread
public abstract class SummaryAssignmentSpread
Base class for summarized Resource/Role assignment spread data. This object contains unit and/or cost fields that have been spread for a particular Resource/Role over zero to many spread periods.
See the description in BaseSpread for information on how to access the loaded spread data.
Constructor Summary | |
---|---|
SummaryAssignmentSpread(SpreadData spreadData)
|
Method Summary | |
---|---|
Date |
getActualFinishDate()
The latest actual finish date for this summarized assignment, or null if any of
the assignments have not finished. |
Date |
getActualStartDate()
The earliest actual start date for this summarized assignment, or null if none
of the assignments have started. |
Date |
getRemainingFinishDate()
Returns the latest remaining finish date for this summarized assignment, or null if all assignments have been completed. |
Date |
getRemainingStartDate()
The earliest remaining start date for this summarized assignment, or null if
all assignments have been completed. |
String |
getResourceType()
The resource type for this summarized assignment, possible values are: LABOR for labor Resources
NONLABOR for non-labor Resources
MATERIAL for material Resources
null for Roles |
void |
setActualFinishDate(Date actualFinishDate)
Sets the actual finish date value for this summarized assignment. |
void |
setActualStartDate(Date actualStartDate)
Sets the actual start date value for this summarized assignment. |
void |
setFinancialPeriodIds(Map<Date,ObjectId> financialPeriodIds)
Sets the map that enables each SpreadPeriod to determine which financial period
it corresponds to. |
void |
setRemainingFinishDate(Date remainingFinishDate)
Sets the remaining finish date value for this summarized assignment. |
void |
setRemainingStartDate(Date remainingStartDate)
Sets the remaining start date value for this summarized assignment. |
void |
setResourceType(String resourceType)
Sets the resource type for this summarized assignment, valid values are: LABOR for labor Resources
NONLABOR for non-labor Resources
MATERIAL for material Resources
null for Roles |
Methods inherited from class com.primavera.common.value.spread.BaseSpread |
---|
clearFinancialValues, ensureSpreadSpansDate, getCostFields, getSpreadBucketType, getSpreadBucketTypeEnum, getSpreadEnd, getSpreadIterator, getSpreadPeriod, getSpreadStart, getUnitFields, hasCumulativeData, iterator, recycle, size, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SummaryAssignmentSpread(SpreadData spreadData)
Method Detail |
---|
public Date getActualStartDate()
null
if none
of the assignments have started.
public void setActualStartDate(Date actualStartDate)
actualStartDate
- the actual start date for this assignmentpublic Date getActualFinishDate()
null
if any of
the assignments have not finished.
public void setActualFinishDate(Date actualFinishDate)
actualFinishDate
- the actual finish date for this assignmentpublic Date getRemainingStartDate()
null
if
all assignments have been completed.
public void setRemainingStartDate(Date remainingStartDate)
remainingStartDate
- the remaining start date for this summarized assignmentpublic Date getRemainingFinishDate()
null
if all assignments have been completed.
public void setRemainingFinishDate(Date remainingFinishDate)
remainingFinishDate
- the remaining finish date for this summarized assignmentpublic String getResourceType()
LABOR
for labor ResourcesNONLABOR
for non-labor ResourcesMATERIAL
for material Resourcesnull
for Roles
public void setResourceType(String resourceType)
LABOR
for labor ResourcesNONLABOR
for non-labor ResourcesMATERIAL
for material Resourcesnull
for Roles
resourceType
- the resource type for this summarized assignmentpublic void setFinancialPeriodIds(Map<Date,ObjectId> financialPeriodIds)
SpreadPeriod
to determine which financial period
it corresponds to.
financialPeriodIds
- map of Financial Period object IDs, keyed by the period's start
date
|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |