|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Axis.Standard>
org.olap4j.Axis.Standard
public static enum Axis.Standard
Enumeration of standard, named axes descriptors.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.olap4j.Axis |
---|
Axis.Factory, Axis.Standard |
Enum Constant Summary | |
---|---|
CHAPTERS
CHAPTERS axis, also known as AXIS(3). |
|
COLUMNS
COLUMNS axis, also known as X axis and AXIS(0). |
|
FILTER
Filter axis, also known as the slicer axis, and represented by the WHERE clause of an MDX query. |
|
PAGES
PAGES axis, also known as AXIS(2). |
|
ROWS
ROWS axis, also known as Y axis and AXIS(1). |
|
SECTIONS
SECTIONS axis, also known as AXIS(4). |
Field Summary |
---|
Fields inherited from interface org.olap4j.Axis |
---|
CHAPTERS, COLUMNS, FILTER, PAGES, ROWS, SECTIONS |
Method Summary | |
---|---|
int |
axisOrdinal()
Returns the ordinal which is to be used for retrieving this axis from the CellSet.getAxes() , or retrieving its
coordinate from Cell.getCoordinateList() . |
String |
getCaption(Locale locale)
Returns localized name for this Axis. |
boolean |
isFilter()
Returns whether this is the filter (slicer) axis. |
static Axis.Standard |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Axis.Standard[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.olap4j.Axis |
---|
name |
Enum Constant Detail |
---|
public static final Axis.Standard FILTER
public static final Axis.Standard COLUMNS
public static final Axis.Standard ROWS
public static final Axis.Standard PAGES
public static final Axis.Standard CHAPTERS
public static final Axis.Standard SECTIONS
Method Detail |
---|
public static Axis.Standard[] values()
for (Axis.Standard c : Axis.Standard.values()) System.out.println(c);
public static Axis.Standard 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 int axisOrdinal()
Axis
CellSet.getAxes()
, or retrieving its
coordinate from Cell.getCoordinateList()
.
For example:
axisOrdinal
in interface Axis
public boolean isFilter()
Axis
isFilter
in interface Axis
public String getCaption(Locale locale)
Axis
Examples: "FILTER", "ROWS", "COLUMNS", "AXIS(10)".
getCaption
in interface Axis
locale
- Locale for which to give the name
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |