com.crystaldecisions.sdk.occa.report.data
Interface IExpressionValue

All Superinterfaces:
IClone, IValue
All Known Implementing Classes:
ExpressionValue

public interface IExpressionValue
extends IValue

This interface is used to get and set an ExpressionValue. Examples of ExpressionValues are: 2+2, 3*4, {Customer.Last Year's Sales}.

Literal values, defined as values that do not need to be evaluated, are stored using the ConstantValue object. The ExpressionValue object is used by the FieldRangeFilterItem object to store values in primitive expressions of filters.


Method Summary
 java.lang.String getExpression()
          Returns the value.
 void setExpression(java.lang.String expression)
           Sets the value.
 
Methods inherited from interface com.crystaldecisions.sdk.occa.report.data.IValue
computeText, displayText
 

Method Detail

getExpression

java.lang.String getExpression()

Returns the value. This is not the evaluated result but rather, the expression itself. Examples of ExpressionValues are: 2+2, 3*4, {Customer.Last Year's Sales}.

Returns:
The unevaluated expression as a String.

setExpression

void setExpression(java.lang.String expression)

Sets the value. This is not the evaluated result but rather, the expression itself. Examples of ExpressionValues are: 2+2, 3*4, {Customer.Last Year's Sales}.

Parameters:
expression - The unevaluated expression as a String.