Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-01


oracle.olapi.metadata.mdm
Class MdmAttributeModel

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.MdmAttributeModel

All Implemented Interfaces:
Model, MetadataObject

public class MdmAttributeModel
extends MdmDimensionedObjectModel

An MdmDimensionedObjectModel that represents an MdmAttribute. Unlike an MdmMeasureModel, an MdmAttributeModel does not inherit the Assignment objects of the MdmDimensionCalculationModel for the MdmDimension for which the MdmAttribute has values.


Method Summary
 java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMdmAttributeModel method of an MdmObjectVisitor and passes that method this MdmAttributeModel and an Object.
 java.util.List getAutoAssignments()
          Gets the Assignment objects that Oracle OLAP automatically creates for the MdmAttributeModel.
 MdmAttribute getMdmAttribute()
          Gets the MdmAttribute for the MdmAttributeModel.
 MdmDimensionedObject getMdmDimensionedObject()
          Gets the MdmDimensionedObject for the MdmAttributeModel.
 java.util.List getParentModels()
          Gets an empty List because an MdmAttributeModel does not have any parent MdmModel objects.
 void setMdmAttribute(MdmAttribute attribute)
          Specifies the MdmAttribute with which to associate the MdmAttributeModel.

 

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
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getName, getNewName, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription

 

Methods inherited from class oracle.olapi.metadata.BaseMetadataObject
getContainedByObject, 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 visitMdmAttributeModel method of an MdmObjectVisitor and passes that method this MdmAttributeModel and an Object.
Specified by:
acceptVisitor in class MdmObject
Parameters:
visitor - An MdmObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMdmAttributeModel method.

getMdmAttribute

public final MdmAttribute getMdmAttribute()
Gets the MdmAttribute for the MdmAttributeModel.
Returns:
The MdmAttribute for the MdmAttributeModel.

getMdmDimensionedObject

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

getParentModels

public final java.util.List getParentModels()
Gets an empty List because an MdmAttributeModel does not have any parent MdmModel objects.
Specified by:
getParentModels in interface Model
Specified by:
getParentModels in class MdmModel
Returns:
A empty List.

setMdmAttribute

public final void setMdmAttribute(MdmAttribute attribute)
Specifies the MdmAttribute with which to associate the MdmAttributeModel.
Parameters:
attribute - The MdmAttribute with which to associate the MdmAttributeModel.

getAutoAssignments

public java.util.List getAutoAssignments()
Gets the Assignment objects that Oracle OLAP automatically creates for the MdmAttributeModel.
Returns:
A List of the Assignment objects that Oracle OLAP automatically creates for the MdmAttributeModel.
See Also:
MdmDimensionCalculationModel

Skip navigation links

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