mondrian.olap4j
Class MondrianOlap4jMember

java.lang.Object
  extended by 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
 

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.olap4j.metadata.Member
Member.TreeOp, Member.Type
 
Field Summary
(package private)  Member member
           
 
Constructor Summary
MondrianOlap4jMember(MondrianOlap4jSchema olap4jSchema, Member mondrianMember)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Member> getAncestorMembers()
           
 String getCaption(Locale locale)
           
 int getChildMemberCount()
           
 NamedList<MondrianOlap4jMember> getChildMembers()
           
 Member getDataMember()
           
 int getDepth()
           
 String getDescription(Locale locale)
           
 Dimension getDimension()
           
 ParseTreeNode getExpression()
           
 Hierarchy getHierarchy()
           
 Level getLevel()
           
 Member.Type getMemberType()
           
 String getName()
           
 int getOrdinal()
           
 MondrianOlap4jMember getParentMember()
           
 NamedList<Property> getProperties()
           
 String getPropertyFormattedValue(Property property)
           
 Object getPropertyValue(Property property)
           
 int getSolveOrder()
           
 String getUniqueName()
           
 int hashCode()
           
 boolean isAll()
           
 boolean isCalculated()
           
 boolean isCalculatedInQuery()
           
 boolean isChildOrEqualTo(Member member)
           
 boolean isHidden()
           
 void setProperty(Property property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

member

final Member member
Constructor Detail

MondrianOlap4jMember

MondrianOlap4jMember(MondrianOlap4jSchema olap4jSchema,
                     Member mondrianMember)
Method Detail

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

SourceForge.net_Logo