mondrian.olap
Interface AxisOrdinal

All Known Implementing Classes:
AxisOrdinal.StandardAxisOrdinal

public interface AxisOrdinal

AxisOrdinal describes the allowable values for an axis code.

Since:
Feb 21, 2003
Version:
$Id: //open/mondrian/src/main/mondrian/olap/AxisOrdinal.java#13 $
Author:
jhyde

Nested Class Summary
static class AxisOrdinal.StandardAxisOrdinal
           
 
Method Summary
 boolean isFilter()
          Returns whether this is the filter (slicer) axis.
 int logicalOrdinal()
          Returns the ordinal of this axis.
 java.lang.String name()
          Returns the name of this axis, e.g.
 

Method Detail

name

java.lang.String name()
Returns the name of this axis, e.g. "COLUMNS", "SLICER", "AXIS(17)".

Returns:
Name of the axis

logicalOrdinal

int logicalOrdinal()
Returns the ordinal of this axis. AxisOrdinal.StandardAxisOrdinal.COLUMNS = 0, AxisOrdinal.StandardAxisOrdinal.ROWS = 1, etc.

Returns:
ordinal of this axis

isFilter

boolean isFilter()
Returns whether this is the filter (slicer) axis.

Returns:
whether this is the filter axis

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads