org.jfree.formula.lvalues

Class ContextLookup

Implemented Interfaces:
Cloneable, LValue, Serializable

public class ContextLookup
extends AbstractLValue

A reference that queries the datarow.
Author:
Thomas Morgner

Constructor Summary

ContextLookup(String name)

Method Summary

TypeValuePair
evaluate()
String
getName()
boolean
isConstant()
Checks, whether the LValue is constant.
String
toString()

Methods inherited from class org.jfree.formula.lvalues.AbstractLValue

clone, getChildValues, getContext, getValueType, initialize

Constructor Details

ContextLookup

public ContextLookup(String name)

Method Details

evaluate

public TypeValuePair evaluate()
            throws EvaluationException
Specified by:
evaluate in interface LValue

getName

public String getName()

isConstant

public boolean isConstant()
Checks, whether the LValue is constant. Constant lvalues always return the same value.
Specified by:
isConstant in interface LValue
Returns:

toString

public String toString()