com.alibaba.druid.sql.ast.expr
Class SQLIntegerExpr

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.SQLExprImpl
          extended by com.alibaba.druid.sql.ast.expr.SQLNumericLiteralExpr
              extended by com.alibaba.druid.sql.ast.expr.SQLIntegerExpr
All Implemented Interfaces:
SQLLiteralExpr, SQLExpr, SQLObject, Serializable

public class SQLIntegerExpr
extends SQLNumericLiteralExpr

See Also:
Serialized Form

Constructor Summary
SQLIntegerExpr()
           
SQLIntegerExpr(Number number)
           
 
Method Summary
 boolean equals(Object obj)
           
 Number getNumber()
           
 int hashCode()
           
 void output(StringBuffer buf)
           
 void setNumber(Number number)
           
 
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, getAttribute, getAttributes, getAttributesDirect, getParent, putAttribute, setParent
 

Constructor Detail

SQLIntegerExpr

public SQLIntegerExpr(Number number)

SQLIntegerExpr

public SQLIntegerExpr()
Method Detail

getNumber

public Number getNumber()
Specified by:
getNumber in class SQLNumericLiteralExpr

setNumber

public void setNumber(Number number)
Specified by:
setNumber in class SQLNumericLiteralExpr

output

public void output(StringBuffer buf)
Specified by:
output in interface SQLObject
Overrides:
output in class SQLObjectImpl

hashCode

public int hashCode()
Specified by:
hashCode in class SQLExprImpl

equals

public boolean equals(Object obj)
Specified by:
equals in class SQLExprImpl


Copyright © 2012 Alibaba Group. All Rights Reserved.