Package mondrian.olap.fun
Enum FunUtil.Flag
- java.lang.Object
-
- java.lang.Enum<FunUtil.Flag>
-
- mondrian.olap.fun.FunUtil.Flag
-
- All Implemented Interfaces:
Serializable
,Comparable<FunUtil.Flag>
- Enclosing class:
- FunUtil
static enum FunUtil.Flag extends Enum<FunUtil.Flag>
Enumeration of the flags allowed to theORDER
MDX function.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
brk
(package private) boolean
descending
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]
getNames()
static FunUtil.Flag
valueOf(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.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNames
public static String[] getNames()
-
-