Package org.hibernate.envers.boot.model
Class Key
- java.lang.Object
-
- org.hibernate.envers.boot.model.Key
-
- All Implemented Interfaces:
Bindable<org.hibernate.boot.jaxb.hbm.spi.JaxbHbmKeyType>,Cloneable<Key>,ColumnContainer
public class Key extends Object implements ColumnContainer, Bindable<org.hibernate.boot.jaxb.hbm.spi.JaxbHbmKeyType>, Cloneable<Key>
Contract for declaring a column name of a foreign key.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumn(Column column)Add a column to the container.org.hibernate.boot.jaxb.hbm.spi.JaxbHbmKeyTypebuild()Builds the specified binded class type.KeydeepCopy()Creates a new, deep-copied instance of this objectList<Column>getColumns()Get all columns that are part of this property-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.envers.boot.model.ColumnContainer
addColumnsFromValue
-
-
-
-
Constructor Detail
-
Key
public Key()
-
Key
public Key(Key key)
-
-
Method Detail
-
getColumns
public List<Column> getColumns()
Description copied from interface:ColumnContainerGet all columns that are part of this property- Specified by:
getColumnsin interfaceColumnContainer- Returns:
- unmodifiable list of property columns
-
addColumn
public void addColumn(Column column)
Description copied from interface:ColumnContainerAdd a column to the container.- Specified by:
addColumnin interfaceColumnContainer- Parameters:
column- the column, must not benull
-
deepCopy
public Key deepCopy()
Description copied from interface:CloneableCreates a new, deep-copied instance of this object
-
-