mondrian.olap4j
Class MondrianOlap4jDimension

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

 class MondrianOlap4jDimension
extends Object
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(Locale locale)
           
 Hierarchy getDefaultHierarchy()
           
 String getDescription(Locale locale)
           
 Dimension.Type getDimensionType()
           
 NamedList<Hierarchy> getHierarchies()
           
 String getName()
           
 String getUniqueName()
           
 int hashCode()
           
 
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(Locale locale)
Specified by:
getCaption in interface MetadataElement

getDescription

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

SourceForge.net_Logo