Oracle® OLAP Java API Reference
10g Release 2 (10.2)

B14348-01

oracle.olapi.metadata.mdm
Class MdmAttributeModel

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mdm.MdmObject
              |
              +--oracle.olapi.metadata.mdm.MdmModel
                    |
                    +--oracle.olapi.metadata.mdm.MdmDimensionedObjectModel
                          |
                          +--oracle.olapi.metadata.mdm.MdmAttributeModel

public class MdmAttributeModel
extends MdmDimensionedObjectModel

An MdmDimensionedObjectModel that represents an MdmAttribute. Unlike an MdmMeasureModel</CODE,>, 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, createSolvedSource, createSolvedSource, getAssignments, getDefaultPrecedence, getOutputs, setDefaultPrecedence, unassign

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

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.
Overrides:
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.
Overrides:
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.
Overrides:
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:
measure - 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.

Oracle® OLAP Java API Reference
10g Release 2 (10.2)

B14348-01

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