Top Inners Methods
org.hibernate.metamodel.model.domain.internal

public Interface AttributeContainer<J>

Known Direct Implementers
org.hibernate.metamodel.model.domain.AbstractManagedType
Imports
java.util.Set, org.hibernate.metamodel.UnsupportedMappingException, org.hibernate.metamodel.model.domain.EmbeddableDomainType, .PersistentAttribute, .SingularPersistentAttribute

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
AttributeContainer.InFlightAccess<J>

Used during creation of the type

Method Summary

Modifier and TypeMethod and Description
public AttributeContainer.InFlightAccess<J>

Method Detail

getInFlightAccessback to summary
public AttributeContainer.InFlightAccess<J> getInFlightAccess()
org.hibernate.metamodel.model.domain.internal back to summary

public Interface AttributeContainer.InFlightAccess<J>

Known Direct Implementers
org.hibernate.metamodel.model.domain.AbstractManagedType.InFlightAccessImpl

Used during creation of the type

Method Summary

Modifier and TypeMethod and Description
public void
public default void
public default void
applyIdAttribute(SingularPersistentAttribute<J, ?> idAttribute)

Callback used when we have a singular id attribute of some form - either a simple id or an aggregated composite id (jakarta.persistence.EmbeddedId)

public default void
applyIdClassAttributes(Set<SingularPersistentAttribute<? super J, ?>> idClassAttributes)

todo (6.0) : we still need to implement this properly and the contract may change - specifically I am not certain we will be able to re-use `SingularPersistentAttribute` because of its dependence on declaring-type, etc that we may not be able to do

public default void
public default void
public default void
public void
finishUp()

Called when configuration of the type is complete

Method Detail

addAttributeback to summary
public void addAttribute(PersistentAttribute<J, ?> attribute)
addConcreteGenericAttributeback to summary
public default void addConcreteGenericAttribute(PersistentAttribute<J, ?> idAttribute)
applyIdAttributeback to summary
public default void applyIdAttribute(SingularPersistentAttribute<J, ?> idAttribute)

Callback used when we have a singular id attribute of some form - either a simple id or an aggregated composite id (jakarta.persistence.EmbeddedId)

applyIdClassAttributesback to summary
public default void applyIdClassAttributes(Set<SingularPersistentAttribute<? super J, ?>> idClassAttributes)

todo (6.0) : we still need to implement this properly and the contract may change - specifically I am not certain we will be able to re-use `SingularPersistentAttribute` because of its dependence on declaring-type, etc that we may not be able to do

applyNaturalIdAttributeback to summary
public default void applyNaturalIdAttribute(PersistentAttribute<J, ?> versionAttribute)
applyNonAggregatedIdAttributesback to summary
public default void applyNonAggregatedIdAttributes(Set<SingularPersistentAttribute<? super J, ?>> idAttributes, EmbeddableDomainType<?> idClassType)
applyVersionAttributeback to summary
public default void applyVersionAttribute(SingularPersistentAttribute<J, ?> versionAttribute)
finishUpback to summary
public void finishUp()

Called when configuration of the type is complete