com.tonbeller.jpivot.olap.model.impl
Class ResultImpl

java.lang.Object
  extended by com.tonbeller.jpivot.olap.model.impl.ResultImpl
All Implemented Interfaces:
Decorator, Result, Visitable

public class ResultImpl
extends java.lang.Object
implements Result

Created on 11.10.2002

Author:
av

Constructor Summary
ResultImpl()
          Constructor for ResultImpl.
 
Method Summary
 void accept(Visitor visitor)
           
 Axis[] getAxes()
          Returns the axes.
 java.util.List getCells()
          Returns the cells.
 java.lang.Object getRootDecoree()
          returns the object that has been created by the olap server.
 Axis getSlicer()
          Returns the slicer.
 boolean isOverflowOccured()
           
 void setAxes(Axis[] axes)
          Sets the axes.
 void setCells(java.util.List cells)
          Sets the cells.
 void setSlicer(Axis slicer)
          Sets the slicer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultImpl

public ResultImpl()
Constructor for ResultImpl.

Method Detail

getAxes

public Axis[] getAxes()
Returns the axes.

Specified by:
getAxes in interface Result
Returns:
Axis[]

getCells

public java.util.List getCells()
Returns the cells.

Specified by:
getCells in interface Result
Returns:
List
See Also:
Cell

getSlicer

public Axis getSlicer()
Returns the slicer.

Specified by:
getSlicer in interface Result
Returns:
Axis

setAxes

public void setAxes(Axis[] axes)
Sets the axes.

Parameters:
axes - The axes to set

setCells

public void setCells(java.util.List cells)
Sets the cells.

Parameters:
cells - The cells to set

setSlicer

public void setSlicer(Axis slicer)
Sets the slicer.

Parameters:
slicer - The slicer to set

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

isOverflowOccured

public boolean isOverflowOccured()
Specified by:
isOverflowOccured in interface Result
Returns:
true, if the result was rolled back due to overflow condition