mondrian.olap.fun
Enum DescendantsFunDef.Flag

java.lang.Object
  extended by java.lang.Enum<DescendantsFunDef.Flag>
      extended by 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.

 

Enum Constant Summary
AFTER
           
BEFORE
           
BEFORE_AND_AFTER
           
LEAVES
           
SELF
           
SELF_AND_AFTER
           
SELF_AND_BEFORE
           
SELF_BEFORE_AFTER
           
 
Method Summary
static String[] getNames()
           
static DescendantsFunDef.Flag valueOf(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.
 
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
 

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(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()

SourceForge.net_Logo