mondrian.olap4j
Class MondrianOlap4jDimension

java.lang.Object
  extended by mondrian.olap4j.MondrianOlap4jMetadataElement
      extended by mondrian.olap4j.MondrianOlap4jDimension
All Implemented Interfaces:
org.olap4j.impl.Named, Dimension, MetadataElement, OlapWrapper

 class MondrianOlap4jDimension
extends MondrianOlap4jMetadataElement
implements Dimension, org.olap4j.impl.Named

Implementation of Dimension for the Mondrian OLAP engine.

Since:
May 24, 2007
Author:
jhyde

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.olap4j.metadata.Dimension
Dimension.Type
 
Constructor Summary
MondrianOlap4jDimension(MondrianOlap4jSchema olap4jSchema, Dimension dimension)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCaption()
           
 Hierarchy getDefaultHierarchy()
           
 String getDescription()
           
 Dimension.Type getDimensionType()
           
 NamedList<Hierarchy> getHierarchies()
           
 String getName()
           
protected  OlapElement getOlapElement()
          Returns the Mondrian metadata element inside this wrapper, or null if there is none.
 String getUniqueName()
           
 int hashCode()
           
 boolean isVisible()
           
 
Methods inherited from class mondrian.olap4j.MondrianOlap4jMetadataElement
isWrapperFor, unwrap, unwrapImpl
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MondrianOlap4jDimension

MondrianOlap4jDimension(MondrianOlap4jSchema olap4jSchema,
                        Dimension dimension)
Method Detail

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getHierarchies

public NamedList<Hierarchy> getHierarchies()
Specified by:
getHierarchies in interface Dimension

getDefaultHierarchy

public Hierarchy getDefaultHierarchy()
Specified by:
getDefaultHierarchy in interface Dimension

getDimensionType

public Dimension.Type getDimensionType()
                                throws OlapException
Specified by:
getDimensionType in interface Dimension
Throws:
OlapException

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()
Specified by:
getCaption in interface MetadataElement

getDescription

public String getDescription()
Specified by:
getDescription in interface MetadataElement

isVisible

public boolean isVisible()
Specified by:
isVisible in interface MetadataElement

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 class MondrianOlap4jMetadataElement
Returns:
The Mondrian metadata element, if any

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads