|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SpreadBucketType>
com.primavera.common.value.SpreadBucketType
public enum SpreadBucketType
SpreadBucketType defines the bucket types for which spreads are calculated and stored.
Enum Constant Summary | |
---|---|
SBT_DAY
|
|
SBT_FINANCIAL_PERIOD
|
|
SBT_HOUR
|
|
SBT_MONTH
|
|
SBT_NONE
|
|
SBT_QUARTER
|
|
SBT_WEEK
|
|
SBT_YEAR
|
Method Summary | |
---|---|
static SpreadBucketType |
fromInt(int oldConstantVal)
Gets a SpreadBucketType instance based on the internal constant passed as an argument. |
int |
getMode()
Gets an internal mode value. |
String |
toString()
Returns a string representation of the object. |
static SpreadBucketType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SpreadBucketType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SpreadBucketType SBT_NONE
public static final SpreadBucketType SBT_HOUR
public static final SpreadBucketType SBT_DAY
public static final SpreadBucketType SBT_WEEK
public static final SpreadBucketType SBT_MONTH
public static final SpreadBucketType SBT_QUARTER
public static final SpreadBucketType SBT_YEAR
public static final SpreadBucketType SBT_FINANCIAL_PERIOD
Method Detail |
---|
public static SpreadBucketType[] values()
for (SpreadBucketType c : SpreadBucketType.values()) System.out.println(c);
public static SpreadBucketType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getMode()
public String toString()
toString
in class Enum<SpreadBucketType>
public static SpreadBucketType fromInt(int oldConstantVal)
oldConstantVal
- the internal constant value
|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |