public enum OrderField extends Enum<OrderField>
| Enum Constant and Description |
|---|
DATE_CREATED |
DATE_REMOVED |
NAME |
USERNAME |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OrderField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrderField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrderField DATE_CREATED
public static final OrderField DATE_REMOVED
public static final OrderField NAME
public static final OrderField USERNAME
public static OrderField[] values()
for (OrderField c : OrderField.values()) System.out.println(c);
public static OrderField 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 String toString()
toString in class Enum<OrderField>Copyright © 2024. All rights reserved.