public class MysqlForeignKey extends SQLForeignKeyImpl
Modifier and Type | Class and Description |
---|---|
static class |
MysqlForeignKey.Match |
static class |
MysqlForeignKey.On |
static class |
MysqlForeignKey.Option |
Constructor and Description |
---|
MysqlForeignKey() |
Modifier and Type | Method and Description |
---|---|
SQLName |
getIndexName() |
MysqlForeignKey.Option |
getOnDelete() |
MysqlForeignKey.Option |
getOnUpdate() |
MysqlForeignKey.Match |
getReferenceMatch() |
boolean |
isHasConstraint() |
void |
setHasConstraint(boolean hasConstraint) |
void |
setIndexName(SQLName indexName) |
void |
setOnDelete(MysqlForeignKey.Option onDelete) |
void |
setOnUpdate(MysqlForeignKey.Option onUpdate) |
void |
setReferenceMatch(MysqlForeignKey.Match referenceMatch) |
getReferencedColumns, getReferencedTableName, getReferencingColumns, setReferencedTableName
getEnable, getName, setEnable, setName
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
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.Match getReferenceMatch()
public void setReferenceMatch(MysqlForeignKey.Match referenceMatch)
public MysqlForeignKey.Option getOnUpdate()
public void setOnUpdate(MysqlForeignKey.Option onUpdate)
public MysqlForeignKey.Option getOnDelete()
public void setOnDelete(MysqlForeignKey.Option onDelete)
Copyright © 2013–2017 Alibaba Group. All rights reserved.