Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tonbeller.jpivot.olap.model.impl
Class AxisImpl

    java.lang.Object
      com.tonbeller.jpivot.olap.model.impl.AxisImpl

All Implemented Interfaces:
  Axis, Decorator, Visitable

Direct Known Subclasses:
  TestAxis

    public class AxisImpl

extends java.lang.Object
implements Axis

implements axis

Author:
  av

Constructor Summary
`AxisImpl()`

Method Summary
`void` | `accept(Visitor visitor)`
`void` | `addPosition(Position pos)`
`Hierarchy[]` | `getHierarchies()` returns the hierachies that are currently visible on this axis. 0 = outermost, N = innermost.
`java.util.List` | `getPositions()` Returns the positions.
`java.lang.Object` | `getRootDecoree()` returns the object that has been created by the olap server.
`void` | `setPositions(java.util.List positions)` Sets the positions.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AxisImpl

    public AxisImpl()

Method Detail

### 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`
  Returns:
    the hierarchies of the members of the first position. If there are no positions (i.e. axis is empty), an empty array (non null) is returned.
  See Also:
    `Axis.getHierarchies()`

### getPositions

    public java.util.List getPositions()

  Returns the positions.

  Specified by:
    `getPositions` in interface `Axis`
  Returns:
    List
  See Also:
    `Position`

### setPositions

    public void setPositions(java.util.List positions)

  Sets the positions.

  Parameters:
    `positions` - The positions to set

### addPosition

    public void addPosition(Position pos)

### accept

    public void accept(Visitor visitor)

  Specified by:
    `accept` in interface `Visitable`

### 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD