Package org.hibernate.collection.spi
Interface CollectionInitializerProducer
-
- All Known Implementing Classes:
ArrayInitializerProducer,BagInitializerProducer,ListInitializerProducer,MapInitializerProducer,SetInitializerProducer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Incubating @FunctionalInterface public interface CollectionInitializerProducer
Functional contract to create aCollectionInitializer.- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default CollectionInitializerproduceInitializer(NavigablePath navigablePath, PluralAttributeMapping attribute, FetchParentAccess parentAccess, LockMode lockMode, DomainResult<?> collectionKeyResult, DomainResult<?> collectionValueKeyResult, boolean isResultInitializer, AssemblerCreationState creationState)CollectionInitializerproduceInitializer(NavigablePath navigablePath, PluralAttributeMapping attribute, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, AssemblerCreationState creationState)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
produceInitializer
@Deprecated(forRemoval=true) CollectionInitializer produceInitializer(NavigablePath navigablePath, PluralAttributeMapping attribute, FetchParentAccess parentAccess, LockMode lockMode, DomainResultAssembler<?> collectionKeyAssembler, DomainResultAssembler<?> collectionValueKeyAssembler, AssemblerCreationState creationState)
Deprecated, for removal: This API element is subject to removal in a future version.Create an initializer for the given attribute relative to the given navigable path.- Parameters:
navigablePath- the navigable pathattribute- the attributeparentAccess- may be null to indicate that the initializer is for aDomainResultrather than aFetchcollectionKeyAssembler- allows creation of aDomainResultfor either side of the collection foreign keycollectionValueKeyAssembler- allows creation of aDomainResultfor either side of the collection foreign key
-
produceInitializer
default CollectionInitializer produceInitializer(NavigablePath navigablePath, PluralAttributeMapping attribute, FetchParentAccess parentAccess, LockMode lockMode, DomainResult<?> collectionKeyResult, DomainResult<?> collectionValueKeyResult, boolean isResultInitializer, AssemblerCreationState creationState)
-
-