Package mondrian.rolap
Enum RolapLevel.HideMemberCondition
- java.lang.Object
-
- java.lang.Enum<RolapLevel.HideMemberCondition>
-
- 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
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.)- 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 nameNullPointerException
- if the argument is null
-
-