Package org.hibernate.tuple
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.
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifierProperty
(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 TypeMethodDescriptionDeprecated, 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.toString()
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.hibernate.tuple.AbstractAttribute
getName, getType
-
Constructor Details
-
IdentifierProperty
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 interfaceIdentifierAttribute
-
isEmbedded
public boolean isEmbedded()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isEmbedded
in interfaceIdentifierAttribute
-
getIdentifierGenerator
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdentifierGenerator
in interfaceIdentifierAttribute
-
getGenerator
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getGenerator
in interfaceIdentifierAttribute
-
isIdentifierAssignedByInsert
public boolean isIdentifierAssignedByInsert()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isIdentifierAssignedByInsert
in interfaceIdentifierAttribute
-
hasIdentifierMapper
public boolean hasIdentifierMapper()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hasIdentifierMapper
in interfaceIdentifierAttribute
-
toString
Deprecated, for removal: This API element is subject to removal in a future version.
-
EntityIdentifierMapping