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

B14348-01

oracle.olapi.metadata.mtm
Class MtmLiteralExpression

java.lang.Object
  |
  +--oracle.olapi.metadata.BaseMetadataObject
        |
        +--oracle.olapi.metadata.mtm.MtmObject
              |
              +--oracle.olapi.metadata.mtm.MtmExpression
                    |
                    +--oracle.olapi.metadata.mtm.MtmValueExpression
                          |
                          +--oracle.olapi.metadata.mtm.MtmLiteralExpression

public class MtmLiteralExpression
extends MtmValueExpression

An MtmValueExpression based on a text string that evaluates to a valid SQL expression.


Method Summary
java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
Calls the visitMtmLiteralExpression method of the specified MtmObjectVisitor and passes that method this MtmLiteralExpression and the specified context object.
java.lang.String getLiteralString()
Gets the String that contains the expression for this MtmLiteralExpression.

Methods inherited from class oracle.olapi.metadata.mtm.MtmValueExpression
getDataType, setDataType

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

getLiteralString

public java.lang.String getLiteralString()
Gets the String that contains the expression for this MtmLiteralExpression.
Returns:
The String that contains the expression for this MtmLiteralExpression.

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

B14348-01

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