Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.cmt
Interface CmtValue


public interface CmtValue

A CmtValue is the design time model of a SourceExpression.


Method Summary
 SourceExpression getExpression()
          Get the SourceExpression held by this CmtValue.
 CmtSubcomponent getSubcomponent()
          Get the CmtSubcomponent, if any, referred to by this CmtValue.
 java.lang.String getText()
          Get the expression as text.
 java.lang.Object getValue(JavaType type)
          Attempts to evaluate the expression to a live value.
 void setText(java.lang.String text)
          Set the expression of this value based upon the given text.
 

Method Detail

getSubcomponent

CmtSubcomponent getSubcomponent()
Get the CmtSubcomponent, if any, referred to by this CmtValue.

Returns:
a CmtSubcomponent or null.

getExpression

SourceExpression getExpression()
Get the SourceExpression held by this CmtValue.

Returns:
a SourceExpression.

getValue

java.lang.Object getValue(JavaType type)
                          throws CmtParseException
Attempts to evaluate the expression to a live value.

Parameters:
type - the desired type to evaluate the expression as.
Throws:
CmtParseException

getText

java.lang.String getText()
Get the expression as text.

Returns:
the expression as text.

setText

void setText(java.lang.String text)
Set the expression of this value based upon the given text.

Parameters:
text - the souce to use as the expression.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.