org.objectweb.medor.expression.lib
Class And

java.lang.Object
  extended byorg.objectweb.medor.expression.lib.BasicOperator
      extended byorg.objectweb.medor.expression.lib.BasicBinaryOperator
          extended byorg.objectweb.medor.expression.lib.BasicBinaryLogicalOperator
              extended byorg.objectweb.medor.expression.lib.And
All Implemented Interfaces:
BinaryLogicalOperator, BinaryOperator, java.lang.Cloneable, Expression, Operator, java.io.Serializable

public class And
extends BasicBinaryLogicalOperator

Author:
Sebastien Chassande-Barrioz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.medor.expression.lib.BasicBinaryOperator
left, right
 
Fields inherited from class org.objectweb.medor.expression.lib.BasicOperator
expressions, result, type, verified
 
Fields inherited from interface org.objectweb.medor.expression.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
And()
           
And(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.expression.lib.BasicBinaryLogicalOperator
compileExpression, evaluate
 
Methods inherited from class org.objectweb.medor.expression.lib.BasicBinaryOperator
getExpression, getLeftExpression, getOperandNumber, getRightExpression, setExpression, setLeftExpression, setRightExpression
 
Methods inherited from class org.objectweb.medor.expression.lib.BasicOperator
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.expression.api.BinaryOperator
getLeftExpression, getRightExpression, setLeftExpression, setRightExpression
 
Methods inherited from interface org.objectweb.medor.expression.api.Operator
getExpression, getOperandNumber, setExpression
 
Methods inherited from interface org.objectweb.medor.expression.api.Expression
getType
 

Constructor Detail

And

public And()

And

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