Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-03


oracle.olapi.metadata.mdm
Class MdmDerivedMeasure

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mdm.MdmObject
          extended by oracle.olapi.metadata.mdm.MdmSource
              extended by oracle.olapi.metadata.mdm.MdmDimensionedObject
                  extended by oracle.olapi.metadata.mdm.MdmMeasure
                      extended by oracle.olapi.metadata.mdm.MdmDerivedMeasure

All Implemented Interfaces:
MdmMember, MdmViewColumnOwner, MetadataObject

public class MdmDerivedMeasure
extends MdmMeasure

An MdmMeasure that has values that Oracle OLAP derives from an Expression. The values of an MdmDerivedMeasure are calculated on the fly by Oracle OLAP and are not stored in the database. An MdmDerivedMeasure does not have an associated ConsistentSolveSpecification.

With the findOrCreateDerivedMeasure method of an MdmCube, you can get an existing MdmDerivedMeasure or create a new one. Committing the Transaction in which you create a derived measure makes the MdmDerivedMeasure a persistent object. It adds the MdmDerivedMeasure to the Data Dictionary, which makes it available to other applications.


Method Summary
 java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMdmDerivedMeasure method of the MdmObjectVisitor and passes that method this MdmDerivedMeasure and an Object.
 Expression getMeasureExpression()
          Gets the Expression that determines the values of this MdmDerivedMeasure.
 SQLDataType getSQLDataType()
          Gets the SQL data type for this MdmDerivedMeasure.
 void setMeasureExpression(Expression input)
          Specifies an Expression that determines the values of this MdmDerivedMeasure.

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmMeasure
addDimensionality, getCube, getDimensionality, getETMeasureColumn, getLevel, getLevelDepth, getLocalValue, getMeasureDimension, getMeasureMap, getMeasureModel, getModel, getOwnerDimension, getParentLevel, getParentLocalValue, getParentValue, getPrecedence, getType, getUnits, getValue, getValueFormat, removeDimensionality, setCube, setMeasureModel, setModel, setPrecedence, setUnits, setValueFormat

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmDimensionedObject
addDimension, getDimensions, isBooleanValued, setBooleanValued

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmSource
getDataType, getSource, getSourceMap

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmObject
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getName, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription

 

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

 

Methods inherited from interface oracle.olapi.metadata.mdm.MdmMember
getDataType, getDescription, getShortDescription, getSource

 

Method Detail

acceptVisitor

public java.lang.Object acceptVisitor(MdmObjectVisitor visitor,
                                      java.lang.Object context)
Calls the visitMdmDerivedMeasure method of the MdmObjectVisitor and passes that method this MdmDerivedMeasure and an Object.
Overrides:
acceptVisitor in class MdmMeasure
Parameters:
visitor - An MdmObjectVisitor that is an instance of Mdm11_ObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMdmDerivedMeasure method.

getMeasureExpression

public final Expression getMeasureExpression()
Gets the Expression that determines the values of this MdmDerivedMeasure.
Returns:
The Expression that determines the values of this MdmDerivedMeasure.

setMeasureExpression

public final void setMeasureExpression(Expression input)
Specifies an Expression that determines the values of this MdmDerivedMeasure.
Parameters:
input - An Expression that determines the values of this MdmDerivedMeasure.

getSQLDataType

public final SQLDataType getSQLDataType()
Gets the SQL data type for this MdmDerivedMeasure.
Returns:
A SQLDataType that represents the SQL data type.

Skip navigation links

Copyright © 2002, 2008, Oracle. All rights reserved.