- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.LongValue
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class LongValue extends ASTNodeAccessImpl implements Expression
Every number without a point or an exponential format is a LongValue.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
stringValue
-
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)
java.math.BigInteger
getBigIntegerValue()
java.lang.String
getStringValue()
long
getValue()
int
hashCode()
void
setStringValue(java.lang.String string)
void
setValue(long d)
java.lang.String
toString()
LongValue
withStringValue(java.lang.String stringValue)
LongValue
withValue(long d)
-
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
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
getValue
public long getValue()
-
setValue
public void setValue(long d)
-
getBigIntegerValue
public java.math.BigInteger getBigIntegerValue()
-
withValue
public LongValue withValue(long d)
-
getStringValue
public java.lang.String getStringValue()
-
setStringValue
public void setStringValue(java.lang.String string)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withStringValue
public LongValue withStringValue(java.lang.String stringValue)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-