Package org.hibernate.envers.boot.model
Class SetAttribute
java.lang.Object
org.hibernate.envers.boot.model.SetAttribute
- All Implemented Interfaces:
Attribute
,Bindable<Serializable>
,Cloneable<Attribute>
,ColumnContainer
,PluralAttribute
A plural attribute that represents a
set
.
This attribute binds Hibernate's persistence model to a JaxbHbmSetType
mapping that
will be contributed by Envers back to Hibernate for the audit entity mappings. This does
not bind all JAXB model attributes, only those which are applicable to Envers's metamodel.-
Constructor Summary
ConstructorsConstructorDescriptionSetAttribute
(String name, String tableName, String schemaName, String catalogName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a column to the container.build()
Builds the specified binded class type.deepCopy()
Creates a new, deep-copied instance of this objectGet all columns that are part of this propertygetName()
Get the name of the attributevoid
setCascade
(String cascade) void
setColumnName
(String columnName) void
setElementType
(String elementType) void
void
setKeyColumn
(String keyColumn) void
void
Set the name of the attributeMethods 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 Details
-
SetAttribute
-
-
Method Details
-
setCascade
-
setFetch
-
setKeyColumn
-
setElementType
-
setLazy
-
setColumnName
-
getName
Description copied from interface:Attribute
Get the name of the attribute -
setName
Description copied from interface:Attribute
Set the name of the attribute -
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<Serializable>
- Returns:
- instance of the bindable class type, never
null
-