public enum UserCriterion extends Enum<UserCriterion>
User
sort ordersUser
Enum Constant and Description |
---|
FIRST_NAME_ASC
First name ascending order
|
FIRST_NAME_DESC
First name descending order
|
LAST_NAME_ASC
Last name ascending order
|
LAST_NAME_DESC
Last name descending order
|
USER_NAME_ASC
User name ascending order
|
USER_NAME_DESC
user name descending order
|
Modifier and Type | Method and Description |
---|---|
static UserCriterion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserCriterion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserCriterion FIRST_NAME_ASC
public static final UserCriterion LAST_NAME_ASC
public static final UserCriterion USER_NAME_ASC
public static final UserCriterion FIRST_NAME_DESC
public static final UserCriterion LAST_NAME_DESC
public static final UserCriterion USER_NAME_DESC
public static UserCriterion[] values()
for (UserCriterion c : UserCriterion.values()) System.out.println(c);
public static UserCriterion 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 © 2018 Bonitasoft S.A.. All rights reserved.