Class StandardBagSemantics<E>
- java.lang.Object
-
- org.hibernate.collection.spi.AbstractBagSemantics<E>
-
- org.hibernate.collection.internal.StandardBagSemantics<E>
-
- All Implemented Interfaces:
BagSemantics<Collection<E>,E>
,CollectionSemantics<Collection<E>,E>
public class StandardBagSemantics<E> extends AbstractBagSemantics<E>
CollectionSemantics for bags
-
-
Field Summary
Fields Modifier and Type Field Description static StandardBagSemantics<?>
INSTANCE
Singleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassification
getCollectionClassification()
The classification handled by this semanticPersistentCollection<E>
instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Create a wrapper for the collectionPersistentCollection<E>
wrap(Collection<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Wrap a raw collection in wrapper-
Methods inherited from class org.hibernate.collection.spi.AbstractBagSemantics
createInitializerProducer, getCollectionJavaType, getElementIterator, instantiateRaw, visitElements
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.collection.spi.CollectionSemantics
createInitializerProducer
-
-
-
-
Field Detail
-
INSTANCE
public static final StandardBagSemantics<?> INSTANCE
Singleton access
-
-
Method Detail
-
getCollectionClassification
public CollectionClassification getCollectionClassification()
Description copied from interface:CollectionSemantics
The classification handled by this semantic
-
instantiateWrapper
public PersistentCollection<E> instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Create a wrapper for the collection
-
wrap
public PersistentCollection<E> wrap(Collection<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Wrap a raw collection in wrapper
-
-