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 TypeMethodDescriptionvoidAdd 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 attributevoidsetCascade(String cascade) voidsetColumnName(String columnName) voidsetElementType(String elementType) voidvoidsetKeyColumn(String keyColumn) voidvoidSet the name of the attributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AttributeGet the name of the attribute -
setName
Description copied from interface:AttributeSet the name of the attribute -
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
Description copied from interface:ColumnContainerAdd a column to the container.- Specified by:
addColumnin interfaceColumnContainer- Parameters:
column- the column, must not benull
-
deepCopy
Description copied from interface:CloneableCreates a new, deep-copied instance of this object -
build
Description copied from interface:BindableBuilds the specified binded class type.- Specified by:
buildin interfaceBindable<Serializable>- Returns:
- instance of the bindable class type, never
null
-