Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

oracle.olapi.metadata.mtm
Class MtmBaseCube

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mtm.MtmObject
              |
              +--oracle.olapi.metadata.mtm.MtmCube
                    |
                    +--oracle.olapi.metadata.mtm.MtmBaseCube
Direct Known Subclasses:
MtmSolvedCube, MtmUnsolvedCube

public abstract class MtmBaseCube
extends MtmCube

An MtmCube that describes the dimensionality and measures for one hierarchy combination of an MtmPartitionedCube.


Method Summary
 void addDimensionality(MtmCubeDimensionality dimensionality)
          Adds an MtmCubeDimensionality to this MtmBaseCube.
 void addMeasure(MdmMeasure measure, MtmValueExpression mappedExpression)
          Adds an MdmMeasure to this MtmBaseCube.
 java.util.List getDimensionality()
          Gets a List of the MtmCubeDimensionality objects of this MtmBaseCube.
 MtmPartitionedCube getPartitionedCube()
          Gets the MtmPartitionedCube of which this MtmBaseCube is component.
 MtmTabularSource getTable()
          Gets the MtmTabularSource for the table to which this MtmBaseCube is mapped.
 void removeDimension(MdmDimension dimension)
          Removes the MtmCubeDimensionality for the specified MdmDimension from this MtmBaseCube.
 void removeDimensionality(MtmCubeDimensionality dimensionality)
          Removes an MtmCubeDimensionality from this MtmBaseCube.
 void removeMeasure(MdmMeasure measure)
          Removes the specified MdmMeasure from this MtmBaseCube.

 

Methods inherited from class oracle.olapi.metadata.mtm.MtmCube
getDimensionMaps, getMeasureMaps, getName, setName

 

Methods inherited from class oracle.olapi.metadata.mtm.MtmObject
acceptVisitor

 

Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getID

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getDimensionality

public java.util.List getDimensionality()
Gets a List of the MtmCubeDimensionality objects of this MtmBaseCube. Each of the objects stores dimensionality information for one MdmHierarchy of the cube.
Returns:
A List of the MtmCubeDimensionality objects of this MtmBaseCube.

getTable

public MtmTabularSource getTable()
Gets the MtmTabularSource for the table to which this MtmBaseCube is mapped. Typically, the table has a column for each MdmHierarchy and MdmMeasure to which this MtmBaseCube is mapped.
Returns:
The MtmTabularSource for this MtmBaseCube.

addMeasure

public void addMeasure(MdmMeasure measure,
MtmValueExpression mappedExpression)
Adds an MdmMeasure to this MtmBaseCube. The mappedExpression value specifies the user expression or fact table column to set as the mapped expression of the MtmMeasureMap of the MdmMeasure for this MtmBaseCube. If mappedExpression is null, the mapped expression of the MdmMeasureMap is its default mapped expression.
Parameters:
measure - The MdmMeasure to add to this MtmBaseCube.
mappedExpression - An MtmValueExpression that specifies the data for the MdmMeasure for this MtmBaseCube.

removeMeasure

public void removeMeasure(MdmMeasure measure)
Removes the specified MdmMeasure from this MtmBaseCube.
Parameters:
measure - The MdmMeasure to remove from this MtmBaseCube.

addDimensionality

public void addDimensionality(MtmCubeDimensionality dimensionality)
Adds an MtmCubeDimensionality to this MtmBaseCube.
Parameters:
dimensionality - The MtmCubeDimensionality to add to this MtmBaseCube.

removeDimensionality

public void removeDimensionality(MtmCubeDimensionality dimensionality)
Removes an MtmCubeDimensionality from this MtmBaseCube.
Parameters:
dimensionality - The MtmCubeDimensionality to remove from this MtmBaseCube.

removeDimension

public void removeDimension(MdmDimension dimension)
Removes the MtmCubeDimensionality for the specified MdmDimension from this MtmBaseCube. This is a convenience method that you can use instead of removeDimensionality when you have an MdmDimension but you do not have the MtmCubeDimensionality for it.
Parameters:
dimension - The MdmDimension to remove from this MtmBaseCube.

getPartitionedCube

public MtmPartitionedCube getPartitionedCube()
Gets the MtmPartitionedCube of which this MtmBaseCube is component. return The MtmPartitionedCube of which this MtmBaseCube is component

Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.