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

B14348-04

oracle.olapi.metadata.mtm
Class MtmRdbmsTableOrView

java.lang.Object
  extended byoracle.olapi.metadata.BaseMetadataObject
      extended byoracle.olapi.metadata.mtm.MtmObject
          extended byoracle.olapi.metadata.mtm.MtmTabularSource
              extended byoracle.olapi.metadata.mtm.MtmTableOrView
                  extended byoracle.olapi.metadata.mtm.MtmRdbmsTableOrView
All Implemented Interfaces:
MetadataObject

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.

Specified by:
acceptVisitor in class MtmObject
Parameters:
visitor - An MtmObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMtmRdbmsTableOrView method.

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.

Specified by:
addColumn in class MtmTableOrView
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.

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

B14348-04

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