FileDocCategorySizeDatePackage
CollectionLoader.javaAPI DocHibernate 3.2.51382Mon Jun 13 15:27:16 BST 2005org.hibernate.loader.collection

CollectionLoader

public class CollectionLoader extends org.hibernate.loader.OuterJoinLoader implements CollectionInitializer
Superclass for loaders that initialize collections
see
OneToManyLoader
see
BasicCollectionLoader
author
Gavin King

Fields Summary
private final org.hibernate.persister.collection.QueryableCollection
collectionPersister
Constructors Summary
public CollectionLoader(org.hibernate.persister.collection.QueryableCollection collectionPersister, org.hibernate.engine.SessionFactoryImplementor factory, Map enabledFilters)

		super( factory, enabledFilters );
		this.collectionPersister = collectionPersister;
	
Methods Summary
protected org.hibernate.type.TypegetKeyType()

		return collectionPersister.getKeyType();
	
public voidinitialize(java.io.Serializable id, org.hibernate.engine.SessionImplementor session)

		loadCollection( session, id, getKeyType() );
	
protected booleanisSubselectLoadingEnabled()

		return hasSubselectLoadableCollections();
	
public java.lang.StringtoString()

		return getClass().getName() + '(" + collectionPersister.getRole() + ')";