org.openorb.constraint.object
Class SubOperator

java.lang.Object
  extended by org.openorb.constraint.object.Base
      extended by org.openorb.constraint.object.SubOperator

public class SubOperator
extends Base

This class is a constraint tree node that represents the '-' operator.

Author:
Jerome Daniel

Constructor Summary
SubOperator(Base opA, Base opB)
          Constructor
 
Method Summary
 java.lang.Object evaluate()
          This operation is invoked by the tree evaluator to get this node value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubOperator

public SubOperator(Base opA,
                   Base opB)
Constructor

Method Detail

evaluate

public java.lang.Object evaluate()
                          throws InvalidValue
This operation is invoked by the tree evaluator to get this node value.

Specified by:
evaluate in class Base
Throws:
InvalidValue