package org.hibernate.event.spi;
import java.util.Set;
public class AutoFlushEvent extends FlushEvent {
private Set querySpaces;
private boolean flushRequired;
public AutoFlushEvent(Set querySpaces, EventSource source) {
super(source);
this.querySpaces = querySpaces;
}
public Set getQuerySpaces() {
return querySpaces;
}
public void setQuerySpaces(Set querySpaces) {
this.querySpaces = querySpaces;
}
public boolean isFlushRequired() {
return flushRequired;
}
public void setFlushRequired(boolean dirty) {
this.flushRequired = dirty;
}
}