Package mondrian.olap.fun
Enum DescendantsFunDef.Flag
- java.lang.Object
-
- java.lang.Enum<DescendantsFunDef.Flag>
-
- mondrian.olap.fun.DescendantsFunDef.Flag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DescendantsFunDef.Flag>
- Enclosing class:
- DescendantsFunDef
static enum DescendantsFunDef.Flag extends java.lang.Enum<DescendantsFunDef.Flag>
Enumeration of the flags allowed to theDESCENDANTS
function.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER
BEFORE
BEFORE_AND_AFTER
LEAVES
SELF
SELF_AND_AFTER
SELF_AND_BEFORE
SELF_BEFORE_AFTER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
getNames()
static DescendantsFunDef.Flag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DescendantsFunDef.Flag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELF
public static final DescendantsFunDef.Flag SELF
-
AFTER
public static final DescendantsFunDef.Flag AFTER
-
BEFORE
public static final DescendantsFunDef.Flag BEFORE
-
BEFORE_AND_AFTER
public static final DescendantsFunDef.Flag BEFORE_AND_AFTER
-
SELF_AND_AFTER
public static final DescendantsFunDef.Flag SELF_AND_AFTER
-
SELF_AND_BEFORE
public static final DescendantsFunDef.Flag SELF_AND_BEFORE
-
SELF_BEFORE_AFTER
public static final DescendantsFunDef.Flag SELF_BEFORE_AFTER
-
LEAVES
public static final DescendantsFunDef.Flag LEAVES
-
-
Method Detail
-
values
public static DescendantsFunDef.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 (DescendantsFunDef.Flag c : DescendantsFunDef.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 DescendantsFunDef.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 namejava.lang.NullPointerException
- if the argument is null
-
getNames
public static java.lang.String[] getNames()
-
-