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 Details

    • IdentifierRelation

      public IdentifierRelation()
  • Method Details

    • addAttribute

      public void addAttribute(Attribute attribute)
      Description copied from interface: AttributeContainer
      Add an attribute to the container.
      Specified by:
      addAttribute in interface AttributeContainer
      Parameters:
      attribute - the attribute, should not be null
    • getAttributesPrefixed

      public List<Attribute> getAttributesPrefixed(String prefix, Iterator<Selectable> iterator, boolean makeKey, boolean insertable)
    • getAttributesPrefixed

      public List<Attribute> getAttributesPrefixed(String prefix, org.hibernate.envers.configuration.internal.metadata.ColumnNameIterator columnNameIterator, boolean makeKey, boolean insertable)