mondrian.olap4j
Class MondrianOlap4jLevel

java.lang.Object
  extended by mondrian.olap4j.MondrianOlap4jLevel
All Implemented Interfaces:
org.olap4j.impl.Named, Level, MetadataElement

 class MondrianOlap4jLevel
extends Object
implements Level, org.olap4j.impl.Named

Implementation of Level for the Mondrian OLAP engine.

Since:
May 25, 2007
Author:
jhyde
 

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.olap4j.metadata.Level
Level.Type
 
Constructor Summary
MondrianOlap4jLevel(MondrianOlap4jSchema olap4jSchema, Level level)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCaption(Locale locale)
           
 int getCardinality()
           
 int getDepth()
           
 String getDescription(Locale locale)
           
 Dimension getDimension()
           
 Hierarchy getHierarchy()
           
 Level.Type getLevelType()
           
 List<Member> getMembers()
           
 String getName()
           
 NamedList<Property> getProperties()
           
 String getUniqueName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MondrianOlap4jLevel

MondrianOlap4jLevel(MondrianOlap4jSchema olap4jSchema,
                    Level level)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getDepth

public int getDepth()
Specified by:
getDepth in interface Level

getHierarchy

public Hierarchy getHierarchy()
Specified by:
getHierarchy in interface Level

getDimension

public Dimension getDimension()
Specified by:
getDimension in interface Level

getLevelType

public Level.Type getLevelType()
Specified by:
getLevelType in interface Level

getProperties

public NamedList<Property> getProperties()
Specified by:
getProperties in interface Level

getMembers

public List<Member> getMembers()
Specified by:
getMembers in interface Level

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

getCardinality

public int getCardinality()
Specified by:
getCardinality in interface Level

SourceForge.net_Logo