Package net.sf.jsqlparser.expression
Class LongValue
- 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 void
accept(ExpressionVisitor expressionVisitor)
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, 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
-
-
-
-
Method Detail
-
accept
public void accept(ExpressionVisitor expressionVisitor)
- Specified by:
accept
in interfaceExpression
-
getValue
public long getValue()
-
getBigIntegerValue
public java.math.BigInteger getBigIntegerValue()
-
setValue
public void setValue(long d)
-
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
-
-