public enum SortingDirection extends java.lang.Enum<SortingDirection>
| Enum Constant and Description |
|---|
ASC
The Sortdirection Options.
|
DESC |
| Modifier and Type | Method and Description |
|---|---|
SortingDirection |
changeDirection()
Change Sort Direction.
|
int |
getDirection() |
void |
setDirection(int value)
Set the new Direction.
|
static SortingDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SortingDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortingDirection ASC
public static final SortingDirection DESC
public static SortingDirection[] values()
for (SortingDirection c : SortingDirection.values()) System.out.println(c);
public static SortingDirection valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getDirection()
public void setDirection(int value)
value - The new Sortdirectionpublic SortingDirection changeDirection()