public enum SortDirectionEnum extends Enum<SortDirectionEnum>
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
SortDirectionEnum |
getNextSortDirection() |
static SortDirectionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortDirectionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortDirectionEnum ASC
public static final SortDirectionEnum DESC
public static final SortDirectionEnum NONE
public static SortDirectionEnum[] values()
for (SortDirectionEnum c : SortDirectionEnum.values()) System.out.println(c);
public static SortDirectionEnum 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 SortDirectionEnum getNextSortDirection()
public String getDescription()
Copyright © 2013. All Rights Reserved.