Package 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 ofDimensionfor 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
Constructors Constructor Description MondrianOlap4jDimension(MondrianOlap4jSchema olap4jSchema, Dimension dimension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCaption()HierarchygetDefaultHierarchy()StringgetDescription()Dimension.TypegetDimensionType()NamedList<Hierarchy>getHierarchies()StringgetName()protected OlapElementgetOlapElement()Returns the Mondrian metadata element inside this wrapper, or null if there is none.StringgetUniqueName()inthashCode()booleanisVisible()-
Methods inherited from class mondrian.olap4j.MondrianOlap4jMetadataElement
isWrapperFor, unwrap, unwrapImpl
-
-
-
-
Constructor Detail
-
MondrianOlap4jDimension
MondrianOlap4jDimension(MondrianOlap4jSchema olap4jSchema, Dimension dimension)
-
-
Method Detail
-
getHierarchies
public NamedList<Hierarchy> getHierarchies()
- Specified by:
getHierarchiesin interfaceDimension
-
getDefaultHierarchy
public Hierarchy getDefaultHierarchy()
- Specified by:
getDefaultHierarchyin interfaceDimension
-
getDimensionType
public Dimension.Type getDimensionType() throws OlapException
- Specified by:
getDimensionTypein interfaceDimension- Throws:
OlapException
-
getName
public String getName()
- Specified by:
getNamein interfaceMetadataElement- Specified by:
getNamein interfaceorg.olap4j.impl.Named
-
getUniqueName
public String getUniqueName()
- Specified by:
getUniqueNamein interfaceMetadataElement
-
getCaption
public String getCaption()
- Specified by:
getCaptionin interfaceMetadataElement
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceMetadataElement
-
isVisible
public boolean isVisible()
- Specified by:
isVisiblein interfaceMetadataElement
-
getOlapElement
protected OlapElement getOlapElement()
Description copied from class:MondrianOlap4jMetadataElementReturns the Mondrian metadata element inside this wrapper, or null if there is none.- Specified by:
getOlapElementin classMondrianOlap4jMetadataElement- Returns:
- The Mondrian metadata element, if any
-
-