|
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.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.ThresholdType
public class ThresholdType
Threshold type enumerations are used within the risk threshold to specify the threshold type. Valid values are 'Probability', 'Tolerance', 'Schedule', 'Cost', and 'User Defined'.
To use an enumeration in a where clause, make sure you use the internal database value. This can be retrieved from a particular enum instance by calling getValue().
Field Summary | |
---|---|
static ThresholdType |
COST
|
static ThresholdType |
NULL
|
static ThresholdType |
PROBABILITY
|
static ThresholdType |
SCHEDULE
|
static ThresholdType |
TOLERANCE
|
static ThresholdType |
USER_DEFINED
|
Method Summary | |
---|---|
String |
getDescription()
Gets the description of this ThresholdType instance |
static String[] |
getEnumDescriptions()
Gets an array of all descriptions for this enumeration |
static String[] |
getEnumValues()
Gets an array of all internal values for this enumeration |
static ThresholdType |
getThresholdType(int iThresholdType)
Gets an instance of ThresholdType based on the integer value specified. |
static ThresholdType |
getThresholdType(String sThresholdType)
Gets an instance of ThresholdType based on the String value specified. |
String |
getValue()
Gets the internal value of this ThresholdType instance |
String |
toString()
Returns a string representation of the object, which is the same as the description returned by the getDescription() method |
Methods inherited from class com.primavera.integration.client.bo.enm.EnumType |
---|
equals, hashCode, intValue |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ThresholdType NULL
public static final ThresholdType PROBABILITY
public static final ThresholdType TOLERANCE
public static final ThresholdType SCHEDULE
public static final ThresholdType COST
public static final ThresholdType USER_DEFINED
Method Detail |
---|
public String toString()
toString
in class Object
public String getValue()
getValue
in class EnumType
public String getDescription()
getDescription
in class EnumType
public static ThresholdType getThresholdType(String sThresholdType)
sThresholdType
- the internal value or description
public static ThresholdType getThresholdType(int iThresholdType)
iThresholdType
- an integer representing a particular value of this class. This value is also used when exporting to XML.
public static String[] getEnumValues()
public static String[] getEnumDescriptions()
|
Primavera Integration API Release 8 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |