Package mondrian.olap
Interface Level
-
- All Superinterfaces:
Annotated,OlapElement
- All Known Implementing Classes:
LevelBase,RolapCubeLevel,RolapLevel
public interface Level extends OlapElement, Annotated
ALevelis a group ofMembers in aHierarchy, all with the same attributes and at the same depth in the hierarchy.- Author:
- jhyde, 1 March, 1999
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.olap.OlapElement
OlapElement.LocalizedProperty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanareMembersUnique()intgetApproxRowCount()Returns the approximate number of members in this level, orInteger.MIN_VALUEif no approximation is known.LevelgetChildLevel()intgetDepth()Returns the depth of this level.HierarchygetHierarchy()Property[]getInheritedProperties()Returns properties defined against this level and parent levels.LevelTypegetLevelType()MemberFormattergetMemberFormatter()Returns the object that is used to format members of this level.LevelgetParentLevel()Property[]getProperties()Returns properties defined against this level.booleanisAll()-
Methods inherited from interface mondrian.olap.Annotated
getAnnotationMap
-
Methods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
-
-
-
-
Method Detail
-
getDepth
int getDepth()
Returns the depth of this level.Note #1: In an access-controlled context, the first visible level of a hierarchy (as returned by
SchemaReader.getHierarchyLevels(mondrian.olap.Hierarchy)) may not have a depth of 0.Note #2: In a parent-child hierarchy, the depth of a member (as returned by
SchemaReader.getMemberDepth(mondrian.olap.Member)) may not be the same as the depth of its level.
-
getHierarchy
Hierarchy getHierarchy()
- Specified by:
getHierarchyin interfaceOlapElement
-
getChildLevel
Level getChildLevel()
-
getParentLevel
Level getParentLevel()
-
isAll
boolean isAll()
-
areMembersUnique
boolean areMembersUnique()
-
getLevelType
LevelType getLevelType()
-
getProperties
Property[] getProperties()
Returns properties defined against this level.
-
getInheritedProperties
Property[] getInheritedProperties()
Returns properties defined against this level and parent levels.
-
getMemberFormatter
MemberFormatter getMemberFormatter()
Returns the object that is used to format members of this level.
-
getApproxRowCount
int getApproxRowCount()
Returns the approximate number of members in this level, orInteger.MIN_VALUEif no approximation is known.
-
-