net.sf.jsqlparser.expression
Class LongValue

java.lang.Object
  extended by net.sf.jsqlparser.expression.LongValue
All Implemented Interfaces:
Expression

public class LongValue
extends java.lang.Object
implements Expression

Every number without a point or an exponential format is a LongValue


Field Summary
private  java.lang.String stringValue
           
private  long value
           
 
Constructor Summary
LongValue(java.lang.String value)
           
 
Method Summary
 void accept(ExpressionVisitor expressionVisitor)
           
 java.lang.String getStringValue()
           
 long getValue()
           
 void setStringValue(java.lang.String string)
           
 void setValue(long d)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private long value

stringValue

private java.lang.String stringValue
Constructor Detail

LongValue

public LongValue(java.lang.String value)
Method Detail

accept

public void accept(ExpressionVisitor expressionVisitor)
Specified by:
accept in interface Expression

getValue

public long getValue()

setValue

public void setValue(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 class java.lang.Object