Open Source Repository

Home /hibernate/hibernate-3.2.7.ga | Repository Home


org/hibernate/event/PreCollectionUpdateEvent.java
//$Id: $
package org.hibernate.event;

import org.hibernate.collection.PersistentCollection;
import org.hibernate.persister.collection.CollectionPersister;

/**
 * An event that occurs before a collection is updated
 *
 @author Gail Badner
 */
public class PreCollectionUpdateEvent extends AbstractCollectionEvent {

  public PreCollectionUpdateEvent(CollectionPersister collectionPersister,
                  PersistentCollection collection,
                  EventSource source) {
    supercollectionPersister, collection, source,
        getLoadedOwnerOrNullcollection, source ),
        getLoadedOwnerIdOrNullcollection, source ) );
  }
}