Top Description Fields Constructors Methods
org.hibernate.collection.internal

public Class StandardIdentifierBagSemantics<E>

extends AbstractBagSemantics<E>
Class Inheritance
Imports
java.util.Collection, org.hibernate.collection.spi.AbstractBagSemantics, .PersistentCollection, .PersistentIdentifierBag, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.metamodel.CollectionClassification, org.hibernate.persister.collection.CollectionPersister

CollectionSemantics implementation for id-bags
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final StandardIdentifierBagSemantics<?>
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public CollectionClassification
public PersistentCollection<E>
public PersistentCollection<E>
wrap(Collection<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)

Implements org.hibernate.collection.spi.CollectionSemantics.wrap.

Wrap a raw collection in wrapper
Inherited from org.hibernate.collection.spi.AbstractBagSemantics:
createInitializerProducergetCollectionJavaTypegetElementIteratorinstantiateRawvisitElements

Field Detail

INSTANCEback to summary
public static final StandardIdentifierBagSemantics<?> INSTANCE

Singleton access

Constructor Detail

StandardIdentifierBagSemanticsback to summary
private StandardIdentifierBagSemantics()

Method Detail

getCollectionClassificationback to summary
public CollectionClassification getCollectionClassification()

Implements org.hibernate.collection.spi.CollectionSemantics.getCollectionClassification.

Doc from org.hibernate.collection.spi.CollectionSemantics.getCollectionClassification.

The classification handled by this semantic

Annotations
@Override
instantiateWrapperback to summary
public PersistentCollection<E> instantiateWrapper(Object key, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)

Implements org.hibernate.collection.spi.CollectionSemantics.instantiateWrapper.

Doc from org.hibernate.collection.spi.CollectionSemantics.instantiateWrapper.

Create a wrapper for the collection

Annotations
@Override
wrapback to summary
public PersistentCollection<E> wrap(Collection<E> rawCollection, CollectionPersister collectionDescriptor, SharedSessionContractImplementor session)

Implements org.hibernate.collection.spi.CollectionSemantics.wrap.

Doc from org.hibernate.collection.spi.CollectionSemantics.wrap.

Wrap a raw collection in wrapper

Annotations
@Override