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

B10994-01

oracle.olapi.metadata.mtm
Class MtmAWView

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.MtmAWView

public class MtmAWView
extends MtmTableOrView

An MtmTableOrView that represents a view based on data in an analytic workspace.


Method Summary
 java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMtmAWView method of the specified MtmObjectVisitor and passes that method this MtmAWView and the specified context object.
 MtmColumnExpression addColumn(java.lang.String columnName)
          Adds the specified column to the MtmTableOrView.
 java.lang.String getAWName()
          Gets the name of the view for the analytic workspace that this MtmAWView represents.
 MtmColumnExpression getRowToCellExpression()
          Gets the MtmColumnExpression that represents the column specified as the r2c parameter in the OLAP_EXPRESSION function call for this MtmAWView.
 void setAWName(java.lang.String awName)
          Specifies the name of the view for the analytic workspace that this MtmAWView represents.
 void setRowToCellExpression(MtmColumnExpression exp)
          Specifies the MtmColumnExpression that should represent the column indicated as the r2c parameter in the OLAP_EXPRESSION function call for this MtmAWView.

 

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

getRowToCellExpression

public MtmColumnExpression getRowToCellExpression()
Gets the MtmColumnExpression that represents the column specified as the r2c parameter in the OLAP_EXPRESSION function call for this MtmAWView. The OLAP_EXPRESSION function works together with an OLAP_TABLE function to create a SQL expression. For information about these two functions, see the Oracle OLAP Reference.
Returns:
The MtmColumnExpression that represents the r2c column for this MtmAWView.

setRowToCellExpression

public void setRowToCellExpression(MtmColumnExpression exp)
Specifies the MtmColumnExpression that should represent the column indicated as the r2c parameter in the OLAP_EXPRESSION function call for this MtmAWView. The OLAP_EXPRESSION function works together with an OLAP_TABLE function to create a SQL expression. For information about these two functions, see the Oracle OLAP Reference.

setAWName

public void setAWName(java.lang.String awName)
Specifies the name of the view for the analytic workspace that this MtmAWView represents.

getAWName

public java.lang.String getAWName()
Gets the name of the view for the analytic workspace that this MtmAWView represents.
Returns:
A String that contains the name of the view for the analytic workspace.

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.