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()booleanbooleanvoidsetConcatenated(boolean isConcatenated) voidsetCondition(SQLExpr condition) voidsetStatements(List<SQLStatement> statements) 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
-
Constructor Details
-
ElseIf
public ElseIf()
-
-
Method Details
-
isConcatenated
public boolean isConcatenated() -
setConcatenated
public void setConcatenated(boolean isConcatenated) -
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getStatements
-
setStatements
-
getCondition
-
setCondition
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
clone
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-