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

B14348-01

oracle.olapi.metadata.mtm
Class MtmObject

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mtm.MtmObject
Direct Known Subclasses:
MtmAggregationStep, MtmCube, MtmCubeDimensionality, MtmDimensionOrderSpecification, MtmExpression, MtmSolveSpecification, MtmSourceMap, MtmTabularSource

public abstract class MtmObject
extends BaseMetadataObject
implements oracle.olapi.internal.Copyable

An object that describes the underlying SQL tables and expressions on which MDM metadata objects are based and records the mapping between the metadata and the underlying SQL structures.

Understanding the role of an MtmObject requires familiarity with SQL syntax, because these objects hold information that is used by the Oracle OLAP SQL generator. When an OLAP API query is executed, the SQL generator creates a corresponding SQL query. This SQL query is executed in the database and data is returned through the OLAP API. Thus, each MtmObject plays an important role in recording the information that the SQL generator needs in order to translate queries from the OLAP API syntax to SQL syntax.


Method Summary
abstract java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
Calls the visitMtmObject method of the specified MtmObjectVisitor and passes that method this MtmObject and the specified context object.

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

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

B14348-01

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