Class IdentifierProperty

    • Constructor Detail

      • 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 Detail

      • 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
      • 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