Package com.alibaba.druid.sql.ast.expr
Class SQLCaseStatement.Item
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.expr.SQLCaseStatement.Item
-
- All Implemented Interfaces:
SQLObject,Serializable
- Enclosing class:
- SQLCaseStatement
public static class SQLCaseStatement.Item extends SQLObjectImpl implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description Item()Item(SQLExpr conditionExpr, SQLStatement statement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)booleanequals(Object obj)SQLExprgetConditionExpr()SQLStatementgetStatement()inthashCode()voidsetConditionExpr(SQLExpr conditionExpr)voidsetStatement(SQLStatement statement)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
-
-
-
Constructor Detail
-
Item
public Item()
-
Item
public Item(SQLExpr conditionExpr, SQLStatement statement)
-
-
Method Detail
-
getConditionExpr
public SQLExpr getConditionExpr()
-
setConditionExpr
public void setConditionExpr(SQLExpr conditionExpr)
-
getStatement
public SQLStatement getStatement()
-
setStatement
public void setStatement(SQLStatement statement)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
-