mondrian.rolap
Interface RolapMemberInCube

All Superinterfaces:
Annotated, Comparable, Member, OlapElement, RolapCalculation, RolapMember
All Known Implementing Classes:
RolapAllCubeMember, RolapCubeMember, RolapHierarchy.LimitedRollupMember

public interface RolapMemberInCube
extends RolapMember

Extension to RolapMember that knows the current cube.

This is typical of members that occur in queries (where there is always a current cube) as opposed to members that belong to caches. Members of shared dimensions might occur in several different cubes, or even several times in the same virtual cube.

Since:
20 March, 2010
Author:
jhyde

Nested Class Summary
 
Nested classes/interfaces inherited from interface mondrian.olap.Member
Member.MemberType
 
Nested classes/interfaces inherited from interface mondrian.olap.OlapElement
OlapElement.LocalizedProperty
 
Method Summary
 RolapCube getCube()
          Returns the cube this cube member belongs to.
 
Methods inherited from interface mondrian.rolap.RolapMember
getHierarchy, getKey, getLevel, getParentMember, isAllMember
 
Methods inherited from interface mondrian.olap.Member
getAncestorMembers, getDataMember, getDepth, getExpression, getMemberType, getOrderKey, getOrdinal, getParentUniqueName, getProperties, getPropertyFormattedValue, getPropertyValue, getPropertyValue, getSolveOrder, isAll, isCalculated, isCalculatedInQuery, isChildOrEqualTo, isEvaluated, isHidden, isMeasure, isNull, isParentChildLeaf, setName, setProperty
 
Methods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getLocalized, getName, getQualifiedName, getUniqueName, isVisible, lookupChild
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface mondrian.olap.Annotated
getAnnotationMap
 
Methods inherited from interface mondrian.rolap.RolapCalculation
containsAggregateFunction, getCompiledExpression, getHierarchyOrdinal, getSolveOrder, isCalculatedInQuery, setContextIn
 

Method Detail

getCube

RolapCube getCube()
Returns the cube this cube member belongs to.

This method is not in the RolapMember interface, because regular members may be shared, and therefore do not belong to a specific cube.

Returns:
Cube this cube member belongs to, never null

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads