org.objectweb.medor.filter.api
Interface BinaryOperator

All Superinterfaces:
Cloneable, java.lang.Cloneable, Expression, Operator
All Known Subinterfaces:
BelongOperator, BinaryArithmeticOperator, BinaryLogicalOperator, Comparator
All Known Implementing Classes:
BasicBelongOperator, BasicBinaryArithmeticOperator, BasicBinaryLogicalOperator, BasicBinaryOperator, BasicComparator, Concat, FirstLocate

public interface BinaryOperator
extends Operator

Author:
Sebastien Chassande-Barrioz

Field Summary
 
Fields inherited from interface org.objectweb.medor.filter.api.Operator
ABS, AND, BITWIZE, CONCAT, CONDAND, CONDOR, DIV, EQUAL, FIRSTLOCATE, GREATER, GREATEREQUAL, IN, INDEXEDLOCATE, LENGTH, LOWER, LOWEREQUAL, MEMBEROF, MINUS, MULT, NAV, NOT, NOTEQUAL, NOTMEMBEROF, OR, PLUS, SQRT, SUBSTRING, UMINUS
 
Method Summary
 Expression getLeftExpression()
           
 Expression getRightExpression()
           
 void setLeftExpression(Expression leftChild)
          This method sets the left operand or operator to this expression object.
 void setRightExpression(Expression rightChild)
          This method sets the left operand or operator to this expression object.
 
Methods inherited from interface org.objectweb.medor.filter.api.Operator
getExpression, getOperandNumber, getOperatorString, setExpression
 
Methods inherited from interface org.objectweb.medor.filter.api.Expression
compileExpression, evaluate, getResult, getType, isCompiled
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 

Method Detail

setLeftExpression

public void setLeftExpression(Expression leftChild)
                       throws java.lang.IllegalStateException
This method sets the left operand or operator to this expression object. There is no verification of types when performing this method. After evaluating, we must compile this expression.

java.lang.IllegalStateException

setRightExpression

public void setRightExpression(Expression rightChild)
                        throws java.lang.IllegalStateException
This method sets the left operand or operator to this expression object. There is no verification of types when performing this method. After evaluating, we must compile this expression.

java.lang.IllegalStateException

getLeftExpression

public Expression getLeftExpression()

getRightExpression

public Expression getRightExpression()