public static enum QuerySpec.Style extends Enum<QuerySpec.Style>
Enum Constant and Description |
---|
Normal
This value indicates that the results should be returned
as normal.
|
Reversed
This value indicates that the results should be returned
in reverse order.
|
Modifier and Type | Method and Description |
---|---|
static QuerySpec.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuerySpec.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuerySpec.Style Normal
public static final QuerySpec.Style Reversed
public static QuerySpec.Style[] values()
for (QuerySpec.Style c : QuerySpec.Style.values()) System.out.println(c);
public static QuerySpec.Style 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 nullCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.