1 13 package com.tonbeller.jpivot.olap.navi; 14 15 import com.tonbeller.jpivot.core.Extension; 16 import com.tonbeller.jpivot.olap.model.Hierarchy; 17 import com.tonbeller.jpivot.olap.model.Member; 18 19 25 26 public interface MemberTree extends Extension { 27 28 31 public class TooManyMembersException extends RuntimeException { 32 public TooManyMembersException() { 33 super(); 34 } 35 public TooManyMembersException(Throwable cause) { 36 super(cause); 37 } 38 } 39 40 43 public static final String ID = "memberTree"; 44 45 49 Member[] getRootMembers(Hierarchy hier) throws TooManyMembersException; 50 51 54 boolean hasChildren(Member member); 55 56 59 Member[] getChildren(Member member) throws TooManyMembersException; 60 61 64 Member getParent(Member member); 65 } 66 | Popular Tags |