Skip navigation links

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

B28128-02


oracle.olapi.metadata.mdm
Class MdmMeasureModel

java.lang.Object
  extended by oracle.olapi.metadata.BaseMetadataObject
      extended by oracle.olapi.metadata.mdm.MdmObject
          extended by oracle.olapi.metadata.mdm.MdmModel
              extended by oracle.olapi.metadata.mdm.MdmDimensionedObjectModel
                  extended by oracle.olapi.metadata.mdm.MdmMeasureModel

All Implemented Interfaces:
Model, MetadataObject

public class MdmMeasureModel
extends MdmDimensionedObjectModel

An MdmDimensionedObjectModel that represents an MdmMeasure. For each of the dimensions of its associated MdmMeasure, an MdmMeasureModel inherits the Assignment objects of the MdmDimensionCalculationModel of the appropriate data type.


Method Summary
 java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMdmMeasureModel method of an MdmObjectVisitor and passes that method the MdmMeasureModel and an Object.
 java.util.List getAutoAssignments()
          Gets an empty List because Oracle OLAP does not automatically create Assignment objects for an MdmMeasureModel.
 MdmDimensionedObject getMdmDimensionedObject()
          Gets the MdmDimensionedObject for the MdmMeasureModel.
 MdmMeasure getMdmMeasure()
          Gets the MdmMeasure for the MdmMeasureModel.
 java.util.List getParentModels()
          Gets the MdmDimensionCalculationModel objects that are the parent Model objects for the MdmMeasureModel.
 void setMdmMeasure(MdmMeasure measure)
          Specifies the MdmMeasure with which to associate the MdmMeasureModel.

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmDimensionedObjectModel
getDimensions, getInputs, getMdmSource, getType

 

Methods inherited from class oracle.olapi.metadata.mdm.MdmModel
assign, assign, assign, assign, assign, assign, assign, createSolvedSource, createSolvedSource, findAssignment, findOrCreateAssignment, getAssignments, getDefaultPrecedence, getMdmAssignments, getOutputs, removeMdmAssignment, setDefaultPrecedence, unassign

 

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, getOwner

 

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

 

Method Detail

acceptVisitor

public java.lang.Object acceptVisitor(MdmObjectVisitor visitor,
                                      java.lang.Object context)
Calls the visitMdmMeasureModel method of an MdmObjectVisitor and passes that method the MdmMeasureModel and an Object.
Specified by:
acceptVisitor in class MdmObject
Parameters:
visitor - An MdmObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMdmMeasureModel method.

getMdmMeasure

public final MdmMeasure getMdmMeasure()
Gets the MdmMeasure for the MdmMeasureModel.
Returns:
The MdmMeasure for the MdmMeasureModel.

getMdmDimensionedObject

public final MdmDimensionedObject getMdmDimensionedObject()
Gets the MdmDimensionedObject for the MdmMeasureModel. The MdmDimensionedObject for an MdmMeasureModel is an MdmMeasure.
Specified by:
getMdmDimensionedObject in class MdmDimensionedObjectModel
Returns:
The MdmDimensionedObject for the MdmMeasureModel.

getAutoAssignments

public java.util.List getAutoAssignments()
Gets an empty List because Oracle OLAP does not automatically create Assignment objects for an MdmMeasureModel.
Returns:
A empty List.
See Also:
MdmDimensionCalculationModel

getParentModels

public final java.util.List getParentModels()
Gets the MdmDimensionCalculationModel objects that are the parent Model objects for the MdmMeasureModel. The parent Model objects are the MdmDimensionCalculationModel objects of the appropriate data type of each input of the MdmMeasureModel. The MdmMeasureModel inherits the Assignment objects of its parent Model objects.
Specified by:
getParentModels in interface Model
Specified by:
getParentModels in class MdmModel
Returns:
A List that contains one MdmDimensionCalculationModel of the appropriate data type for each of the dimensions of the measure for which it is the model.

setMdmMeasure

public final void setMdmMeasure(MdmMeasure measure)
Specifies the MdmMeasure with which to associate the MdmMeasureModel.
Parameters:
measure - The MdmMeasure with which to associate the MdmMeasureModel.

Skip navigation links

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