com.tonbeller.jpivot.xmla
Class XMLA_MemberTree

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

public class XMLA_MemberTree
extends ExtensionSupport
implements MemberTree

Member Tree Implementation vor XMLA


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.tonbeller.jpivot.olap.navi.MemberTree
MemberTree.TooManyMembersException
 
Field Summary
 
Fields inherited from interface com.tonbeller.jpivot.olap.navi.MemberTree
ID
 
Constructor Summary
XMLA_MemberTree()
          Constructor sets ID
 
Method Summary
 Member[] getChildren(Member member)
           
 Member getParent(Member member)
           
 Member[] getRootMembers(Hierarchy hier)
           
 boolean hasChildren(Member member)
           
 
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_MemberTree

public XMLA_MemberTree()
Constructor sets ID

Method Detail

getRootMembers

public Member[] getRootMembers(Hierarchy hier)
Specified by:
getRootMembers in interface MemberTree
Returns:
the root members of a hierarchy. This is for example the "All" member or the list of measures.

hasChildren

public boolean hasChildren(Member member)
Specified by:
hasChildren in interface MemberTree
Returns:
true if the member has children

getChildren

public Member[] getChildren(Member member)
Specified by:
getChildren in interface MemberTree
Returns:
the children of the member

getParent

public Member getParent(Member member)
Specified by:
getParent in interface MemberTree
Returns:
the parent of member or null, if this is a root member