Package org.hibernate.envers.boot.model
Class Key
java.lang.Object
org.hibernate.envers.boot.model.Key
- All Implemented Interfaces:
Bindable<JaxbHbmKeyType>
,Cloneable<Key>
,ColumnContainer
public class Key
extends Object
implements ColumnContainer, Bindable<JaxbHbmKeyType>, Cloneable<Key>
Contract for declaring a column name of a foreign key.
-
Constructor Details
-
Key
public Key() -
Key
-
-
Method Details
-
getColumns
Description copied from interface:ColumnContainer
Get all columns that are part of this property- Specified by:
getColumns
in interfaceColumnContainer
- Returns:
- unmodifiable list of property columns
-
addColumn
Description copied from interface:ColumnContainer
Add a column to the container.- Specified by:
addColumn
in interfaceColumnContainer
- Parameters:
column
- the column, must not benull
-
deepCopy
Description copied from interface:Cloneable
Creates a new, deep-copied instance of this object -
build
Description copied from interface:Bindable
Builds the specified binded class type.- Specified by:
build
in interfaceBindable<JaxbHbmKeyType>
- Returns:
- instance of the bindable class type, never
null
-