Package mondrian.olap4j
Class MondrianOlap4jHierarchy
- java.lang.Object
-
- mondrian.olap4j.MondrianOlap4jMetadataElement
-
- mondrian.olap4j.MondrianOlap4jHierarchy
-
- All Implemented Interfaces:
org.olap4j.impl.Named
,Hierarchy
,MetadataElement
,OlapWrapper
class MondrianOlap4jHierarchy extends MondrianOlap4jMetadataElement implements Hierarchy, org.olap4j.impl.Named
Implementation ofHierarchy
for the Mondrian OLAP engine.- Since:
- May 25, 2007
- Author:
- jhyde
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Hierarchy
hierarchy
(package private) MondrianOlap4jSchema
olap4jSchema
-
Constructor Summary
Constructors Constructor Description MondrianOlap4jHierarchy(MondrianOlap4jSchema olap4jSchema, Hierarchy hierarchy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCaption()
Member
getDefaultMember()
java.lang.String
getDescription()
Dimension
getDimension()
NamedList<Level>
getLevels()
java.lang.String
getName()
protected OlapElement
getOlapElement()
Returns the Mondrian metadata element inside this wrapper, or null if there is none.NamedList<Member>
getRootMembers()
java.lang.String
getUniqueName()
boolean
hasAll()
int
hashCode()
boolean
isVisible()
-
Methods inherited from class mondrian.olap4j.MondrianOlap4jMetadataElement
isWrapperFor, unwrap, unwrapImpl
-
-
-
-
Field Detail
-
olap4jSchema
final MondrianOlap4jSchema olap4jSchema
-
hierarchy
final Hierarchy hierarchy
-
-
Constructor Detail
-
MondrianOlap4jHierarchy
MondrianOlap4jHierarchy(MondrianOlap4jSchema olap4jSchema, Hierarchy hierarchy)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getDimension
public Dimension getDimension()
- Specified by:
getDimension
in interfaceHierarchy
-
getDefaultMember
public Member getDefaultMember() throws OlapException
- Specified by:
getDefaultMember
in interfaceHierarchy
- Throws:
OlapException
-
getRootMembers
public NamedList<Member> getRootMembers() throws OlapException
- Specified by:
getRootMembers
in interfaceHierarchy
- Throws:
OlapException
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceMetadataElement
- Specified by:
getName
in interfaceorg.olap4j.impl.Named
-
getUniqueName
public java.lang.String getUniqueName()
- Specified by:
getUniqueName
in interfaceMetadataElement
-
getCaption
public java.lang.String getCaption()
- Specified by:
getCaption
in interfaceMetadataElement
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceMetadataElement
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfaceMetadataElement
-
getOlapElement
protected OlapElement getOlapElement()
Description copied from class:MondrianOlap4jMetadataElement
Returns the Mondrian metadata element inside this wrapper, or null if there is none.- Specified by:
getOlapElement
in classMondrianOlap4jMetadataElement
- Returns:
- The Mondrian metadata element, if any
-
-