com.tonbeller.jpivot.xmla
Class XMLA_Axis

java.lang.Object
  extended by com.tonbeller.jpivot.xmla.XMLA_Axis
All Implemented Interfaces:
Axis, Decorator, Visitable

public class XMLA_Axis
extends java.lang.Object
implements Axis

Result Axis XMLA


Method Summary
 void accept(Visitor visitor)
           
 Hierarchy[] getHierarchies()
          returns the hierachies that are currently visible on this axis. 0 = outermost, N = innermost.
 java.lang.String getName()
          Returns the name.
 int getNHier()
          Returns the nHier.
 int getOrdinal()
           
 java.util.List getPositions()
          return the positions on this axis
 java.lang.Object getRootDecoree()
          returns the object that has been created by the olap server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the name.

Returns:
String

getNHier

public int getNHier()
Returns the nHier.

Returns:
int

getPositions

public java.util.List getPositions()
Description copied from interface: Axis
return the positions on this axis

Specified by:
getPositions in interface Axis
See Also:
Axis.getPositions()

getHierarchies

public Hierarchy[] getHierarchies()
Description copied from interface: Axis
returns the hierachies that are currently visible on this axis. 0 = outermost, N = innermost. The order is significant.

Specified by:
getHierarchies in interface Axis
See Also:
Axis.getHierarchies()

accept

public void accept(Visitor visitor)
Specified by:
accept in interface Visitable
See Also:
Visitable.accept(Visitor)

getRootDecoree

public java.lang.Object getRootDecoree()
Description copied from interface: Decorator
returns the object that has been created by the olap server. If this is part of a decorator chain, unwinds the chain and returns the root of all decorators.

Specified by:
getRootDecoree in interface Decorator

getOrdinal

public int getOrdinal()
Returns:
the ordinal of the axis , slicer = -1