org.jfree.report.expressions.sys

Class GetValueExpression

Implemented Interfaces:
Cloneable, Expression, Serializable

public class GetValueExpression
extends AbstractExpression

Creation-Date: 02.12.2006, 22:07:57
Author:
Thomas Morgner

Constructor Summary

GetValueExpression()
GetValueExpression(String field)

Method Summary

Object
computeValue()
Return the current expression value.
String
getField()
void
setField(String field)

Methods inherited from class org.jfree.report.expressions.AbstractExpression

clone, getDataRow, getInstance, getName, getParentLocale, getReportConfiguration, getResourceBundleFactory, getRuntime, isDeepTraversing, isPrecompute, isPreserve, setDeepTraversing, setName, setPrecompute, setPreserve, setRuntime

Constructor Details

GetValueExpression

public GetValueExpression()

GetValueExpression

public GetValueExpression(String field)

Method Details

computeValue

public Object computeValue()
            throws DataSourceException
Return the current expression value.

The value depends (obviously) on the expression implementation.

Specified by:
computeValue in interface Expression
Returns:
the value of the function.

getField

public String getField()

setField

public void setField(String field)