Open Source Repository

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



org/hibernate/event/DirtyCheckEvent.java
//$Id: DirtyCheckEvent.java 7785 2005-08-08 23:24:44Z oneovthafew $
package org.hibernate.event;


/** Defines an event class for the dirty-checking of a session.
 *
 @author Steve Ebersole
 */
public class DirtyCheckEvent extends FlushEvent {
  
  private boolean dirty;

  public DirtyCheckEvent(EventSource source) {
    super(source);
  }

  public boolean isDirty() {
    return dirty;
  }

  public void setDirty(boolean dirty) {
    this.dirty = dirty;
  }

}