public enum CategoryCriterion extends Enum<CategoryCriterion>
Enum Constant and Description |
---|
NAME_ASC
By ascending name
|
NAME_DESC
By descending name
|
Modifier and Type | Method and Description |
---|---|
String |
getField() |
Order |
getOrder() |
Sort |
getSort() |
static CategoryCriterion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CategoryCriterion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CategoryCriterion NAME_ASC
public static final CategoryCriterion NAME_DESC
public static CategoryCriterion[] values()
for (CategoryCriterion c : CategoryCriterion.values()) System.out.println(c);
public static CategoryCriterion 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 Order getOrder()
public String getField()
public Sort getSort()
Copyright © 2020 Bonitasoft S.A. All rights reserved.