com.japisoft.formula.operator
Class OperatorContext
java.lang.Object
|
+--com.japisoft.formula.operator.OperatorContext
- public class OperatorContext
- extends java.lang.Object
This is a context for getting each parameter value
- Version:
- 1.0
- Author:
- (c) 2004 JAPISoft / http://www.japisoft.com
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OperatorContext
public OperatorContext(AbstractNode refNode,
FormulaContext context)
getFormulaContext
public FormulaContext getFormulaContext()
getOperandName1
public java.lang.String getOperandName1()
- Returns:
- the name of the first operand
getOperandName2
public java.lang.String getOperandName2()
- Returns:
- the name of the second operand
getOperandName3
public java.lang.String getOperandName3()
- Returns:
- the name of the third operand
getValue1
public java.lang.Object getValue1()
throws EvaluateException
- Returns:
- the value of the first operand
EvaluateException
getValue2
public java.lang.Object getValue2()
throws EvaluateException
- Returns:
- the value of the second operand
EvaluateException
getValue3
public java.lang.Object getValue3()
throws EvaluateException
- Returns:
- the value of the third operand
EvaluateException