|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | 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
An MdmPrimaryDimension
that specifies the MdmMeasure
objects available through an MdmMetadataProvider
. An MdmMeasureDimension
has a single MdmLevelHierarchy
component, which has a single MdmLevel
component. The elements of the MdmLevel
have the MdmMeasure
objects as values.
You get the MdmMeasureDimension
by calling the getMeasureDimension
method on the top-level, or root, MdmSchema
of the MdmMetadataProvider
that you are using. You get the root MdmSchema
by calling the getRootSchema
method on the MdmMetadataProvider
.
Method Summary | |
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context) Calls the visitMdmMeasureDimension method on the specified MdmObjectVisitor and passes that method this MdmObject and the specified context object. |
void |
addMeasure(MdmMeasure measure) Adds an MdmMeasure to this MdmMeasureDimension . |
java.util.List |
getMeasures() Gets a List that contains the MdmMeasure objects that are the values of the elements of the MdmLevelHierarchy that is the sole component of this MdmMeasureDimension . |
void |
removeMeasure(MdmMeasure measure) Removes the specified MdmMeasure from this MdmMeasureDimension . |
Methods inherited from class oracle.olapi.metadata.mdm.MdmDimension |
getAttributes, getCardinality, getPluralDescription, getShortPluralDescription, removeAttribute, setCardinality, setPluralDescription, setShortPluralDescription |
Methods inherited from class oracle.olapi.metadata.mdm.MdmSource |
getDataType, getSource, getSourceMap, getType |
Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
getDescription, getMetadataProvider, getName, getShortDescription, 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 on the specified MdmObjectVisitor
and passes that method this MdmObject
and the specified context
object.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 values of the elements of the MdmLevelHierarchy
that is the sole component of this MdmMeasureDimension
.List
containing all the MdmMeasure
objects of the MdmLevelHierarchy
component of this MdmMeasureDimension
.public void addMeasure(MdmMeasure measure)
MdmMeasure
to this MdmMeasureDimension
. You create an MdmMeasure
with a method, such as the createStringMeasure
method, of an MdmCustomObjectFactory
.measure
- A custom MdmMeasure
returned by a method of an MdmCustomObjectFactory
.public void removeMeasure(MdmMeasure measure)
MdmMeasure
from this MdmMeasureDimension
.measure
- The MdmMeasure
to remove.
|
Oracle OLAP Java API Reference 10g Release 1 (10.1) B10994-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |