01: //$Id: DirtyCheckEvent.java 7785 2005-08-08 23:24:44Z oneovthafew $
02: package org.hibernate.event;
03:
04: /** Defines an event class for the dirty-checking of a session.
05: *
06: * @author Steve Ebersole
07: */
08: public class DirtyCheckEvent extends FlushEvent {
09:
10: private boolean dirty;
11:
12: public DirtyCheckEvent(EventSource source) {
13: super (source);
14: }
15:
16: public boolean isDirty() {
17: return dirty;
18: }
19:
20: public void setDirty(boolean dirty) {
21: this.dirty = dirty;
22: }
23:
24: }
|