public class MysqlForeignKey extends SQLForeignKeyImpl
SQLForeignKeyImpl.Match, SQLForeignKeyImpl.On, SQLForeignKeyImpl.Option
hints
Constructor and Description |
---|
MysqlForeignKey() |
Modifier and Type | Method and Description |
---|---|
MysqlForeignKey |
clone() |
SQLName |
getIndexName() |
SQLForeignKeyImpl.Option |
getOnDelete() |
SQLForeignKeyImpl.Option |
getOnUpdate() |
SQLForeignKeyImpl.Match |
getReferenceMatch() |
boolean |
isHasConstraint() |
void |
setHasConstraint(boolean hasConstraint) |
void |
setIndexName(SQLName indexName) |
void |
setOnDelete(SQLForeignKeyImpl.Option onDelete) |
void |
setOnUpdate(SQLForeignKeyImpl.Option onUpdate) |
void |
setReferenceMatch(SQLForeignKeyImpl.Match referenceMatch) |
cloneTo, getReferencedColumns, getReferencedTable, getReferencedTableName, getReferencingColumns, isOnDeleteCascade, isOnDeleteSetNull, setOnDeleteCascade, setOnDeleteSetNull, setReferencedTable, setReferencedTableName
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 SQLName getIndexName()
public void setIndexName(SQLName indexName)
public boolean isHasConstraint()
public void setHasConstraint(boolean hasConstraint)
public MysqlForeignKey clone()
clone
in interface SQLObject
clone
in interface SQLTableElement
clone
in class SQLForeignKeyImpl
public SQLForeignKeyImpl.Match getReferenceMatch()
public void setReferenceMatch(SQLForeignKeyImpl.Match referenceMatch)
public SQLForeignKeyImpl.Option getOnUpdate()
public void setOnUpdate(SQLForeignKeyImpl.Option onUpdate)
public SQLForeignKeyImpl.Option getOnDelete()
public void setOnDelete(SQLForeignKeyImpl.Option onDelete)
Copyright © 2013–2017 Alibaba Group. All rights reserved.