public enum OrderBy extends Enum<OrderBy>
| Enum Constant and Description | 
|---|
| ASCAscending order | 
| DESCDescending order | 
| Modifier and Type | Method and Description | 
|---|---|
| static OrderBy | fromInt(int intRepresentation)Gets the order from the given integer representation. | 
| int | getIntRepresentation()The integer representation of the order. | 
| static OrderBy | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static OrderBy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final OrderBy ASC
public static final OrderBy DESC
public static OrderBy[] values()
for (OrderBy c : OrderBy.values()) System.out.println(c);
public static OrderBy 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 int getIntRepresentation()
public static OrderBy fromInt(int intRepresentation)
intRepresentation - the integer representation