public static class VisualTotalsFunDef.VisualTotalMember extends RolapMemberBase
VisualTotals
function.
It corresponds to a real member, and most of its properties are similar. The main differences are:
RolapMemberBase.DefaultPropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactory, RolapMemberBase.PropertyValueMapFactoryFactory
Member.MemberType
OlapElement.LocalizedProperty
flags, level, parentMember, uniqueName
visible
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o)
Compares this member to another
RolapMemberBase . |
protected boolean |
computeCalculated(Member.MemberType memberType)
Computes the value to be returned by
MemberBase.isCalculated() , so it can
be cached in a variable. |
boolean |
equals(Object o) |
String |
getCaption()
Returns the display name of this catalog element.
|
Member |
getDataMember()
Returns the system-generated data member that is associated with a
nonleaf member of a dimension.
|
Exp |
getExpression()
Returns the expression by which this member is calculated.
|
Member |
getMember() |
int |
getOrdinal()
Returns the ordinal of this member within its hierarchy.
|
Object |
getPropertyValue(String propertyName,
boolean matchCase)
Returns the value of the property named
propertyName ,
matching according to the required case-sensitivity. |
String |
getQualifiedName()
Returns the name of this element qualified by its class, for example
"hierarchy 'Customers'".
|
int |
getSolveOrder()
Returns the solve order of this calculation.
|
int |
hashCode() |
void |
setExpression(Evaluator evaluator,
List<Member> childMembers) |
void |
setExpression(Exp exp) |
childLevelHasApproxRowCount, containsAggregateFunction, equals, getAllMembers, getAnnotationMap, getCaptionValue, getCompiledExpression, getDepth, getHierarchy, getHierarchyCardinality, getHierarchyOrdinal, getKey, getLevel, getLogger, getName, getOrderKey, getParentMember, getProperties, getPropertyFormattedValue, getPropertyFromMap, getPropertyValue, isAllMember, isCalculatedInQuery, isHidden, isParentChildLeaf, keyToString, setCaptionValue, setContextIn, setName, setOrdinal, setOrdinals, setProperty, setUniqueName
getAncestorMembers, getDescription, getDimension, getMemberType, getParentUniqueName, getUniqueName, isAll, isCalculated, isChildOrEqualTo, isChildOrEqualTo, isEvaluated, isMeasure, isNull, isParentChildPhysicalMember, lookupChild
clone, computeHashCode, getLocalized, isVisible, setCaption, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getAncestorMembers, getMemberType, getParentUniqueName, isAll, isCalculated, isChildOrEqualTo, isEvaluated, isMeasure, isNull, isParentChildPhysicalMember
getDescription, getDimension, getLocalized, getUniqueName, isVisible, lookupChild
public boolean equals(Object o)
equals
in class RolapMemberBase
public int compareTo(Object o)
RolapMemberBase
RolapMemberBase
.
The method first compares on keys; null keys always collate last. If the keys are equal, it compares using unique name.
This method does not consider RolapMemberBase.ordinal
field, because
ordinal is only unique within a parent. If you want to compare
members which may be at any position in the hierarchy, use
FunUtil.compareHierarchically(mondrian.olap.Member, mondrian.olap.Member, boolean)
.
compareTo
in interface Comparable
compareTo
in class RolapMemberBase
public int hashCode()
hashCode
in class RolapMemberBase
public String getCaption()
OlapElementBase
getCaption
in interface OlapElement
getCaption
in class MemberBase
protected boolean computeCalculated(Member.MemberType memberType)
MemberBase
MemberBase.isCalculated()
, so it can
be cached in a variable.computeCalculated
in class MemberBase
memberType
- Member typepublic int getSolveOrder()
getSolveOrder
in interface Member
getSolveOrder
in class MemberBase
public Exp getExpression()
MemberBase
getExpression
in interface Member
getExpression
in class MemberBase
public void setExpression(Exp exp)
public int getOrdinal()
MemberBase
getOrdinal
in interface Member
getOrdinal
in class RolapMemberBase
public Member getDataMember()
Member
Returns this member if this member is a leaf member, or if the nonleaf member does not have an associated data member.
getDataMember
in interface Member
getDataMember
in class MemberBase
public String getQualifiedName()
OlapElement
getQualifiedName
in interface OlapElement
getQualifiedName
in class MemberBase
public Member getMember()
public Object getPropertyValue(String propertyName, boolean matchCase)
Member
propertyName
,
matching according to the required case-sensitivity.getPropertyValue
in interface Member
getPropertyValue
in class RolapMemberBase
Copyright © 2019 Hitachi Vantara. All rights reserved.