public class MysqlForeignKey extends SQLForeignKeyImpl
限定符和类型 | 类和说明 |
---|---|
static class |
MysqlForeignKey.Match |
static class |
MysqlForeignKey.On |
static class |
MysqlForeignKey.Option |
构造器和说明 |
---|
MysqlForeignKey() |
限定符和类型 | 方法和说明 |
---|---|
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
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–2016 Alibaba Group. All rights reserved.