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

B10994-01

oracle.olapi.metadata.mtm
Class MtmCustomExpression

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

public class MtmCustomExpression
extends MtmValueExpression

An MtmValueExpression based on a text string that evaluates to a valid SQL expression and was created by an application developer using the createCustomExpression method in the MdmCustomObjectFactory class.


Method Summary
 java.lang.Object acceptVisitor(MtmObjectVisitor visitor, java.lang.Object context)
          Calls the visitMtmCustomExpression method of the specified MtmObjectVisitor and passes that method this MtmCustomExpression and the specified context object.
 java.lang.String getExpressionString()
          Gets the String that contains the expression for this MtmCustomExpression.
 void setExpressionString(java.lang.String newExpressionString)
          Specifies the String that contains the expression for this MtmCustomExpression.

 

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

getExpressionString

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

setExpressionString

public void setExpressionString(java.lang.String newExpressionString)
Specifies the String that contains the expression for this MtmCustomExpression.
Parameters:
newExpressionString - The String that contains the expression for this MtmCustomExpression.

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

B10994-01

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