org.jfree.formula.lvalues

Interface LValue

All Superinterfaces:
Cloneable, Serializable
Known Subinterfaces:
DataTable
Known Implementing Classes:
AbstractLValue, ContextLookup, DefaultDataTable, FormulaFunction, PostfixTerm, PrefixTerm, StaticValue, Term

public interface LValue
extends Serializable, Cloneable

A reference is an indirection to hide the details of where the actual value came from. The reference is responsible to report dependencies.
Author:
Thomas Morgner

Method Summary

Object
clone()
TypeValuePair
evaluate()
LValue[]
getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
Type
getValueType()
Querying the value type is only valid *after* the value has been evaluated.
void
initialize(FormulaContext context)
boolean
isConstant()
Checks, whether the LValue is constant.

Method Details

clone

public Object clone()
            throws CloneNotSupportedException

evaluate

public TypeValuePair evaluate()
            throws EvaluationException

getChildValues

public LValue[] getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
Returns:

getValueType

public Type getValueType()
Querying the value type is only valid *after* the value has been evaluated.
Returns:

initialize

public void initialize(FormulaContext context)
            throws EvaluationException

isConstant

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