org.openorb.constraint.object
Class OrOperator

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

public class OrOperator
extends Base

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

Author:
Jerome Daniel

Constructor Summary
OrOperator(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

OrOperator

public OrOperator(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