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

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.SQLCaseExpr
All Implemented Interfaces:
SQLExpr, SQLObject, Serializable

public class SQLCaseExpr
extends SQLExprImpl
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class SQLCaseExpr.Item
           
 
Constructor Summary
SQLCaseExpr()
           
 
Method Summary
 boolean equals(Object obj)
           
 SQLExpr getElseExpr()
           
 List<SQLCaseExpr.Item> getItems()
           
 SQLExpr getValueExpr()
           
 int hashCode()
           
 void output(StringBuffer buf)
           
 void setElseExpr(SQLExpr elseExpr)
           
 void setValueExpr(SQLExpr valueExpr)
           
 
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

SQLCaseExpr

public SQLCaseExpr()
Method Detail

output

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

getValueExpr

public SQLExpr getValueExpr()

setValueExpr

public void setValueExpr(SQLExpr valueExpr)

getElseExpr

public SQLExpr getElseExpr()

setElseExpr

public void setElseExpr(SQLExpr elseExpr)

getItems

public List<SQLCaseExpr.Item> getItems()

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.