Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

oracle.olapi.metadata.mtm
Class MtmDerivedAttributeMap

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mtm.MtmObject
              |
              +--oracle.olapi.metadata.mtm.MtmSourceMap
                    |
                    +--oracle.olapi.metadata.mtm.MtmAttributeMap
                          |
                          +--oracle.olapi.metadata.mtm.MtmDerivedAttributeMap

public class MtmDerivedAttributeMap
extends MtmAttributeMap

An MtmAttributeMap for an MdmAttribute whose values are not explicitly stored but are derived from a column or columns in a dimension table. The MdmAttribute values can be different for each MdmDimension to which the MdmAttribute applies.

There are several types of MtmDerivedAttributeMap objects. You can discover the type of an MtmDerivedAttributeMap by calling its getDerivedAttributeType method. Each type maps the tables and expressions for an MdmAttribute that records different information. The following types are supported:


Method Summary
 java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMtmDerivedAttributeMap method of the specified MtmObjectVisitor and passes that method this MtmDerivedAttributeMap and the specified context object.
 java.lang.String getDerivedAttributeType()
          Gets the type of this MtmDerivedAttributeMap.

 

Methods inherited from class oracle.olapi.metadata.mtm.MtmSourceMap
getMdmSource, setMdmSource

 

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(MtmObjectVisitor visitor,
                                      java.lang.Object context)
Calls the visitMtmDerivedAttributeMap method of the specified MtmObjectVisitor and passes that method this MtmDerivedAttributeMap and the specified context object.
Parameters:
visitor - An MtmObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMtmDerivedAttributeMap method.
Overrides:
acceptVisitor in class MtmObject

getDerivedAttributeType

public java.lang.String getDerivedAttributeType()
Gets the type of this MtmDerivedAttributeMap.
Returns:
A String that indicates the type of this MtmDerivedAttributeMap. Possible values are Ancestors, Parent, Level, LevelDepth, and LocalValue. See the description of this class for information about these types.

Oracle OLAP Java API Reference
10g Release 1 (10.1)

B10994-01

Copyright © 2002, 2003, Oracle. All Rights Reserved.