Class IsNullExpression
- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.operators.relational.IsNullExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class IsNullExpression extends ASTNodeAccessImpl implements Expression
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
leftExpression
private boolean
not
private boolean
useIsNull
private boolean
useNotNull
-
Constructor Summary
Constructors Constructor Description IsNullExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExpressionVisitor expressionVisitor)
Expression
getLeftExpression()
<E extends Expression>
EgetLeftExpression(java.lang.Class<E> type)
boolean
isNot()
boolean
isUseIsNull()
boolean
isUseNotNull()
void
setLeftExpression(Expression expression)
void
setNot(boolean b)
void
setUseIsNull(boolean useIsNull)
IsNullExpression
setUseNotNull(boolean useNotNull)
java.lang.String
toString()
IsNullExpression
withLeftExpression(Expression leftExpression)
IsNullExpression
withNot(boolean not)
IsNullExpression
withUseIsNull(boolean useIsNull)
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, 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
-
-
-
-
Field Detail
-
leftExpression
private Expression leftExpression
-
not
private boolean not
-
useIsNull
private boolean useIsNull
-
useNotNull
private boolean useNotNull
-
-
Method Detail
-
getLeftExpression
public Expression getLeftExpression()
-
isNot
public boolean isNot()
-
setLeftExpression
public void setLeftExpression(Expression expression)
-
setNot
public void setNot(boolean b)
-
isUseIsNull
public boolean isUseIsNull()
-
setUseIsNull
public void setUseIsNull(boolean useIsNull)
-
isUseNotNull
public boolean isUseNotNull()
-
setUseNotNull
public IsNullExpression setUseNotNull(boolean useNotNull)
-
accept
public void accept(ExpressionVisitor expressionVisitor)
- Specified by:
accept
in interfaceExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withUseIsNull
public IsNullExpression withUseIsNull(boolean useIsNull)
-
withLeftExpression
public IsNullExpression withLeftExpression(Expression leftExpression)
-
withNot
public IsNullExpression withNot(boolean not)
-
getLeftExpression
public <E extends Expression> E getLeftExpression(java.lang.Class<E> type)
-
-