Extension SDK 10.1.2

oracle.jdeveloper.cmt
Interface CmtValue


public interface CmtValue

A CmtValue is the design time model of a JotExpression.


Method Summary
 JotExpression getExpression()
          Get the JotExpression 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(JotType 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

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

Returns:
a CmtSubcomponent or null.

getExpression

public JotExpression getExpression()
Get the JotExpression held by this CmtValue.

Returns:
a JotExpression.

getValue

public java.lang.Object getValue(JotType 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

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

Returns:
the expression as text.

setText

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

Extension SDK

 

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