FileDocCategorySizeDatePackage
InitializeCollectionEvent.javaAPI DocHibernate 3.2.5596Thu May 26 22:54:08 BST 2005org.hibernate.event

InitializeCollectionEvent.java

//$Id: InitializeCollectionEvent.java 6929 2005-05-27 03:54:08Z oneovthafew $
package org.hibernate.event;

import org.hibernate.collection.PersistentCollection;

/**
 * An event that occurs when a collection wants to be
 * initialized
 * 
 * @author Gavin King
 */
public class InitializeCollectionEvent extends AbstractEvent {
	
	private final PersistentCollection collection;

	public InitializeCollectionEvent(PersistentCollection collection, EventSource source) {
		super(source);
		this.collection = collection;
	}
	
	public PersistentCollection getCollection() {
		return collection;
	}
}