org.pentaho.reporting.libraries.formula.lvalues
Class PrefixTerm
java.lang.Object
org.pentaho.reporting.libraries.formula.lvalues.AbstractLValue
org.pentaho.reporting.libraries.formula.lvalues.PrefixTerm
- All Implemented Interfaces:
- Serializable, Cloneable, LValue
public class PrefixTerm
- extends AbstractLValue
Creation-Date: 02.11.2006, 10:20:27
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
PrefixTerm
public PrefixTerm(PrefixOperator operator,
LValue value)
getOperator
public PrefixOperator getOperator()
getValue
public LValue getValue()
evaluate
public TypeValuePair evaluate()
throws EvaluationException
- Throws:
EvaluationException
toString
public String toString()
- Overrides:
toString
in class Object
getChildValues
public LValue[] getChildValues()
- Returns any dependent lvalues (parameters and operands, mostly).
- Specified by:
getChildValues
in interface LValue
- Overrides:
getChildValues
in class AbstractLValue
- Returns:
isConstant
public boolean isConstant()
- Checks whether the LValue is constant. Constant lvalues always return the
same value.
- Returns:
clone
public Object clone()
throws CloneNotSupportedException
- Specified by:
clone
in interface LValue
- Overrides:
clone
in class AbstractLValue
- Throws:
CloneNotSupportedException