mondrian.olap4j
Class MondrianOlap4jDimension
java.lang.Object
mondrian.olap4j.MondrianOlap4jMetadataElement
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
MondrianOlap4jDimension
MondrianOlap4jDimension(MondrianOlap4jSchema olap4jSchema,
Dimension dimension)
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