public static enum Order.Direction extends Enum<Order.Direction>
| Enum Constant and Description |
|---|
ASCENDING |
DESCENDING |
| Modifier and Type | Method and Description |
|---|---|
static Order.Direction |
fromShortString(String shortString) |
String |
getShortString() |
static Order.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Order.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Order.Direction ASCENDING
public static final Order.Direction DESCENDING
public static Order.Direction[] values()
for (Order.Direction c : Order.Direction.values()) System.out.println(c);
public static Order.Direction 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 static Order.Direction fromShortString(String shortString)
public String getShortString()
Copyright © 2015 Red Hat, Inc.. All rights reserved.