mondrian.olap.fun
Enum OrderFunDef.Flag

java.lang.Object
  extended by java.lang.Enum<OrderFunDef.Flag>
      extended by mondrian.olap.fun.OrderFunDef.Flag
All Implemented Interfaces:
Serializable, Comparable<OrderFunDef.Flag>
Enclosing class:
OrderFunDef

static enum OrderFunDef.Flag
extends Enum<OrderFunDef.Flag>

Enumeration of the flags allowed to the ORDER MDX function.

 

Enum Constant Summary
ASC
           
BASC
           
BDESC
           
DESC
           
 
Method Summary
static String[] getNames()
           
static OrderFunDef.Flag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OrderFunDef.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

ASC

public static final OrderFunDef.Flag ASC

DESC

public static final OrderFunDef.Flag DESC

BASC

public static final OrderFunDef.Flag BASC

BDESC

public static final OrderFunDef.Flag BDESC
Method Detail

values

public static OrderFunDef.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 (OrderFunDef.Flag c : OrderFunDef.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 OrderFunDef.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