|
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.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmSource
oracle.olapi.metadata.mdm.MdmDimension
oracle.olapi.metadata.mdm.MdmPrimaryDimension
oracle.olapi.metadata.mdm.MdmMeasureDimension
public final class MdmMeasureDimension
An MdmPrimaryDimension
with members that are MdmMeasure
objects. An MdmMeasureDimension
has a single MdmLevelHierarchy
component, which has a single MdmHierarchyLevel
component.
You get the top-level MdmMeasureDimension
by calling the getMeasureDimension
method of the MdmRootSchema
of the MdmMetadataProvider
that you are using. You get the MdmRootSchema
by calling the getRootSchema
method of the MdmMetadataProvider
.
Method Summary | |
---|---|
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context) Calls the visitMdmMeasureDimension method of the MdmObjectVisitor and passes that method the MdmMeasureDimension and an Object . |
void |
addMeasure(MdmMeasure measure) Adds an MdmMeasure to the MdmMeasureDimension . |
MdmMeasure |
createCustomMeasure(java.lang.String name, MdmSchema schema, Source source, int precedence) Creates a custom MdmMeasure for the specified MdmSchema . |
MdmMeasure |
createCustomMeasure(java.lang.String name, Source source, int precedence) Creates a custom MdmMeasure . |
MdmCube |
getCube() Gets the MdmCube that is associated with this MdmMeasureDimension . |
java.util.List |
getMeasures() Gets a List that contains the MdmMeasure objects that are the members of the MdmMeasureDimension . |
MdmDimensionCalculationModel |
getValueCalcModel() Gets the MdmDimensionCalculationModel with the data type of Value for the MdmMeasureDimension . |
void |
removeMeasure(MdmMeasure measure) Removes an MdmMeasure from the MdmMeasureDimension . |
void |
setValueCalcModel(MdmDimensionCalculationModel model) Specifies a MdmDimensionCalculationModel to use for MdmMeasure members of the MdmMeasureDimension that have a data type of Value. |
Methods inherited from class oracle.olapi.metadata.mdm.MdmDimension |
---|
getCardinality, getCustomOrder, getPluralDescription, getShortPluralDescription, setCardinality, setCustomOrder, setPluralDescription, setShortPluralDescription |
Methods inherited from class oracle.olapi.metadata.mdm.MdmSource |
---|
getDataType, getModel, getSource, getSourceMap, setModel |
Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
---|
findOrCreateDescription, getDescription, getDescription, getDescription, getMetadataProvider, getName, getShortDescription, setDescription, setDescription, setDescription, setName, setShortDescription |
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 |
---|
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
visitMdmMeasureDimension
method of the MdmObjectVisitor
and passes that method the MdmMeasureDimension
and an Object
.acceptVisitor
in class MdmObject
visitor
- An MdmObjectVisitor
.context
- An Object
.Object
returned by the visitMdmMeasureDimension
method.public final java.util.List getMeasures()
List
that contains the MdmMeasure
objects that are the members of the MdmMeasureDimension
.List
containing all the MdmMeasure
objects of the MdmMeasureDimension
.public void addMeasure(MdmMeasure measure)
MdmMeasure
to the MdmMeasureDimension
.measure
- The MdmMeasure
to add to the MdmMeasureDimension
.public void removeMeasure(MdmMeasure measure)
MdmMeasure
from the MdmMeasureDimension
.measure
- The MdmMeasure
to remove.public final MdmDimensionCalculationModel getValueCalcModel()
MdmDimensionCalculationModel
with the data type of Value for the MdmMeasureDimension
.MdmDimensionCalculationModel
with the data type of Value.public final void setValueCalcModel(MdmDimensionCalculationModel model)
MdmDimensionCalculationModel
to use for MdmMeasure
members of the MdmMeasureDimension
that have a data type of Value.model
- A MdmDimensionCalculationModel
with the data type of Value that you want to use for members of the MdmMeasureDimension
that have a data type of Value.public MdmMeasure createCustomMeasure(java.lang.String name, Source source, int precedence)
MdmMeasure
.name
- A String
that contains a name for the custom MdmMeasure
.source
- A Source
that specifies the values of the custom measure.precedence
- An integer that specifies the precedence for the MdmMeasure
.public MdmMeasure createCustomMeasure(java.lang.String name, MdmSchema schema, Source source, int precedence)
MdmMeasure
for the specified MdmSchema
.name
- A String
that contains a name for the custom MdmMeasure
.schema
- The MdmSchema
to which you want the custom measure to belong.source
- A Source
that specifies the values of the custom measure.precedence
- An integer that specifies the precedence for the MdmMeasure
.public final MdmCube getCube()
MdmCube
that is associated with this MdmMeasureDimension
.MdmCube
associated with this MdmMeasureDimension
.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |