Class UniqueKey
java.lang.Object
org.hibernate.mapping.Constraint
org.hibernate.mapping.UniqueKey
- All Implemented Interfaces:
Serializable, Exportable
A mapping model object representing a unique key
constraint on a relational database table.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGet a unique identifier to make sure we are not exporting the same database structure multiple times.booleanbooleanbooleanbooleanvoidsetExplicit(boolean explicit) voidsetNameExplicit(boolean nameExplicit) voidsetNullsNotDistinct(boolean nullsNotDistinct) Methods inherited from class Constraint
addColumn, addColumns, containsColumn, getColumn, getColumns, getColumnSpan, getName, getOptions, getTable, setName, setOptions, toString
-
Constructor Details
-
UniqueKey
-
-
Method Details
-
addColumn
-
getColumnOrderMap
-
getExportIdentifier
Description copied from interface:ExportableGet a unique identifier to make sure we are not exporting the same database structure multiple times.- Returns:
- The exporting identifier.
-
isNameExplicit
public boolean isNameExplicit() -
setNameExplicit
public void setNameExplicit(boolean nameExplicit) -
isExplicit
public boolean isExplicit() -
setExplicit
public void setExplicit(boolean explicit) -
isNullsNotDistinct
public boolean isNullsNotDistinct() -
setNullsNotDistinct
public void setNullsNotDistinct(boolean nullsNotDistinct) -
hasNullableColumn
public boolean hasNullableColumn()
-