public class RiskStatus extends EnumType
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().
| Modifier and Type | Field and Description |
|---|---|
static RiskStatus |
ACTIVE |
static RiskStatus |
IMPACTED |
static RiskStatus |
MANAGED |
static RiskStatus |
NULL |
static RiskStatus |
OPEN |
static RiskStatus |
PROPOSED |
static RiskStatus |
REJECTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the description of this RiskStatus 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 RiskStatus |
getRiskStatus(int iRiskStatus)
Gets an instance of RiskStatus based on the integer value specified.
|
static RiskStatus |
getRiskStatus(String sRiskStatus)
Gets an instance of RiskStatus based on the String value specified.
|
String |
getValue()
Gets the internal value of this RiskStatus instance
|
String |
toString()
Returns a string representation of the object, which is the same as the description returned by the getDescription() method
|
public static final RiskStatus NULL
public static final RiskStatus PROPOSED
public static final RiskStatus OPEN
public static final RiskStatus ACTIVE
public static final RiskStatus REJECTED
public static final RiskStatus MANAGED
public static final RiskStatus IMPACTED
public String toString()
public String getValue()
public String getDescription()
getDescription in class EnumTypepublic static RiskStatus getRiskStatus(String sRiskStatus)
sRiskStatus - the internal value or descriptionpublic static RiskStatus getRiskStatus(int iRiskStatus)
iRiskStatus - 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()
Copyright © 2003, 2022, Oracle and/or its affiliates.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.