mondrian.olap4j
Class MondrianOlap4jMember
java.lang.Object
mondrian.olap4j.MondrianOlap4jMember
- All Implemented Interfaces:
- org.olap4j.impl.Named, Member, MetadataElement
- Direct Known Subclasses:
- MondrianOlap4jMeasure
class MondrianOlap4jMember
- extends Object
- implements Member, org.olap4j.impl.Named
Implementation of Member
for the Mondrian OLAP engine,
as a wrapper around a mondrian
Member
.
- Since:
- May 25, 2007
- Author:
- jhyde
-
-
member
final Member member
MondrianOlap4jMember
MondrianOlap4jMember(MondrianOlap4jSchema olap4jSchema,
Member mondrianMember)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getChildMembers
public NamedList<MondrianOlap4jMember> getChildMembers()
- Specified by:
getChildMembers
in interface Member
getChildMemberCount
public int getChildMemberCount()
- Specified by:
getChildMemberCount
in interface Member
getParentMember
public MondrianOlap4jMember getParentMember()
- Specified by:
getParentMember
in interface Member
getLevel
public Level getLevel()
- Specified by:
getLevel
in interface Member
getHierarchy
public Hierarchy getHierarchy()
- Specified by:
getHierarchy
in interface Member
getDimension
public Dimension getDimension()
- Specified by:
getDimension
in interface Member
getMemberType
public Member.Type getMemberType()
- Specified by:
getMemberType
in interface Member
isAll
public boolean isAll()
- Specified by:
isAll
in interface Member
isChildOrEqualTo
public boolean isChildOrEqualTo(Member member)
- Specified by:
isChildOrEqualTo
in interface Member
isCalculated
public boolean isCalculated()
- Specified by:
isCalculated
in interface Member
getSolveOrder
public int getSolveOrder()
- Specified by:
getSolveOrder
in interface Member
getExpression
public ParseTreeNode getExpression()
- Specified by:
getExpression
in interface Member
getAncestorMembers
public List<Member> getAncestorMembers()
- Specified by:
getAncestorMembers
in interface Member
isCalculatedInQuery
public boolean isCalculatedInQuery()
- Specified by:
isCalculatedInQuery
in interface Member
getPropertyValue
public Object getPropertyValue(Property property)
- Specified by:
getPropertyValue
in interface Member
getPropertyFormattedValue
public String getPropertyFormattedValue(Property property)
- Specified by:
getPropertyFormattedValue
in interface Member
setProperty
public void setProperty(Property property,
Object value)
throws OlapException
- Specified by:
setProperty
in interface Member
- Throws:
OlapException
getProperties
public NamedList<Property> getProperties()
- Specified by:
getProperties
in interface Member
getOrdinal
public int getOrdinal()
- Specified by:
getOrdinal
in interface Member
isHidden
public boolean isHidden()
- Specified by:
isHidden
in interface Member
getDepth
public int getDepth()
- Specified by:
getDepth
in interface Member
getDataMember
public Member getDataMember()
- Specified by:
getDataMember
in interface Member
getName
public String getName()
- Specified by:
getName
in interface org.olap4j.impl.Named
- Specified by:
getName
in interface MetadataElement
getUniqueName
public String getUniqueName()
- Specified by:
getUniqueName
in interface MetadataElement
getCaption
public String getCaption(Locale locale)
- Specified by:
getCaption
in interface MetadataElement
getDescription
public String getDescription(Locale locale)
- Specified by:
getDescription
in interface MetadataElement