mondrian.olap.fun
Enum DescendantsFunDef.Flag
java.lang.Object
java.lang.Enum<DescendantsFunDef.Flag>
mondrian.olap.fun.DescendantsFunDef.Flag
- All Implemented Interfaces:
- Serializable, Comparable<DescendantsFunDef.Flag>
- Enclosing class:
- DescendantsFunDef
static enum DescendantsFunDef.Flag
- extends Enum<DescendantsFunDef.Flag>
Enumeration of the flags allowed to the DESCENDANTS
function.
-
-
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
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(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.)
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
getNames
public static String[] getNames()