Interface IdentifierSource
-
- All Superinterfaces:
ToolingHintContextContainer
- All Known Subinterfaces:
CompositeIdentifierSource
,IdentifierSourceAggregatedComposite
,IdentifierSourceNonAggregatedComposite
,IdentifierSourceSimple
public interface IdentifierSource extends ToolingHintContextContainer
Contract describing source of identifier information for the entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentifierGeneratorDefinition
getIdentifierGeneratorDescriptor()
Obtain the identifier generator source.EntityIdentifierNature
getNature()
Obtain the nature of this identifier source.-
Methods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
-
-
-
Method Detail
-
getNature
EntityIdentifierNature getNature()
Obtain the nature of this identifier source.- Returns:
- The identifier source's nature.
-
getIdentifierGeneratorDescriptor
IdentifierGeneratorDefinition getIdentifierGeneratorDescriptor()
Obtain the identifier generator source.- Returns:
- The generator source.
-
-