org.olap4j
Class Axis.Factory

java.lang.Object
  extended by org.olap4j.Axis.Factory
Enclosing interface:
Axis

public static class Axis.Factory
extends java.lang.Object

Container class for various Axis factory methods.


Constructor Summary
Axis.Factory()
           
 
Method Summary
static Axis forOrdinal(int ordinal)
          Returns the axis with a given ordinal.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis.Factory

public Axis.Factory()
Method Detail

forOrdinal

public static Axis forOrdinal(int ordinal)
Returns the axis with a given ordinal.

For example, forOrdinal(0) returns the COLUMNS axis; forOrdinal(-1) returns the SLICER axis; forOrdinal(100) returns AXIS(100).

Parameters:
ordinal - Axis ordinal
Returns:
Axis whose ordinal is as given

SourceForge.net_Logo