public class ReviewStatus 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 ReviewStatus |
NULL |
static ReviewStatus |
OK |
static ReviewStatus |
REJECT |
static ReviewStatus |
REVIEW |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the description of this ReviewStatus 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 ReviewStatus |
getReviewStatus(int iReviewStatus)
Gets an instance of ReviewStatus based on the integer value specified.
|
static ReviewStatus |
getReviewStatus(String sReviewStatus)
Gets an instance of ReviewStatus based on the String value specified.
|
String |
getValue()
Gets the internal value of this ReviewStatus 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 ReviewStatus NULL
public static final ReviewStatus OK
public static final ReviewStatus REVIEW
public static final ReviewStatus REJECT
public String toString()
public String getValue()
public String getDescription()
getDescription
in class EnumType
public static ReviewStatus getReviewStatus(String sReviewStatus)
sReviewStatus
- the internal value or descriptionpublic static ReviewStatus getReviewStatus(int iReviewStatus)
iReviewStatus
- 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, 2025, 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.