Package org.hibernate.envers.boot.model
Class AbstractIdentifier
java.lang.Object
org.hibernate.envers.boot.model.AbstractIdentifier
- All Implemented Interfaces:
AttributeContainer
,Bindable<Serializable>
,Identifier
- Direct Known Subclasses:
CompositeIdentifier
,SimpleIdentifier
Base abstract implementation of
Identifier
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(Attribute attribute) Add an attribute to the container.Get the collection of property attributes.getName()
Get the property name.
-
Constructor Details
-
AbstractIdentifier
-
-
Method Details
-
addAttribute
Description copied from interface:AttributeContainer
Add an attribute to the container.- Specified by:
addAttribute
in interfaceAttributeContainer
- Parameters:
attribute
- the attribute, should not benull
-
getName
Description copied from interface:Identifier
Get the property name.- Specified by:
getName
in interfaceIdentifier
- Returns:
- the property name
-
getAttributes
Description copied from interface:Identifier
Get the collection of property attributes.- Specified by:
getAttributes
in interfaceIdentifier
- Returns:
- unmodifiable list of attributes
-