Class StandardSetSemantics<E>
- java.lang.Object
-
- org.hibernate.collection.spi.AbstractSetSemantics<Set<E>,E>
-
- org.hibernate.collection.internal.StandardSetSemantics<E>
-
- All Implemented Interfaces:
CollectionSemantics<Set<E>,E>
public class StandardSetSemantics<E> extends AbstractSetSemantics<Set<E>,E>
-
-
Field Summary
Fields Modifier and Type Field Description static StandardSetSemantics<?>
INSTANCE
Singleton access
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassification
getCollectionClassification()
The classification handled by this semanticSet<E>
instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Create a raw (unwrapped) version of the collectionPersistentSet<E>
instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Create a wrapper for the collectionPersistentSet<E>
wrap(Set<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Wrap a raw collection in wrapper-
Methods inherited from class org.hibernate.collection.spi.AbstractSetSemantics
createInitializerProducer, getCollectionJavaType, getElementIterator, 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 StandardSetSemantics<?> INSTANCE
Singleton access
-
-
Method Detail
-
getCollectionClassification
public CollectionClassification getCollectionClassification()
Description copied from interface:CollectionSemantics
The classification handled by this semantic
-
instantiateRaw
public Set<E> instantiateRaw(int anticipatedSize, CollectionPersister collectionDescriptor)
Description copied from interface:CollectionSemantics
Create a raw (unwrapped) version of the collection
-
instantiateWrapper
public PersistentSet<E> instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Create a wrapper for the collection
-
wrap
public PersistentSet<E> wrap(Set<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)
Description copied from interface:CollectionSemantics
Wrap a raw collection in wrapper
-
-