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

B14348-04

oracle.olapi.metadata.mtm
Class MtmLiteralExpression

java.lang.Object
  extended byoracle.olapi.metadata.BaseMetadataObject
      extended byoracle.olapi.metadata.mtm.MtmObject
          extended byoracle.olapi.metadata.mtm.MtmExpression
              extended byoracle.olapi.metadata.mtm.MtmValueExpression
                  extended byoracle.olapi.metadata.mtm.MtmLiteralExpression
All Implemented Interfaces:
MetadataObject

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.

Specified by:
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.0.4)

B14348-04

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