org.objectweb.medor.filter.lib
Class Or

java.lang.Object
  |
  +--org.objectweb.medor.filter.lib.BasicBinaryOperator
        |
        +--org.objectweb.medor.filter.lib.BasicBinaryLogicalOperator
              |
              +--org.objectweb.medor.filter.lib.Or
All Implemented Interfaces:
BinaryLogicalOperator, BinaryOperator, java.lang.Cloneable, Cloneable, Expression, Operator

public class Or
extends BasicBinaryLogicalOperator


Field Summary
 
Fields inherited from class org.objectweb.medor.filter.lib.BasicBinaryOperator
left, leftResult, result, right, rightResult, type, verified
 
Fields inherited from interface org.objectweb.medor.filter.api.Operator
ABS, AND, AVG, BITWIZE, CONCAT, CONDAND, CONDOR, COUNT, DIV, EQUAL, FIRSTLOCATE, GREATER, GREATEREQUAL, IN, INDEXEDLOCATE, LENGTH, LOWER, LOWEREQUAL, MAX, MEMBEROF, MIN, MINUS, MOD, MULT, NAV, NOT, NOTEQUAL, NOTMEMBEROF, OR, PLUS, SQRT, SUBSTRING, SUM, UMINUS
 
Constructor Summary
Or()
           
Or(Expression l, Expression r)
           
 
Method Summary
 boolean evaluate(boolean b1, boolean b2)
           
 java.lang.String getOperatorString()
          Returns the String representing the operator in Java
 
Methods inherited from class org.objectweb.medor.filter.lib.BasicBinaryLogicalOperator
compileExpression, evaluate
 
Methods inherited from class org.objectweb.medor.filter.lib.BasicBinaryOperator
clone, getExpression, getLeftExpression, getOperandNumber, getResult, getRightExpression, getType, isCompiled, setExpression, setLeftExpression, setRightExpression
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.filter.api.BinaryOperator
getLeftExpression, getRightExpression, setLeftExpression, setRightExpression
 
Methods inherited from interface org.objectweb.medor.filter.api.Operator
getExpression, getOperandNumber, setExpression
 
Methods inherited from interface org.objectweb.medor.filter.api.Expression
getResult, getType, isCompiled
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 

Constructor Detail

Or

public Or()

Or

public Or(Expression l,
          Expression r)
Method Detail

evaluate

public boolean evaluate(boolean b1,
                        boolean b2)
Specified by:
evaluate in interface BinaryLogicalOperator
Specified by:
evaluate in class BasicBinaryLogicalOperator

getOperatorString

public java.lang.String getOperatorString()
Description copied from interface: Operator
Returns the String representing the operator in Java

Returns:
the String representing the operator in Java