|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AxisOrdinal> mondrian.olap.AxisOrdinal
public enum AxisOrdinal
AxisOrdinal
describes the allowable values for an axis code.
Enum Constant Summary | |
---|---|
CHAPTERS
Chapters axis, logical ordinal = 3. |
|
COLUMNS
Columns axis (also known as X axis), logical ordinal = 0. |
|
NONE
No axis. |
|
PAGES
Pages axis, logical ordinal = 2. |
|
ROWS
Rows axis (also known as Y axis), logical ordinal = 1. |
|
SECTIONS
Sections axis, logical ordinal = 4. |
|
SLICER
Slicer axis. |
Field Summary | |
---|---|
static int |
MaxLogicalOrdinal
|
Method Summary | |
---|---|
static AxisOrdinal |
forLogicalOrdinal(int ordinal)
|
int |
logicalOrdinal()
Returns the ordinal of this axis with COLUMNS = 0,
ROWS = 1, etc. |
static AxisOrdinal |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AxisOrdinal[] |
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 |
---|
public static final AxisOrdinal NONE
public static final AxisOrdinal SLICER
public static final AxisOrdinal COLUMNS
public static final AxisOrdinal ROWS
public static final AxisOrdinal PAGES
public static final AxisOrdinal CHAPTERS
public static final AxisOrdinal SECTIONS
Field Detail |
---|
public static final int MaxLogicalOrdinal
Method Detail |
---|
public static AxisOrdinal[] values()
for (AxisOrdinal c : AxisOrdinal.values()) System.out.println(c);
public static AxisOrdinal valueOf(String name)
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.
public static AxisOrdinal forLogicalOrdinal(int ordinal)
public int logicalOrdinal()
COLUMNS
= 0,
ROWS
= 1, etc.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |