|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AxisOrdinal.StandardAxisOrdinal>
mondrian.olap.AxisOrdinal.StandardAxisOrdinal
public static enum AxisOrdinal.StandardAxisOrdinal
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface mondrian.olap.AxisOrdinal |
---|
AxisOrdinal.StandardAxisOrdinal |
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. |
Method Summary | |
---|---|
static AxisOrdinal |
forLogicalOrdinal(int ordinal)
Returns an axis with a given number. |
boolean |
isFilter()
Returns whether this is the filter (slicer) axis. |
int |
logicalOrdinal()
Returns the ordinal of this axis. |
static AxisOrdinal.StandardAxisOrdinal |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AxisOrdinal.StandardAxisOrdinal[] |
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 |
Methods inherited from interface mondrian.olap.AxisOrdinal |
---|
name |
Enum Constant Detail |
---|
public static final AxisOrdinal.StandardAxisOrdinal NONE
public static final AxisOrdinal.StandardAxisOrdinal SLICER
public static final AxisOrdinal.StandardAxisOrdinal COLUMNS
public static final AxisOrdinal.StandardAxisOrdinal ROWS
public static final AxisOrdinal.StandardAxisOrdinal PAGES
public static final AxisOrdinal.StandardAxisOrdinal CHAPTERS
public static final AxisOrdinal.StandardAxisOrdinal SECTIONS
Method Detail |
---|
public static AxisOrdinal.StandardAxisOrdinal[] values()
for (AxisOrdinal.StandardAxisOrdinal c : AxisOrdinal.StandardAxisOrdinal.values()) System.out.println(c);
public static AxisOrdinal.StandardAxisOrdinal valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AxisOrdinal forLogicalOrdinal(int ordinal)
If ordinal is greater than 4, returns a non-standard axis called "AXIS(n)". Never returns null.
ordinal
- Ordinal
public int logicalOrdinal()
AxisOrdinal
COLUMNS
= 0,
ROWS
= 1, etc.
logicalOrdinal
in interface AxisOrdinal
public boolean isFilter()
AxisOrdinal
isFilter
in interface AxisOrdinal
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |