com.tonbeller.jpivot.olap.navi
Interface MemberTree
- All Superinterfaces:
- Extension
- All Known Implementing Classes:
- MondrianMemberTree, TestMemberTree, XMLA_MemberTree
public interface MemberTree
- extends Extension
exposes parent/child relationship between members.
Allows members to be displayed in a tree style GUI.
Implementations will have to send metadata queries to the database.
- Author:
- av
Field Summary |
static java.lang.String |
ID
name of the Extension for lookup |
ID
static final java.lang.String ID
- name of the Extension for lookup
- See Also:
- Constant Field Values
getRootMembers
Member[] getRootMembers(Hierarchy hier)
throws MemberTree.TooManyMembersException
- Returns:
- the root members of a hierarchy. This is for example
the "All" member or the list of measures.
- Throws:
MemberTree.TooManyMembersException
hasChildren
boolean hasChildren(Member member)
- Returns:
- true if the member can be expanded
getChildren
Member[] getChildren(Member member)
throws MemberTree.TooManyMembersException
- Returns:
- the children of the member
- Throws:
MemberTree.TooManyMembersException
getParent
Member getParent(Member member)
- Returns:
- the parent of member or null, if this is a root member