public class TargetCategoriesOrder extends Enum
| Modifier and Type | Field and Description |
|---|---|
static TargetCategoriesOrder |
alphabetical
Alphabetical categories ordering
|
static TargetCategoriesOrder |
alphabeticalDesc
Descending alphabetical categories ordering
|
| Modifier and Type | Method and Description |
|---|---|
static TargetCategoriesOrder |
getInstance(int id)
Returns enumeration element corresponding to the specified identifier.
|
static TargetCategoriesOrder |
getInstance(java.lang.String name)
Returns enumeration element corresponding to the specified name.
|
static TargetCategoriesOrder[] |
list()
Returns the array of this enumeration elements.
|
static java.lang.String[] |
listNames()
Returns the names of this enumeration elements.
|
public static final TargetCategoriesOrder alphabetical
public static final TargetCategoriesOrder alphabeticalDesc
public static java.lang.String[] listNames()
public static TargetCategoriesOrder[] list()
public static TargetCategoriesOrder getInstance(java.lang.String name)
name - the name of the element.NoSuchElementException - if such element does not exist.public static TargetCategoriesOrder getInstance(int id)
id - the identifier of the element.NoSuchElementException - if such element does not exist.