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

B10994-01

oracle.olapi.metadata.mtm
Class MtmRdbmsTableOrView

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mtm.MtmObject
              |
              +--oracle.olapi.metadata.mtm.MtmTabularSource
                    |
                    +--oracle.olapi.metadata.mtm.MtmTableOrView
                          |
                          +--oracle.olapi.metadata.mtm.MtmRdbmsTableOrView

public class MtmRdbmsTableOrView
extends MtmTableOrView

An MtmTableOrView that represents a table or view that is based on relational data, and not on analytic workspace data.


Method Summary
 java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMtmRdbmsTableOrView method of the specified MtmObjectVisitor and passes that method this MtmRdbmsTableOrView and the specified context object.
 MtmColumnExpression addColumn(java.lang.String columnName)
          Adds the specified column to the MtmTableOrView.

 

Methods inherited from class oracle.olapi.metadata.mtm.MtmTableOrView
getColumns, getName, setName

 

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 visitMtmRdbmsTableOrView method of the specified MtmObjectVisitor and passes that method this MtmRdbmsTableOrView and the specified context object.
Parameters:
visitor - An MtmObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMtmRdbmsTableOrView method.
Overrides:
acceptVisitor in class MtmObject

addColumn

public MtmColumnExpression addColumn(java.lang.String columnName)
Adds the specified column to the MtmTableOrView. The column must exist in the data store. This method creates an MtmColumnExpression that represents the new column and provides the MtmColumnExpression as a return value.
Parameters:
columnName - A String that contains the name of the relational column to be added to this MtmTableOrView.
Returns:
An MtmColumnExpression that represents the specified relational column, which is being added to this MtmTableOrView.
Overrides:
addColumn in class MtmTableOrView

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

B10994-01

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