mondrian.rolap
Class RolapHierarchy.RolapCalculatedMeasure

java.lang.Object
  extended by mondrian.olap.OlapElementBase
      extended by mondrian.olap.MemberBase
          extended by mondrian.rolap.RolapMember
              extended by mondrian.rolap.RolapCalculatedMember
                  extended by mondrian.rolap.RolapHierarchy.RolapCalculatedMeasure
All Implemented Interfaces:
Comparable, Member, OlapElement, RolapMeasure
Enclosing class:
RolapHierarchy

protected static class RolapHierarchy.RolapCalculatedMeasure
extends RolapCalculatedMember
implements RolapMeasure

Calculated member which is also a measure (that is, a member of the [Measures] dimension).

 

Nested Class Summary
 
Nested classes/interfaces inherited from interface mondrian.olap.Member
Member.MemberType
 
Field Summary
 
Fields inherited from class mondrian.olap.MemberBase
flags, level, parentMember, parentUniqueName, uniqueName
 
Fields inherited from class mondrian.olap.OlapElementBase
caption
 
Constructor Summary
RolapHierarchy.RolapCalculatedMeasure(RolapMember parent, RolapLevel level, String name, Formula formula)
           
 
Method Summary
 CellFormatter getFormatter()
          Returns the object that formats cells of this measure, or null to use default formatting.
 void setProperty(String name, Object value)
          Sets a property of this member to a given value.
 
Methods inherited from class mondrian.rolap.RolapCalculatedMember
computeCalculated, getExpression, getFormula, getPropertyValue, getSolveOrder, isCalculatedInQuery
 
Methods inherited from class mondrian.rolap.RolapMember
childLevelHasApproxRowCount, compareTo, equals, equals, getAllMembers, getDepth, getHierarchy, getHierarchyCardinality, getKey, getLevel, getLogger, getName, getOrderKey, getOrdinal, getParentMember, getProperties, getPropertyFormattedValue, getPropertyFromMap, getPropertyValue, hashCode, isAllMember, isHidden, keyToString, makeUniqueName, setName, setOrderKey, setOrdinal, setOrdinals, setParentMember, setUniqueName
 
Methods inherited from class mondrian.olap.MemberBase
getAncestorMembers, getCaption, getDataMember, getDescription, getDimension, getMemberType, getParentUniqueName, getQualifiedName, getUniqueName, isAll, isCalculated, isChildOrEqualTo, isChildOrEqualTo, isMeasure, isNull, lookupChild, lookupChild
 
Methods inherited from class mondrian.olap.OlapElementBase
clone, computeHashCode, setCaption, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mondrian.olap.Member
getAncestorMembers, getDataMember, getDepth, getExpression, getHierarchy, getLevel, getMemberType, getOrderKey, getOrdinal, getParentMember, getParentUniqueName, getProperties, getPropertyFormattedValue, getPropertyValue, getPropertyValue, getSolveOrder, isAll, isCalculated, isCalculatedInQuery, isChildOrEqualTo, isHidden, isMeasure, isNull, setName
 
Methods inherited from interface mondrian.olap.OlapElement
getCaption, getDescription, getDimension, getName, getQualifiedName, getUniqueName, lookupChild, lookupChild
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

RolapHierarchy.RolapCalculatedMeasure

public RolapHierarchy.RolapCalculatedMeasure(RolapMember parent,
                                             RolapLevel level,
                                             String name,
                                             Formula formula)
Method Detail

setProperty

public void setProperty(String name,
                        Object value)
Description copied from class: RolapMember
Sets a property of this member to a given value.

WARNING: Setting system properties such as "$name" may have nasty side-effects.

Specified by:
setProperty in interface Member
Overrides:
setProperty in class RolapMember

getFormatter

public CellFormatter getFormatter()
Description copied from interface: RolapMeasure
Returns the object that formats cells of this measure, or null to use default formatting.

Specified by:
getFormatter in interface RolapMeasure
Returns:
formatter

SourceForge.net_Logo