|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Hierarchy
A Hierarchy
is a set of members, organized into levels.
Method Summary | |
---|---|
Member |
createMember(Member parent,
Level level,
String name,
Formula formula)
Creates a member of this hierarchy. |
Member |
getAllMember()
Returns the "All" member of this hierarchy. |
Member |
getDefaultMember()
Returns the default member of this hierarchy. |
Dimension |
getDimension()
Returns the dimension this hierarchy belongs to. |
Level[] |
getLevels()
Returns the levels in this hierarchy. |
Member |
getNullMember()
Returns a special member representing the "null" value. |
boolean |
hasAll()
|
Methods inherited from interface mondrian.olap.OlapElement |
---|
getCaption, getDescription, getHierarchy, getName, getQualifiedName, getUniqueName, lookupChild, lookupChild |
Method Detail |
---|
Dimension getDimension()
getDimension
in interface OlapElement
Level[] getLevels()
If a hierarchy is subject to access-control, some of the levels may
not be visible; use SchemaReader.getHierarchyLevels(mondrian.olap.Hierarchy)
instead.
Member getDefaultMember()
If a hierarchy is subject to access-control, the default member may
not be visible, so use SchemaReader.getHierarchyDefaultMember(mondrian.olap.Hierarchy)
.
Member getAllMember()
Member getNullMember()
Lead
,
NextMember
and ParentMember
walk off the end
of the hierarchy.
boolean hasAll()
Member createMember(Member parent, Level level, String name, Formula formula)
formula
must not be null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |