public class SortOrder extends Enumeration
Modifier and Type | Field and Description |
---|---|
static SortOrder |
ASC |
static SortOrder |
DESC |
static java.util.List<? extends java.lang.Object> |
SORT_ORDERS |
code, description, number, subDescription
Modifier and Type | Method and Description |
---|---|
static SortOrder |
getSortOrder(java.lang.String code)
Return the SortOrder object given by code (key)
|
compareTo, contains, equals, getCode, getDescription, getEnumeration, getNumber, getSubDescription, toString
public static final SortOrder ASC
public static final SortOrder DESC
public static final java.util.List<? extends java.lang.Object> SORT_ORDERS
public static SortOrder getSortOrder(java.lang.String code)
code
- The key to find in this enumeration