- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.BooleanValue
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public final class BooleanValue extends ASTNodeAccessImpl implements Expression
A boolean value true/false- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
value
-
Constructor Summary
Constructors Constructor Description BooleanValue()
BooleanValue(boolean bool)
BooleanValue(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
boolean
equals(java.lang.Object o)
boolean
getValue()
int
hashCode()
void
setValue(boolean bool)
java.lang.String
toString()
BooleanValue
withValue(boolean bool)
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, 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
-
-
-
-
Method Detail
-
getValue
public boolean getValue()
-
setValue
public void setValue(boolean bool)
-
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
-
withValue
public BooleanValue withValue(boolean bool)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-