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 ofDimension
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
Constructors Constructor Description MondrianOlap4jDimension(MondrianOlap4jSchema olap4jSchema, Dimension dimension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
MondrianOlap4jDimension
MondrianOlap4jDimension(MondrianOlap4jSchema olap4jSchema, Dimension dimension)
-
-
Method Detail
-
getHierarchies
public NamedList<Hierarchy> getHierarchies()
- Specified by:
getHierarchies
in interfaceDimension
-
getDefaultHierarchy
public Hierarchy getDefaultHierarchy()
- Specified by:
getDefaultHierarchy
in interfaceDimension
-
getDimensionType
public Dimension.Type getDimensionType() throws OlapException
- Specified by:
getDimensionType
in interfaceDimension
- Throws:
OlapException
-
getName
public String getName()
- Specified by:
getName
in interfaceMetadataElement
- Specified by:
getName
in interfaceorg.olap4j.impl.Named
-
getUniqueName
public String getUniqueName()
- Specified by:
getUniqueName
in interfaceMetadataElement
-
getCaption
public String getCaption()
- Specified by:
getCaption
in interfaceMetadataElement
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceMetadataElement
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfaceMetadataElement
-
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 classMondrianOlap4jMetadataElement
- Returns:
- The Mondrian metadata element, if any
-
-