Interface AttributeContainer.InFlightAccess<J>
- All Known Implementing Classes:
AbstractManagedType.InFlightAccessImpl
- Enclosing interface:
- AttributeContainer<J>
public static interface AttributeContainer.InFlightAccess<J>
Used during creation of the type
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(PersistentAttribute<J, ?> attribute) default void
addConcreteGenericAttribute
(PersistentAttribute<J, ?> idAttribute) 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 (EmbeddedId
)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 dodefault void
applyNaturalIdAttribute
(PersistentAttribute<J, ?> versionAttribute) default void
applyNonAggregatedIdAttributes
(Set<SingularPersistentAttribute<? super J, ?>> idAttributes, EmbeddableDomainType<?> idClassType) default void
applyVersionAttribute
(SingularPersistentAttribute<J, ?> versionAttribute) void
finishUp()
Called when configuration of the type is complete
-
Method Details
-
addAttribute
-
applyIdAttribute
Callback used when we have a singular id attribute of some form - either a simple id or an aggregated composite id (EmbeddedId
) -
applyNonAggregatedIdAttributes
default void applyNonAggregatedIdAttributes(Set<SingularPersistentAttribute<? super J, ?>> idAttributes, EmbeddableDomainType<?> idClassType) -
applyIdClassAttributes
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 -
applyVersionAttribute
-
applyNaturalIdAttribute
-
addConcreteGenericAttribute
-
finishUp
void finishUp()Called when configuration of the type is complete
-