public enum BucketOrder extends java.lang.Enum<BucketOrder> implements NamedEnum
Enum Constant and Description |
---|
ASCENDING
Ascending order constant.
|
DESCENDING
Descending order constant.
|
NONE
No sorting.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_CANNOT_TRANSLATE_NONE |
static java.lang.String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_ORDER_ENUM |
Modifier and Type | Method and Description |
---|---|
static BucketOrder |
fromSortOrderEnum(SortOrderEnum orderValue) |
java.lang.String |
getName() |
static SortOrderEnum |
toSortOrderEnum(BucketOrder order) |
static BucketOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BucketOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketOrder ASCENDING
public static final BucketOrder DESCENDING
public static final BucketOrder NONE
public static final java.lang.String EXCEPTION_MESSAGE_KEY_CANNOT_TRANSLATE_NONE
public static final java.lang.String EXCEPTION_MESSAGE_KEY_UNKNOWN_ORDER_ENUM
public static BucketOrder[] values()
for (BucketOrder c : BucketOrder.values()) System.out.println(c);
public static BucketOrder valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SortOrderEnum toSortOrderEnum(BucketOrder order)
public static BucketOrder fromSortOrderEnum(SortOrderEnum orderValue)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com