public class UniqueKey extends AbstractConstraint implements Constraint
| Modifier | Constructor and Description |
|---|---|
protected |
UniqueKey(Table table,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExportIdentifier()
Get a unique identifier to make sure we are not exporting the same database structure multiple times.
|
boolean |
isCreationVetoed(Dialect dialect) |
String |
sqlConstraintStringInAlterTable(Dialect dialect) |
String |
sqlConstraintStringInCreateTable(Dialect dialect) |
addColumn, getColumns, getColumnSpan, getName, getTable, internalAddColumn, internalColumnAccess, sqlCreateStrings, sqlDropStringsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumns, getName, getTablesqlCreateStrings, sqlDropStringspublic String getExportIdentifier()
ExportablegetExportIdentifier in interface Exportablepublic boolean isCreationVetoed(Dialect dialect)
isCreationVetoed in class AbstractConstraintpublic String sqlConstraintStringInAlterTable(Dialect dialect)
sqlConstraintStringInAlterTable in class AbstractConstraintCopyright © 2012 JBoss by Red Hat. All Rights Reserved.