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
public static class SQLIfStatement.ElseIf extends SQLObjectImpl implements SQLReplaceable
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description ElseIf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(SQLASTVisitor visitor)SQLIfStatement.ElseIfclone()SQLExprgetCondition()List<SQLStatement>getStatements()booleanisConcatenated()booleanreplace(SQLExpr expr, SQLExpr target)voidsetConcatenated(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
-
-
-
-
Method Detail
-
isConcatenated
public boolean isConcatenated()
-
setConcatenated
public void setConcatenated(boolean isConcatenated)
-
accept0
public void accept0(SQLASTVisitor visitor)
- Specified by:
accept0in classSQLObjectImpl
-
getStatements
public List<SQLStatement> getStatements()
-
setStatements
public void setStatements(List<SQLStatement> statements)
-
getCondition
public SQLExpr getCondition()
-
setCondition
public void setCondition(SQLExpr condition)
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
clone
public SQLIfStatement.ElseIf clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
-