public class SQLIfStatement extends SQLStatementImpl
Modifier and Type | Class and Description |
---|---|
static class |
SQLIfStatement.Else |
static class |
SQLIfStatement.ElseIf |
Constructor and Description |
---|
SQLIfStatement() |
Modifier and Type | Method and Description |
---|---|
void |
accept0(SQLASTVisitor visitor) |
void |
addStatement(SQLStatement statement) |
SQLIfStatement |
clone() |
SQLExpr |
getCondition() |
List<SQLIfStatement.ElseIf> |
getElseIfList() |
SQLIfStatement.Else |
getElseItem() |
List<SQLStatement> |
getStatements() |
void |
setCondition(SQLExpr condition) |
void |
setElseItem(SQLIfStatement.Else elseItem) |
getChildren, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toString
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public SQLIfStatement clone()
clone
in interface SQLObject
clone
in interface SQLStatement
clone
in class SQLStatementImpl
public void accept0(SQLASTVisitor visitor)
public SQLExpr getCondition()
public void setCondition(SQLExpr condition)
public List<SQLStatement> getStatements()
public void addStatement(SQLStatement statement)
public List<SQLIfStatement.ElseIf> getElseIfList()
public SQLIfStatement.Else getElseItem()
public void setElseItem(SQLIfStatement.Else elseItem)
Copyright © 2013–2017 Alibaba Group. All rights reserved.