|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpreadPeriod
The base class of all spread period interfaces
Method Summary | |
---|---|
Cost |
getCost(java.lang.String fieldName)
Gets the cost value of the specified field in this spread period |
Cost |
getCumulativeCost(java.lang.String fieldName)
Gets the cumulative cost value of the specified field in this spread period |
Unit |
getCumulativeUnits(java.lang.String fieldName)
Gets the cumulative unit value of the specified field in this spread period |
int |
getSpreadBucketType()
Gets the bucket type of this spread period. |
SpreadBucketType |
getSpreadBucketTypeEnum()
Gets the bucket type of this spread period in enum. |
java.util.Date |
getSpreadPeriodEnd()
Gets the end time of this spread period. |
java.util.Date |
getSpreadPeriodStart()
Gets the start time of this spread period. |
Unit |
getUnits(java.lang.String fieldName)
Gets the unit value of the specified field in this spread period |
void |
setCost(java.lang.String fieldName,
Cost cost)
Sets the cost value of the specified field in this spread period |
void |
setUnits(java.lang.String fieldName,
Unit units)
Sets the unit value of the specified field in this spread period |
Method Detail |
---|
java.util.Date getSpreadPeriodStart()
java.util.Date getSpreadPeriodEnd()
int getSpreadBucketType()
SpreadBucketType getSpreadBucketTypeEnum()
Unit getUnits(java.lang.String fieldName) throws SpreadFieldNotFoundException
fieldName
- the spread field name
SpreadFieldNotFoundException
- if the unit field was not loadedCost getCost(java.lang.String fieldName) throws SpreadFieldNotFoundException
fieldName
- the spread field name
SpreadFieldNotFoundException
- if the cost field was not loadedUnit getCumulativeUnits(java.lang.String fieldName) throws SpreadFieldNotFoundException, SpreadCumulativeDataNotLoadedException
fieldName
- the spread field name
SpreadFieldNotFoundException
- if the unit field was not loaded
SpreadCumulativeDataNotLoadedException
- if cumulative data was not loadedCost getCumulativeCost(java.lang.String fieldName) throws SpreadFieldNotFoundException, SpreadCumulativeDataNotLoadedException
fieldName
- the spread field name
SpreadFieldNotFoundException
- if the cost field was not loaded
SpreadCumulativeDataNotLoadedException
- if cumulative data was not loadedvoid setUnits(java.lang.String fieldName, Unit units) throws SpreadFieldNotFoundException, SpreadNonEditableException
fieldName
- the spread field nameunits
- the new unit value of the spread field
SpreadFieldNotFoundException
- if the unit field was not found
SpreadNonEditableException
- if the unit field is not editablevoid setCost(java.lang.String fieldName, Cost cost) throws SpreadFieldNotFoundException, SpreadNonEditableException
fieldName
- the spread field namecost
- the new cost value of the spread field
SpreadFieldNotFoundException
- if the cost field was not found
SpreadNonEditableException
- if the cost field is not editable
|
Primavera Integration API 7.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |