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

Constructor Summary
OperatorContext(AbstractNode refNode, FormulaContext context)
           
 
Method Summary
 FormulaContext getFormulaContext()
           
 java.lang.String getOperandName1()
           
 java.lang.String getOperandName2()
           
 java.lang.String getOperandName3()
           
 java.lang.Object getValue1()
           
 java.lang.Object getValue2()
           
 java.lang.Object getValue3()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatorContext

public OperatorContext(AbstractNode refNode,
                       FormulaContext context)
Method Detail

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