Skip navigation links

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

E10794-05


oracle.olapi.metadata.mdm
Class MdmAttributeModel

oracle.olapi.metadata.mdm.MdmAttributeModel

public class MdmAttributeModel

An MdmDimensionedObjectModel that represents an MdmAttribute. This class is for use by an OLAP Java API application that is running in a 10g metadata reader mode. Do not use this class in an 11g application.

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.

 

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

Skip navigation links

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