Skip navigation links

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

B14348-04


oracle.olapi.metadata.mtm
Class MtmCustomExpression

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

All Implemented Interfaces:
MetadataObject

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.
Specified by:
acceptVisitor in class MtmObject
Parameters:
visitor - An MtmObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitMtmCustomExpression method.

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.

Skip navigation links

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

B14348-04


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