net.sf.jsqlparser.expression
Class Parenthesis

java.lang.Object
  extended by net.sf.jsqlparser.expression.Parenthesis
All Implemented Interfaces:
Expression

public class Parenthesis
extends java.lang.Object
implements Expression

It represents an expression like "(" expression ")"


Field Summary
private  Expression expression
           
private  boolean not
           
 
Constructor Summary
Parenthesis()
           
Parenthesis(Expression expression)
           
 
Method Summary
 void accept(ExpressionVisitor expressionVisitor)
           
 Expression getExpression()
           
 boolean isNot()
           
 void setExpression(Expression expression)
           
 void setNot()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expression

private Expression expression

not

private boolean not
Constructor Detail

Parenthesis

public Parenthesis()

Parenthesis

public Parenthesis(Expression expression)
Method Detail

getExpression

public Expression getExpression()

setExpression

public void setExpression(Expression expression)

accept

public void accept(ExpressionVisitor expressionVisitor)
Specified by:
accept in interface Expression

setNot

public void setNot()

isNot

public boolean isNot()

toString

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