net.sf.jsqlparser.expression
Class BinaryExpression

java.lang.Object
  extended by net.sf.jsqlparser.expression.BinaryExpression
All Implemented Interfaces:
Expression
Direct Known Subclasses:
Addition, AndExpression, Division, EqualsTo, GreaterThan, GreaterThanEquals, LikeExpression, MinorThan, MinorThanEquals, Multiplication, NotEqualsTo, OrExpression, Subtraction

public abstract class BinaryExpression
extends java.lang.Object
implements Expression

A basic class for binary expressions, that is expressions having a left member and a right member wich are in turn expressions.


Field Summary
private  Expression leftExpression
           
private  boolean not
           
private  Expression rightExpression
           
 
Constructor Summary
BinaryExpression()
           
 
Method Summary
 Expression getLeftExpression()
           
 Expression getRightExpression()
           
abstract  java.lang.String getStringExpression()
           
 boolean isNot()
           
 void setLeftExpression(Expression expression)
           
 void setNot()
           
 void setRightExpression(Expression expression)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
 

Field Detail

leftExpression

private Expression leftExpression

rightExpression

private Expression rightExpression

not

private boolean not
Constructor Detail

BinaryExpression

public BinaryExpression()
Method Detail

getLeftExpression

public Expression getLeftExpression()

getRightExpression

public Expression getRightExpression()

setLeftExpression

public void setLeftExpression(Expression expression)

setRightExpression

public void setRightExpression(Expression expression)

setNot

public void setNot()

isNot

public boolean isNot()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getStringExpression

public abstract java.lang.String getStringExpression()