Top Description Methods
org.hibernate.boot.model.source.spi

public Interface IdentifierSourceAggregatedComposite

extends CompositeIdentifierSource
Known Direct Implementers
org.hibernate.boot.model.source.internal.hbm.IdentifierSourceAggregatedCompositeImpl
Imports
java.util.List

Additional contract describing the source of an identifier mapping whose nature is org.hibernate.id.EntityIdentifierNature#AGGREGATED_COMPOSITE.

This equates to an identifier which is made up of multiple values which are defined as part of a component/embedded; i.e. jakarta.persistence.EmbeddedId

Authors
Strong Liu, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public SingularAttributeSourceEmbedded

Returns:

The identifier attribute source.
getIdentifierAttributeSource
()

Obtain the source descriptor for the identifier attribute.

public List<MapsIdSource>

Returns:

The MapsId sources.
getMapsIdSources
()

Obtain the mapping of attributes annotated with jakarta.persistence.MapsId.

Inherited from org.hibernate.boot.model.source.spi.CompositeIdentifierSource:
getIndividualAttributeIdGenerator

Method Detail

getIdentifierAttributeSourceback to summary
public SingularAttributeSourceEmbedded getIdentifierAttributeSource()

Obtain the source descriptor for the identifier attribute.

Returns:SingularAttributeSourceEmbedded

The identifier attribute source.

getMapsIdSourcesback to summary
public List<MapsIdSource> getMapsIdSources()

Obtain the mapping of attributes annotated with jakarta.persistence.MapsId.

Returns:List<MapsIdSource>

The MapsId sources.