org.pentaho.reporting.libraries.formula.lvalues
Class AbstractLValue

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.lvalues.AbstractLValue
All Implemented Interfaces:
Serializable, Cloneable, LValue
Direct Known Subclasses:
ContextLookup, FormulaFunction, PostfixTerm, PrefixTerm, StaticValue, Term

public abstract class AbstractLValue
extends Object
implements LValue

Creation-Date: 01.11.2006, 18:19:00

Author:
Thomas Morgner
See Also:
Serialized Form

Method Summary
 Object clone()
           
 LValue[] getChildValues()
          Returns any dependent lvalues (parameters and operands, mostly).
 FormulaContext getContext()
           
 ParsePosition getParsePosition()
           
 Type getValueType()
          Querying the value type is only valid *after* the value has been evaluated.
 void initialize(FormulaContext context)
           
 void setParsePosition(ParsePosition parsePosition)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.libraries.formula.lvalues.LValue
evaluate, isConstant
 

Method Detail

getParsePosition

public ParsePosition getParsePosition()
Specified by:
getParsePosition in interface LValue

setParsePosition

public void setParsePosition(ParsePosition parsePosition)

initialize

public void initialize(FormulaContext context)
                throws EvaluationException
Specified by:
initialize in interface LValue
Throws:
EvaluationException

getContext

public FormulaContext getContext()

clone

public Object clone()
             throws CloneNotSupportedException
Specified by:
clone in interface LValue
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

getChildValues

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

Specified by:
getChildValues in interface LValue
Returns:

getValueType

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

Specified by:
getValueType in interface LValue
Returns: