de.xabsl.jxabsl.expression.bool
Class OrOperator

java.lang.Object
  extended by de.xabsl.jxabsl.expression.bool.BooleanExpression
      extended by de.xabsl.jxabsl.expression.bool.OrOperator

public class OrOperator
extends BooleanExpression

Represents a logical 'or' operator


Field Summary
protected  java.util.ArrayList<BooleanExpression> operands
           
 
Fields inherited from class de.xabsl.jxabsl.expression.bool.BooleanExpression
debug
 
Constructor Summary
OrOperator(DebugMessages debug)
           
 
Method Summary
 void addOperand(BooleanExpression operand)
          Adds an operand
 boolean getValue()
          Returns the value of the boolean expression.
 java.lang.String toString()
           
 
Methods inherited from class de.xabsl.jxabsl.expression.bool.BooleanExpression
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

operands

protected java.util.ArrayList<BooleanExpression> operands
Constructor Detail

OrOperator

public OrOperator(DebugMessages debug)
Method Detail

addOperand

public void addOperand(BooleanExpression operand)
Adds an operand


getValue

public boolean getValue()
Description copied from class: BooleanExpression
Returns the value of the boolean expression.

Specified by:
getValue in class BooleanExpression
Returns:
the value of the boolean expression

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object