public class SQLForeignKeyImpl extends SQLConstraintImpl implements SQLForeignKeyConstraint
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SQLForeignKeyImpl.Match |
static class |
SQLForeignKeyImpl.On |
static class |
SQLForeignKeyImpl.Option |
| 限定符和类型 | 字段和说明 |
|---|---|
private boolean |
onDeleteCascade |
private boolean |
onDeleteSetNull |
private List<SQLName> |
referencedColumns |
private SQLExprTableSource |
referencedTable |
private List<SQLName> |
referencingColumns |
comment, dbType, enable, hints, name, rely, validateattributes, parent| 构造器和说明 |
|---|
SQLForeignKeyImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
accept0(SQLASTVisitor visitor) |
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, getComment, getDbType, getEnable, getHints, getName, getRely, getValidate, setComment, setDbType, setEnable, setHints, setName, setName, setRely, setValidate, simplifyaccept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, toStringgetComment, getName, setComment, setName, simplifyaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentprivate SQLExprTableSource referencedTable
private boolean onDeleteCascade
private boolean onDeleteSetNull
public List<SQLName> getReferencingColumns()
getReferencingColumns 在接口中 SQLForeignKeyConstraintpublic SQLExprTableSource getReferencedTable()
getReferencedTable 在接口中 SQLForeignKeyConstraintpublic SQLName getReferencedTableName()
public void setReferencedTableName(SQLName value)
public void setReferencedTable(SQLExprTableSource x)
public List<SQLName> getReferencedColumns()
getReferencedColumns 在接口中 SQLForeignKeyConstraintpublic boolean isOnDeleteCascade()
public void setOnDeleteCascade(boolean onDeleteCascade)
public boolean isOnDeleteSetNull()
public void setOnDeleteSetNull(boolean onDeleteSetNull)
protected void accept0(SQLASTVisitor visitor)
accept0 在类中 SQLObjectImplpublic void cloneTo(SQLForeignKeyImpl x)
public SQLForeignKeyImpl clone()
clone 在接口中 SQLObjectclone 在接口中 SQLTableElementclone 在类中 SQLObjectImplCopyright © 2013–2019 Alibaba Group. All rights reserved.