Package mondrian.rolap
Enum ScenarioImpl.CellRelation
- java.lang.Object
-
- java.lang.Enum<ScenarioImpl.CellRelation>
-
- mondrian.rolap.ScenarioImpl.CellRelation
-
- All Implemented Interfaces:
Serializable
,Comparable<ScenarioImpl.CellRelation>
- Enclosing class:
- ScenarioImpl
static enum ScenarioImpl.CellRelation extends Enum<ScenarioImpl.CellRelation>
Decribes the relationship between two cells.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScenarioImpl.CellRelation
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScenarioImpl.CellRelation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABOVE
public static final ScenarioImpl.CellRelation ABOVE
-
EQUAL
public static final ScenarioImpl.CellRelation EQUAL
-
BELOW
public static final ScenarioImpl.CellRelation BELOW
-
NONE
public static final ScenarioImpl.CellRelation NONE
-
-
Method Detail
-
values
public static ScenarioImpl.CellRelation[] 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 (ScenarioImpl.CellRelation c : ScenarioImpl.CellRelation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScenarioImpl.CellRelation 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
-
-