|
Primavera Integration API 8.0 | |||||||||
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.RiskPriority
public class RiskPriority
Risk priority enumerations are used with project risks. Valid values are 'Top', 'High', 'Normal', 'Low', and 'Lowest'.
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 RiskPriority |
HIGH
|
static RiskPriority |
LOW
|
static RiskPriority |
LOWEST
|
static RiskPriority |
NORMAL
|
static RiskPriority |
NULL
|
static RiskPriority |
TOP
|
Method Summary | |
---|---|
String |
getDescription()
Gets the description of this RiskPriority 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 RiskPriority |
getRiskPriority(int iRiskPriority)
Gets an instance of RiskPriority based on the integer value specified. |
static RiskPriority |
getRiskPriority(String sRiskPriority)
Gets an instance of RiskPriority based on the String value specified. |
String |
getValue()
Gets the internal value of this RiskPriority 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 RiskPriority NULL
public static final RiskPriority TOP
public static final RiskPriority HIGH
public static final RiskPriority NORMAL
public static final RiskPriority LOW
public static final RiskPriority LOWEST
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 RiskPriority getRiskPriority(String sRiskPriority)
sRiskPriority
- the internal value or description
public static RiskPriority getRiskPriority(int iRiskPriority)
iRiskPriority
- 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 8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |