Package com.alibaba.druid.sql.ast.expr
Class SQLCaseExpr.Item
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.expr.SQLCaseExpr.Item
-
- All Implemented Interfaces:
SQLObject,SQLReplaceable,Serializable
- Enclosing class:
- SQLCaseExpr
public static class SQLCaseExpr.Item extends SQLObjectImpl implements SQLReplaceable, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)SQLCaseExpr.Itemclone()booleanequals(Object obj)SQLExprgetConditionExpr()SQLExprgetValueExpr()inthashCode()booleanreplace(SQLExpr expr, SQLExpr target)voidsetConditionExpr(SQLExpr conditionExpr)voidsetValueExpr(SQLExpr valueExpr)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
-
-
-
Method Detail
-
getConditionExpr
public SQLExpr getConditionExpr()
-
setConditionExpr
public void setConditionExpr(SQLExpr conditionExpr)
-
getValueExpr
public SQLExpr getValueExpr()
-
setValueExpr
public void setValueExpr(SQLExpr valueExpr)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
clone
public SQLCaseExpr.Item clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
-