com.tonbeller.jpivot.mondrian
Class MondrianSwapAxes

java.lang.Object
  extended by com.tonbeller.jpivot.core.ExtensionSupport
      extended by com.tonbeller.jpivot.mondrian.MondrianSwapAxes
All Implemented Interfaces:
Extension, SwapAxes

public class MondrianSwapAxes
extends ExtensionSupport
implements SwapAxes

Author:
hh Implementation of the Swap Axes Extension for Mondrian Data Source.

Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.olap.navi.SwapAxes
ID
 
Constructor Summary
MondrianSwapAxes()
          Constructor sets ID
 
Method Summary
 boolean canSwapAxes()
           
 boolean isSwapAxes()
           
 void setSwapAxes(boolean swap)
          swaps the axes
 
Methods inherited from class com.tonbeller.jpivot.core.ExtensionSupport
decorate, getId, getModel, modelInitialized, setId, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tonbeller.jpivot.core.Extension
decorate, getId, modelInitialized, setModel
 

Constructor Detail

MondrianSwapAxes

public MondrianSwapAxes()
Constructor sets ID

Method Detail

canSwapAxes

public boolean canSwapAxes()
Specified by:
canSwapAxes in interface SwapAxes
Returns:
true, if the Mondrian Query exists and has two axes
See Also:
SwapAxes.canSwapAxes()

setSwapAxes

public void setSwapAxes(boolean swap)
Description copied from interface: SwapAxes
swaps the axes

Specified by:
setSwapAxes in interface SwapAxes

isSwapAxes

public boolean isSwapAxes()
Specified by:
isSwapAxes in interface SwapAxes