com.tonbeller.jpivot.xmla
Class XMLA_SwapAxes

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

public class XMLA_SwapAxes
extends ExtensionSupport
implements SwapAxes

swap axes extension


Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.olap.navi.SwapAxes
ID
 
Constructor Summary
XMLA_SwapAxes()
          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

XMLA_SwapAxes

public XMLA_SwapAxes()
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 (or more?) 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
See Also:
SwapAxes.setSwapAxes(boolean)

isSwapAxes

public boolean isSwapAxes()
Specified by:
isSwapAxes in interface SwapAxes
See Also:
SwapAxes.isSwapAxes()