|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Order>
org.modeshape.graph.query.model.Order
public enum Order

| Enum Constant Summary | |
|---|---|
ASCENDING
|
|
DESCENDING
|
|
| Method Summary | |
|---|---|
static Order |
forSymbol(String symbol)
Attempt to find the Order given a symbol. |
String |
getString()
Get the string representation of this query object. |
String |
symbol()
Get the symbolic representation of the order |
String |
toString()
|
static Order |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Order[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Order ASCENDING
public static final Order DESCENDING
| Method Detail |
|---|
public static Order[] values()
for (Order c : Order.values()) System.out.println(c);
public static Order valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String symbol()
public String toString()
toString in class Enum<Order>Enum.toString()public static Order forSymbol(String symbol)
symbol - the symbol
IllegalArgumentException - if the symbol is nullpublic String getString()
getString in interface ReadableReadable.getString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||