Class SimpleIdentifier

java.lang.Object
org.hibernate.envers.boot.model.AbstractIdentifier
org.hibernate.envers.boot.model.SimpleIdentifier
All Implemented Interfaces:
AttributeContainer, Bindable<Serializable>, Identifier

public class SimpleIdentifier extends AbstractIdentifier
Represents a simple identifier mapping.
  • Constructor Details

    • SimpleIdentifier

      public SimpleIdentifier(String name, String type)
  • 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
      Overrides:
      addAttribute in class AbstractIdentifier
      Parameters:
      attribute - the attribute, should not be null
    • addColumn

      public void addColumn(Column column)
    • setParameter

      public void setParameter(String name, String value)
    • getGeneratorClass

      public String getGeneratorClass()
    • setGeneratorClass

      public void setGeneratorClass(String generatorClazz)
    • build

      public JaxbHbmSimpleIdType build()
      Description copied from interface: Bindable
      Builds the specified binded class type.
      Returns:
      instance of the bindable class type, never null