|
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.RiskType
public class RiskType
Risk type enumerations are used with risks. Valid values are 'Threat' and 'Opportunity'.
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 RiskType |
NULL
|
static RiskType |
OPPORTUNITY
|
static RiskType |
THREAT
|
Method Summary | |
---|---|
String |
getDescription()
Gets the description of this RiskType 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 RiskType |
getRiskType(int iRiskType)
Gets an instance of RiskType based on the integer value specified. |
static RiskType |
getRiskType(String sRiskType)
Gets an instance of RiskType based on the String value specified. |
String |
getValue()
Gets the internal value of this RiskType 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 RiskType NULL
public static final RiskType THREAT
public static final RiskType OPPORTUNITY
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 RiskType getRiskType(String sRiskType)
sRiskType
- the internal value or description
public static RiskType getRiskType(int iRiskType)
iRiskType
- 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 |