Top Description Fields Constructors Methods
org.hibernate.boot.model.source.internal.hbm

pack-priv Class IdentifierSourceSimpleImpl

extends Object
implements IdentifierSourceSimple
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.IdentifierSourceSimple, org.hibernate.boot.model.source.spi.IdentifierSource, org.hibernate.boot.model.source.spi.ToolingHintContextContainer
Imports
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmRootEntityType, org.hibernate.boot.model.IdentifierGeneratorDefinition, org.hibernate.boot.model.source.spi.IdentifierSourceSimple, .SingularAttributeSource, .ToolingHintContext, org.hibernate.id.EntityIdentifierNature

Models a simple <id/> mapping
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SingularIdentifierAttributeSourceImpl
private final IdentifierGeneratorDefinition
private final ToolingHintContext
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SingularAttributeSource
public IdentifierGeneratorDefinition
public EntityIdentifierNature
getNature()

Implements org.hibernate.boot.model.source.spi.IdentifierSource.getNature.

Obtain the nature of this identifier source.
public ToolingHintContext
public String
getUnsavedValue()

Implements org.hibernate.boot.model.source.spi.IdentifierSourceSimple.getUnsavedValue.

Returns the "unsaved" entity identifier value.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributeback to summary
private final SingularIdentifierAttributeSourceImpl attribute
generatorDefinitionback to summary
private final IdentifierGeneratorDefinition generatorDefinition
toolingHintContextback to summary
private final ToolingHintContext toolingHintContext
unsavedValueback to summary
private final String unsavedValue

Constructor Detail

IdentifierSourceSimpleImplback to summary
public IdentifierSourceSimpleImpl(RootEntitySourceImpl rootEntitySource)

Method Detail

getIdentifierAttributeSourceback to summary
public SingularAttributeSource getIdentifierAttributeSource()

Implements org.hibernate.boot.model.source.spi.IdentifierSourceSimple.getIdentifierAttributeSource.

Doc from org.hibernate.boot.model.source.spi.IdentifierSourceSimple.getIdentifierAttributeSource.

Obtain the source descriptor for the identifier attribute.

Returns:SingularAttributeSource

The identifier attribute source.

Annotations
@Override
getIdentifierGeneratorDescriptorback to summary
public IdentifierGeneratorDefinition getIdentifierGeneratorDescriptor()

Implements org.hibernate.boot.model.source.spi.IdentifierSource.getIdentifierGeneratorDescriptor.

Doc from org.hibernate.boot.model.source.spi.IdentifierSource.getIdentifierGeneratorDescriptor.

Obtain the identifier generator source.

Returns:IdentifierGeneratorDefinition

The generator source.

Annotations
@Override
getNatureback to summary
public EntityIdentifierNature getNature()

Implements org.hibernate.boot.model.source.spi.IdentifierSource.getNature.

Doc from org.hibernate.boot.model.source.spi.IdentifierSource.getNature.

Obtain the nature of this identifier source.

Returns:EntityIdentifierNature

The identifier source's nature.

Annotations
@Override
getToolingHintContextback to summary
public ToolingHintContext getToolingHintContext()

Implements org.hibernate.boot.model.source.spi.ToolingHintContextContainer.getToolingHintContext.

Annotations
@Override
getUnsavedValueback to summary
public String getUnsavedValue()

Implements org.hibernate.boot.model.source.spi.IdentifierSourceSimple.getUnsavedValue.

Doc from org.hibernate.boot.model.source.spi.IdentifierSourceSimple.getUnsavedValue.

Returns the "unsaved" entity identifier value.

Returns:String

the "unsaved" entity identifier value

Annotations
@Override