Class SQLIfStatement.ElseIf
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLIfStatement.ElseIf
- All Implemented Interfaces:
SQLObject,SQLReplaceable
- Enclosing class:
- SQLIfStatement
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(SQLASTVisitor visitor) clone()booleanvoidsetCondition(SQLExpr condition) voidsetStatements(List<SQLStatement> statements) Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toString
-
Constructor Details
-
ElseIf
public ElseIf()
-
-
Method Details
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getStatements
-
setStatements
-
getCondition
-
setCondition
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-