Package org.hibernate.envers.boot.model
Class IdentifierRelation
- java.lang.Object
-
- org.hibernate.envers.boot.model.IdentifierRelation
-
- All Implemented Interfaces:
AttributeContainer
public class IdentifierRelation extends Object implements AttributeContainer
A contract for identifier relations between persisted entities All attributes stored here are stored in their non-key form, see IdMetadataGenerator. Whenever this container is consulted and attributes are requested to be prefixed, a distinction at the call site determines whether attributes here are to be promoted or not.
-
-
Constructor Summary
Constructors Constructor Description IdentifierRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(Attribute attribute)Add an attribute to the container.List<Attribute>getAttributesPrefixed(String prefix, Iterator<org.hibernate.mapping.Selectable> iterator, boolean makeKey, boolean insertable)List<Attribute>getAttributesPrefixed(String prefix, org.hibernate.envers.configuration.internal.metadata.ColumnNameIterator columnNameIterator, boolean makeKey, boolean insertable)
-
-
-
Method Detail
-
addAttribute
public void addAttribute(Attribute attribute)
Description copied from interface:AttributeContainerAdd an attribute to the container.- Specified by:
addAttributein interfaceAttributeContainer- Parameters:
attribute- the attribute, should not benull
-
getAttributesPrefixed
public List<Attribute> getAttributesPrefixed(String prefix, Iterator<org.hibernate.mapping.Selectable> iterator, boolean makeKey, boolean insertable)
-
-