org.pentaho.reporting.libraries.formula.lvalues

Class ContextLookup

public class ContextLookup extends AbstractLValue

A reference that queries the datarow.

Author: Thomas Morgner

Constructor Summary
ContextLookup(String name)
ContextLookup(String name, ParsePosition parsePosition)
Method Summary
TypeValuePairevaluate()
StringgetName()
TypegetValueType()
booleanisConstant()
Checks whether the LValue is constant.
StringtoString()

Constructor Detail

ContextLookup

public ContextLookup(String name)

ContextLookup

public ContextLookup(String name, ParsePosition parsePosition)

Method Detail

evaluate

public TypeValuePair evaluate()

getName

public String getName()

getValueType

public Type getValueType()

isConstant

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

Returns:

toString

public String toString()