mondrian.rolap
Enum RolapLevel.HideMemberCondition

java.lang.Object
  extended by java.lang.Enum<RolapLevel.HideMemberCondition>
      extended by mondrian.rolap.RolapLevel.HideMemberCondition
All Implemented Interfaces:
Serializable, Comparable<RolapLevel.HideMemberCondition>
Enclosing class:
RolapLevel

public static enum RolapLevel.HideMemberCondition
extends Enum<RolapLevel.HideMemberCondition>

Conditions under which a level's members may be hidden (thereby creating a ragged hierarchy).

 

Enum Constant Summary
IfBlankName
          A member doesn't appear if its name is null or empty.
IfParentsName
          A member appears unless its name matches its parent's.
Never
          A member always appears.
 
Method Summary
static RolapLevel.HideMemberCondition valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RolapLevel.HideMemberCondition[] 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

Never

public static final RolapLevel.HideMemberCondition Never
A member always appears.


IfBlankName

public static final RolapLevel.HideMemberCondition IfBlankName
A member doesn't appear if its name is null or empty.


IfParentsName

public static final RolapLevel.HideMemberCondition IfParentsName
A member appears unless its name matches its parent's.

Method Detail

values

public static RolapLevel.HideMemberCondition[] 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 (RolapLevel.HideMemberCondition c : RolapLevel.HideMemberCondition.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RolapLevel.HideMemberCondition 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

SourceForge.net_Logo