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.No direct replacement; seeEntityIdentifierMapping
-
-
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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Generator
getGenerator()
Deprecated, for removal: This API element is subject to removal in a future version.IdentifierGenerator
getIdentifierGenerator()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasIdentifierMapper()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isEmbedded()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isIdentifierAssignedByInsert()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
isVirtual()
Deprecated, for removal: This API element is subject to removal in a future version.String
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 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 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
public IdentifierGenerator getIdentifierGenerator()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdentifierGenerator
in interfaceIdentifierAttribute
-
getGenerator
public Generator 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
-
-