mondrian.olap.fun
Enum FunUtil.Flag
java.lang.Object
java.lang.Enum<FunUtil.Flag>
mondrian.olap.fun.FunUtil.Flag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FunUtil.Flag>
- Enclosing class:
- FunUtil
static enum FunUtil.Flag
- extends java.lang.Enum<FunUtil.Flag>
Enumeration of the flags allowed to the ORDER
MDX function.
Field Summary |
(package private) boolean |
brk
|
(package private) boolean |
descending
|
Method Summary |
static java.lang.String[] |
getNames()
|
static FunUtil.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FunUtil.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ASC
public static final FunUtil.Flag ASC
DESC
public static final FunUtil.Flag DESC
BASC
public static final FunUtil.Flag BASC
BDESC
public static final FunUtil.Flag BDESC
descending
final boolean descending
brk
final boolean brk
values
public static FunUtil.Flag[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FunUtil.Flag c : FunUtil.Flag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FunUtil.Flag valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getNames
public static java.lang.String[] getNames()