public enum DataItemSortOrder extends Enum<DataItemSortOrder> implements Serializable
| Enum Constant and Description |
|---|
ASCENDING |
DESCENDING |
UNKNOWN |
UNSORTED |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for this enum.
|
String |
getName()
Return the default name for this enum type.
|
int |
getOrdinal()
Return the code for this enum used for indexing based on the enum value.
|
String |
toString()
Standard toString method.
|
static DataItemSortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataItemSortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataItemSortOrder UNKNOWN
public static final DataItemSortOrder ASCENDING
public static final DataItemSortOrder DESCENDING
public static final DataItemSortOrder UNSORTED
public static DataItemSortOrder[] values()
for (DataItemSortOrder c : DataItemSortOrder.values()) System.out.println(c);
public static DataItemSortOrder 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 int getOrdinal()
public String getName()
public String getDescription()
public String toString()
toString in class Enum<DataItemSortOrder>Copyright © 2018–2020 ODPi. All rights reserved.