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 GeneratorgetGenerator()Deprecated, for removal: This API element is subject to removal in a future version.IdentifierGeneratorgetIdentifierGenerator()Deprecated, for removal: This API element is subject to removal in a future version.booleanhasIdentifierMapper()Deprecated, for removal: This API element is subject to removal in a future version.booleanisEmbedded()Deprecated, for removal: This API element is subject to removal in a future version.booleanisIdentifierAssignedByInsert()Deprecated, for removal: This API element is subject to removal in a future version.booleanisVirtual()Deprecated, for removal: This API element is subject to removal in a future version.StringtoString()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:
isVirtualin interfaceIdentifierAttribute
-
isEmbedded
public boolean isEmbedded()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isEmbeddedin interfaceIdentifierAttribute
-
getIdentifierGenerator
public IdentifierGenerator getIdentifierGenerator()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getIdentifierGeneratorin interfaceIdentifierAttribute
-
getGenerator
public Generator getGenerator()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getGeneratorin interfaceIdentifierAttribute
-
isIdentifierAssignedByInsert
public boolean isIdentifierAssignedByInsert()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
isIdentifierAssignedByInsertin interfaceIdentifierAttribute
-
hasIdentifierMapper
public boolean hasIdentifierMapper()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
hasIdentifierMapperin interfaceIdentifierAttribute
-
-