org.pentaho.reporting.libraries.formula.lvalues

Class PostfixTerm

public class PostfixTerm extends AbstractLValue

Creation-Date: 02.11.2006, 10:20:27

Author: Thomas Morgner

Constructor Summary
PostfixTerm(LValue value, PostfixOperator operator)
Method Summary
Objectclone()
TypeValuePairevaluate()
LValue[]getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
PostfixOperatorgetOperator()
LValuegetValue()
booleanisConstant()
Checks whether the LValue is constant.
StringtoString()

Constructor Detail

PostfixTerm

public PostfixTerm(LValue value, PostfixOperator operator)

Method Detail

clone

public Object clone()

evaluate

public TypeValuePair evaluate()

getChildValues

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

Returns:

getOperator

public PostfixOperator getOperator()

getValue

public LValue getValue()

isConstant

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

Returns:

toString

public String toString()