public enum Sortable extends Enum<Sortable>
Enum Constant and Description |
---|
DEFAULT
Use the backend-specific default.
|
NO
The field is not sortable.
|
YES
The field is sortable
|
Modifier and Type | Method and Description |
---|---|
static Sortable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sortable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sortable DEFAULT
public static final Sortable NO
public static final Sortable YES
public static Sortable[] values()
for (Sortable c : Sortable.values()) System.out.println(c);
public static Sortable 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 © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.