Class IdentifierProperty

java.lang.Object
org.hibernate.tuple.AbstractAttribute
org.hibernate.tuple.IdentifierProperty
All Implemented Interfaces:
Attribute, IdentifierAttribute

@Deprecated(forRemoval=true) public class IdentifierProperty extends AbstractAttribute implements IdentifierAttribute
Deprecated, for removal: This API element is subject to removal in a future version.
No direct replacement; see EntityIdentifierMapping
  • Constructor Summary

    Constructors
    Constructor
    Description
    IdentifierProperty(String name, Type type, boolean embedded, Generator identifierGenerator)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct a non-virtual identifier property.
    IdentifierProperty(Type type, boolean embedded, boolean hasIdentifierMapper, Generator identifierGenerator)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct a virtual IdentifierProperty.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class org.hibernate.tuple.AbstractAttribute

    getName, getType

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.hibernate.tuple.Attribute

    getName, getType
  • Constructor Details

    • IdentifierProperty

      public IdentifierProperty(String name, Type type, boolean embedded, Generator identifierGenerator)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct a non-virtual identifier property.
      Parameters:
      name - The name of the property representing the identifier within its owning entity.
      type - The Hibernate Type for the identifier property.
      embedded - Is this an embedded identifier. property, represents new (i.e., un-saved) instances of the owning entity.
      identifierGenerator - The generator to use for id value generation.
    • IdentifierProperty

      public IdentifierProperty(Type type, boolean embedded, boolean hasIdentifierMapper, Generator identifierGenerator)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct a virtual IdentifierProperty.
      Parameters:
      type - The Hibernate Type for the identifier property.
      embedded - Is this an embedded identifier. property, represents new (i.e., un-saved) instances of the owning entity.
      identifierGenerator - The generator to use for id value generation.
  • Method Details

    • isVirtual

      public boolean isVirtual()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isVirtual in interface IdentifierAttribute
    • isEmbedded

      public boolean isEmbedded()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isEmbedded in interface IdentifierAttribute
    • getIdentifierGenerator

      public IdentifierGenerator getIdentifierGenerator()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getIdentifierGenerator in interface IdentifierAttribute
    • getGenerator

      public Generator getGenerator()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getGenerator in interface IdentifierAttribute
    • isIdentifierAssignedByInsert

      public boolean isIdentifierAssignedByInsert()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isIdentifierAssignedByInsert in interface IdentifierAttribute
    • hasIdentifierMapper

      public boolean hasIdentifierMapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      hasIdentifierMapper in interface IdentifierAttribute
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object