|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mapping.ObjectMap
oracle.olapi.metadata.mapping.CubeMap
public final class CubeMap
An ObjectMap that represents a mapping for an MdmCube to an Expression. A CubeMap has an MeasureMap for each MdmMeasure that is associated with the MdmCube. It also has a Query and CubeDimensionality objects.
An application gets a CubeMap by calling the method of an createCubeMapMdmCube.
| Method Summary | |
|---|---|
void |
addDimensionalityMap(CubeDimensionalityMap value)Adds a CubeDimensionalityMap to the CubeMap. |
void |
addMeasureMap(MeasureMap value)Adds a MeasureMap to the CubeMap. |
CubeDimensionalityMap |
findOrCreateCubeDimensionalityMap(MdmDimensionality diml)Gets the CubeDimensionalityMap that has the specified name or, if the map does not exist, creates a CubeDimensionalityMap. |
MeasureMap |
findOrCreateMeasureMap(MdmBaseMeasure measure)Gets the MeasureMap for the specified measure or, if the map does not exist, creates a MeasureMap for the measure. |
java.lang.String |
getAggregationMethod()Gets the aggregation method specified for the cube. |
MdmCube |
getCube()Gets the MdmCube that is the owner of this CubeMap. |
java.util.List |
getDimensionalityMaps()Gets the CubeDimensionalityMap objects associated with the CubeMap. |
boolean |
getIsSolved()Indicates whether the cube maps to solved data. |
java.util.List |
getMeasureMaps()Gets the MeasureMap objects associated with the CubeMap. |
java.lang.String |
getName()Gets the name of this MdmObject. |
Query |
getQuery()Gets the Query associated with the CubeMap. |
void |
removeDimensionalityMap(CubeDimensionalityMap value)Removes a CubeDimensionalityMap from the CubeMap. |
void |
removeMeasureMap(MeasureMap value)Removes a MeasureMap from the CubeMap. |
void |
setAggregationMethod(java.lang.String input)Specifies an aggregation method specified for the cube. |
void |
setIsSolved(boolean input)Specifies whether the cube maps to solved data. |
void |
setName(java.lang.String name)Specifies a name for this CubeMap. |
void |
setQuery(Query input)Specfies a query for this CubeMap. |
| Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
|---|
getID, getOwner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setQuery(Query input)
CubeMap.input - The Query to specify for this CubeMap.public Query getQuery()
Query associated with the CubeMap.Query associated with the CubeMap.public void addMeasureMap(MeasureMap value)
MeasureMap to the CubeMap.value - The MeasureMap to add.public void removeMeasureMap(MeasureMap value)
MeasureMap from the CubeMap.value - The MeasureMap to remove.public java.util.List getMeasureMaps()
MeasureMap objects associated with the CubeMap.List that contains the MeasureMap objects associated with the CubeMap.public void addDimensionalityMap(CubeDimensionalityMap value)
CubeDimensionalityMap to the CubeMap.value - The CubeDimensionalityMap to add.public void removeDimensionalityMap(CubeDimensionalityMap value)
CubeDimensionalityMap from the CubeMap.value - The CubeDimensionalityMap to remove.public java.util.List getDimensionalityMaps()
CubeDimensionalityMap objects associated with the CubeMap.List that contains the CubeDimensionalityMap objects associated with the CubeMap.public MdmCube getCube()
MdmCube that is the owner of this CubeMap.public boolean getIsSolved()
boolean that is true if the cube maps to solved data or false if it does not.public void setIsSolved(boolean input)
input - A boolean that is true if the cube maps to solved data or false if it does not.public java.lang.String getAggregationMethod()
String that contains the aggregation method of the cube.public void setAggregationMethod(java.lang.String input)
input - A String that contains an aggregation method for the cube.public MeasureMap findOrCreateMeasureMap(MdmBaseMeasure measure)
MeasureMap for the specified measure or, if the map does not exist, creates a MeasureMap for the measure.measure - The MdmBaseMeasure for which to get a MeasureMap.MeasureMap for the specified measure.public CubeDimensionalityMap findOrCreateCubeDimensionalityMap(MdmDimensionality diml)
CubeDimensionalityMap that has the specified name or, if the map does not exist, creates a CubeDimensionalityMap.diml - The MdmDimensionality for which to get a CubeDimensionalityMap.CubeDimensionalityMap for the specified MdmDimensionality.public final java.lang.String getName()
MdmObject.String that contains the name of this ObjectMap.public void setName(java.lang.String name)
CubeMap.name - A String that contains a name for this CubeMap.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||