mondrian.olap.fun
Enum FunUtil.Flag

java.lang.Object
  extended by java.lang.Enum<FunUtil.Flag>
      extended by 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 the ORDER MDX function.


Enum Constant Summary
ASC
           
BASC
           
BDESC
           
DESC
           
 
Field Summary
(package private)  boolean brk
           
(package private)  boolean descending
           
 
Method Summary
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.
 
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 FunUtil.Flag ASC

DESC

public static final FunUtil.Flag DESC

BASC

public static final FunUtil.Flag BASC

BDESC

public static final FunUtil.Flag BDESC
Field Detail

descending

final boolean descending

brk

final boolean brk
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 name
NullPointerException - if the argument is null

getNames

public static String[] getNames()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads