public static enum Order.DirectionEnum extends Enum<Order.DirectionEnum>
Modifier and Type | Method and Description |
---|---|
static Order.DirectionEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Order.DirectionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order.DirectionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Order.DirectionEnum ASC
public static final Order.DirectionEnum DESC
public static Order.DirectionEnum[] values()
for (Order.DirectionEnum c : Order.DirectionEnum.values()) System.out.println(c);
public static Order.DirectionEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<Order.DirectionEnum>
public static Order.DirectionEnum fromValue(String text)