public class SQLForeignKeyImpl extends SQLConstraintImpl implements SQLForeignKeyConstraint
Modifier and Type | Class and Description |
---|---|
static class |
SQLForeignKeyImpl.Match |
static class |
SQLForeignKeyImpl.On |
static class |
SQLForeignKeyImpl.Option |
hints
Constructor and Description |
---|
SQLForeignKeyImpl() |
Modifier and Type | Method and Description |
---|---|
SQLForeignKeyImpl |
clone() |
void |
cloneTo(SQLForeignKeyImpl x) |
List<SQLName> |
getReferencedColumns() |
SQLExprTableSource |
getReferencedTable() |
SQLName |
getReferencedTableName() |
List<SQLName> |
getReferencingColumns() |
boolean |
isOnDeleteCascade() |
boolean |
isOnDeleteSetNull() |
void |
setOnDeleteCascade(boolean onDeleteCascade) |
void |
setOnDeleteSetNull(boolean onDeleteSetNull) |
void |
setReferencedTable(SQLExprTableSource x) |
void |
setReferencedTableName(SQLName value) |
cloneTo, cloneTo, getDbType, getEnable, getHints, getName, getRely, getValidate, setDbType, setEnable, setHints, setName, setName, setRely, setValidate, simplify
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName, simplify
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public List<SQLName> getReferencingColumns()
getReferencingColumns
in interface SQLForeignKeyConstraint
public SQLExprTableSource getReferencedTable()
getReferencedTable
in interface SQLForeignKeyConstraint
public SQLName getReferencedTableName()
getReferencedTableName
in interface SQLForeignKeyConstraint
public void setReferencedTableName(SQLName value)
setReferencedTableName
in interface SQLForeignKeyConstraint
public void setReferencedTable(SQLExprTableSource x)
public List<SQLName> getReferencedColumns()
getReferencedColumns
in interface SQLForeignKeyConstraint
public boolean isOnDeleteCascade()
public void setOnDeleteCascade(boolean onDeleteCascade)
public boolean isOnDeleteSetNull()
public void setOnDeleteSetNull(boolean onDeleteSetNull)
public void cloneTo(SQLForeignKeyImpl x)
public SQLForeignKeyImpl clone()
clone
in interface SQLObject
clone
in interface SQLTableElement
clone
in class SQLObjectImpl
Copyright © 2013–2017 Alibaba Group. All rights reserved.