A collection type with semantics described by a CollectionSemantics
object need not be part of the Java Collections Framework.
| Modifier and Type | Method and Description |
|---|---|
| public default CollectionInitializerProducer | createInitializerProducer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParent fetchParent, boolean selected, String resultVariable, DomainResultCreationState creationState)
Create a producer for |
| public default CollectionInitializerProducer | createInitializerProducer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParent fetchParent, boolean selected, String resultVariable, Fetch indexFetch, Fetch elementFetch, DomainResultCreationState creationState)
Create a producer for |
| public CollectionClassification | |
| public Class | |
| public Iterator | |
| public CE | instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Create a raw (unwrapped) version of the collection |
| public PersistentCollection | instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Create a wrapper for the collection |
| public void | |
| public PersistentCollection | wrap(CE rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Wrap a raw collection in wrapper |
| createInitializerProducer | back to summary |
|---|---|
| public default CollectionInitializerProducer createInitializerProducer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParent fetchParent, boolean selected, String resultVariable, DomainResultCreationState creationState) Create a producer for
| |
| createInitializerProducer | back to summary |
|---|---|
| public default CollectionInitializerProducer createInitializerProducer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParent fetchParent, boolean selected, String resultVariable, Fetch indexFetch, Fetch elementFetch, DomainResultCreationState creationState) Create a producer for
| |
| getCollectionClassification | back to summary |
|---|---|
| public CollectionClassification getCollectionClassification() The classification handled by this semantic | |
| getCollectionJavaType | back to summary |
|---|---|
| public Class The collection's Java type | |
| getElementIterator | back to summary |
|---|---|
| public Iterator Obtain an iterator over the collection elements | |
| instantiateRaw | back to summary |
|---|---|
| public CE instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor) Create a raw (unwrapped) version of the collection | |
| instantiateWrapper | back to summary |
|---|---|
| public PersistentCollection Create a wrapper for the collection | |
| visitElements | back to summary |
|---|---|
| public void visitElements(CE rawCollection, Consumer<? super E> action) Visit the elements of the collection | |
| wrap | back to summary |
|---|---|
| public PersistentCollection Wrap a raw collection in wrapper | |