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

java.lang.Object
  extended by com.alibaba.druid.sql.ast.SQLObjectImpl
      extended by com.alibaba.druid.sql.ast.expr.SQLCaseExpr.Item
All Implemented Interfaces:
SQLObject, Serializable
Enclosing class:
SQLCaseExpr

public static class SQLCaseExpr.Item
extends SQLObjectImpl
implements Serializable

See Also:
Serialized Form

Constructor Summary
SQLCaseExpr.Item()
           
SQLCaseExpr.Item(SQLExpr conditionExpr, SQLExpr valueExpr)
           
 
Method Summary
 SQLExpr getConditionExpr()
           
 SQLExpr getValueExpr()
           
 void output(StringBuffer buf)
           
 void setConditionExpr(SQLExpr conditionExpr)
           
 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLCaseExpr.Item

public SQLCaseExpr.Item()

SQLCaseExpr.Item

public SQLCaseExpr.Item(SQLExpr conditionExpr,
                        SQLExpr valueExpr)
Method Detail

getConditionExpr

public SQLExpr getConditionExpr()

setConditionExpr

public void setConditionExpr(SQLExpr conditionExpr)

getValueExpr

public SQLExpr getValueExpr()

setValueExpr

public void setValueExpr(SQLExpr valueExpr)

output

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


Copyright © 2012 Alibaba Group. All Rights Reserved.