public class RolapCubeDimension extends RolapDimension
OlapElement.LocalizedProperty
Modifier and Type | Field and Description |
---|---|
(package private) RolapCube |
cube |
(package private) int |
cubeOrdinal |
(package private) RolapDimension |
rolapDimension |
(package private) MondrianDef.CubeDimension |
xmlDimension |
description, dimensionType, hierarchies, highCardinality, name, uniqueName
caption, visible
MEASURES_NAME, MEASURES_UNIQUE_NAME
Constructor and Description |
---|
RolapCubeDimension(RolapCube cube,
RolapDimension rolapDim,
MondrianDef.CubeDimension cubeDim,
String name,
int cubeOrdinal,
List<RolapHierarchy> hierarchyList,
boolean highCardinality)
Creates a RolapCubeDimension.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCaption()
Returns the display name of this catalog element.
|
RolapCube |
getCube() |
DimensionType |
getDimensionType()
Returns the type of this dimension
(
DimensionType.StandardDimension or
DimensionType.TimeDimension |
int |
getOrdinal() |
Schema |
getSchema()
Returns the schema this dimension belongs to.
|
(package private) RolapCubeHierarchy |
newHierarchy(String subName,
boolean hasAll,
RolapHierarchy closureFor)
Creates a hierarchy.
|
void |
setCaption(String caption)
Sets the display name of this catalog element.
|
getAnnotationMap, getHierarchy, getLogger, init
getDescription, getDimension, getHierarchies, getName, getQualifiedName, getUniqueName, isHighCardinality, isMeasures, lookupChild
clone, computeHashCode, equals, getLocalized, hashCode, isVisible, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getLocalized, isVisible
RolapCube cube
RolapDimension rolapDimension
int cubeOrdinal
MondrianDef.CubeDimension xmlDimension
public RolapCubeDimension(RolapCube cube, RolapDimension rolapDim, MondrianDef.CubeDimension cubeDim, String name, int cubeOrdinal, List<RolapHierarchy> hierarchyList, boolean highCardinality)
cube
- CuberolapDim
- Dimension wrapped by this dimensioncubeDim
- XML element definitionname
- Name of dimensioncubeOrdinal
- Ordinal of dimension within cubehierarchyList
- List of hierarchies in cubehighCardinality
- Whether high cardinality dimensionpublic RolapCube getCube()
public Schema getSchema()
Dimension
getSchema
in interface Dimension
getSchema
in class RolapDimension
public int getOrdinal()
public boolean equals(Object o)
equals
in class OlapElementBase
RolapCubeHierarchy newHierarchy(String subName, boolean hasAll, RolapHierarchy closureFor)
RolapDimension
newHierarchy
in class RolapDimension
subName
- Name of this hierarchy.hasAll
- Whether hierarchy has an 'all' memberclosureFor
- Hierarchy for which the new hierarchy is a closure;
null for regular hierarchiespublic String getCaption()
OlapElementBase
getCaption
in interface OlapElement
getCaption
in class OlapElementBase
public void setCaption(String caption)
OlapElementBase
setCaption
in class OlapElementBase
public DimensionType getDimensionType()
Dimension
DimensionType.StandardDimension
or
DimensionType.TimeDimension
getDimensionType
in interface Dimension
getDimensionType
in class DimensionBase