Module net.sf.jsqlparser
Class IsBooleanExpression
- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.operators.relational.IsBooleanExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class IsBooleanExpression extends ASTNodeAccessImpl implements Expression
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isTrue
private Expression
leftExpression
private boolean
not
-
Constructor Summary
Constructors Constructor Description IsBooleanExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
Expression
getLeftExpression()
<E extends Expression>
EgetLeftExpression(java.lang.Class<E> type)
boolean
isNot()
boolean
isTrue()
void
setIsTrue(boolean isTrue)
void
setLeftExpression(Expression expression)
void
setNot(boolean b)
java.lang.String
toString()
IsBooleanExpression
withIsTrue(boolean isTrue)
IsBooleanExpression
withLeftExpression(Expression leftExpression)
IsBooleanExpression
withNot(boolean not)
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Field Detail
-
leftExpression
private Expression leftExpression
-
not
private boolean not
-
isTrue
private boolean isTrue
-
-
Method Detail
-
getLeftExpression
public Expression getLeftExpression()
-
setLeftExpression
public void setLeftExpression(Expression expression)
-
isNot
public boolean isNot()
-
setNot
public void setNot(boolean b)
-
isTrue
public boolean isTrue()
-
setIsTrue
public void setIsTrue(boolean isTrue)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withIsTrue
public IsBooleanExpression withIsTrue(boolean isTrue)
-
withLeftExpression
public IsBooleanExpression withLeftExpression(Expression leftExpression)
-
withNot
public IsBooleanExpression withNot(boolean not)
-
getLeftExpression
public <E extends Expression> E getLeftExpression(java.lang.Class<E> type)
-
-