edu.wpi.cs.dsrg.xmldb.xat.common.expression
Interface BinExpression

All Known Subinterfaces:
BinANDExpression, BinArithExpression, BinBoolExpression, BinCOMPExpression, BinORExpression
All Known Implementing Classes:
BinExpressionImp

public interface BinExpression
extends Expression

This class defines a arithmatic expression.

Since:
1.0

Method Summary
 Expression getLeft()
          Get the left part of expression.
 Expression getRight()
          Get the right part of expression.
 void setLeft(Expression left)
          Set the left part of expression.
 void setRight(Expression right)
          Set the right part of expression.
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.expression.Expression
eval, getRelatedColumnNames, toSQL
 

Method Detail

getLeft

public Expression getLeft()
Get the left part of expression.
Returns:
Expression The left part of binary expression
Since:
1.0

getRight

public Expression getRight()
Get the right part of expression.
Returns:
Expression The right part of binary expression
Since:
1.0

setLeft

public void setLeft(Expression left)
Set the left part of expression.
Parameters:
left - The left part of a binary expression.
Since:
1.0

setRight

public void setRight(Expression right)
Set the right part of expression.
Parameters:
left - The right part of a binary expression.
Since:
1.0