org.objectweb.medor.expression.api

Interface BinaryLogicalOperator

All Superinterfaces:
BinaryOperator, org.objectweb.medor.clone.api.Cloneable, Expression, Operator, Serializable
Known Implementing Classes:
And, BasicBinaryLogicalOperator, ConditionalAnd, ConditionalOr, Or

public interface BinaryLogicalOperator
extends BinaryOperator

This interface represents a binary logical opertaion(and, or, ...)

Author:
Sebastien Chassande-Barrioz

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, STRING_LOWER, STRING_UPPER, SUBSTRING, SUM, UMINUS

Method Summary

boolean
evaluate(boolean op1, boolean op2)

Methods inherited from interface org.objectweb.medor.expression.api.BinaryOperator

getLeftExpression, getRightExpression, setLeftExpression, setRightExpression

Methods inherited from interface org.objectweb.medor.clone.api.Cloneable

clone

Methods inherited from interface org.objectweb.medor.expression.api.Expression

compileExpression, evaluate, getType

Methods inherited from interface org.objectweb.medor.expression.api.Operator

getExpression, getOperandNumber, getOperatorString, setExpression

Method Details

evaluate

public boolean evaluate(boolean op1,
                        boolean op2)