org.jfree.formula.lvalues
Class ContextLookup

java.lang.Object
  extended by org.jfree.formula.lvalues.AbstractLValue
      extended by org.jfree.formula.lvalues.ContextLookup
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, LValue

public class ContextLookup
extends AbstractLValue

A reference that queries the datarow.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
ContextLookup(java.lang.String name)
           
 
Method Summary
 TypeValuePair evaluate()
           
 java.lang.String getName()
           
 boolean isConstant()
          Checks, whether the LValue is constant.
 java.lang.String toString()
           
 
Methods inherited from class org.jfree.formula.lvalues.AbstractLValue
clone, getChildValues, getContext, getValueType, initialize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContextLookup

public ContextLookup(java.lang.String name)
Method Detail

evaluate

public TypeValuePair evaluate()
                       throws EvaluationException
Throws:
EvaluationException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isConstant

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

Returns:

getName

public java.lang.String getName()