KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > event > EvictEvent


1 //$Id: EvictEvent.java,v 1.6 2005/05/27 03:53:58 oneovthafew Exp $
2
package org.hibernate.event;
3
4
5 /**
6  * Defines an event class for the evicting of an entity.
7  *
8  * @author Steve Ebersole
9  */

10 public class EvictEvent extends AbstractEvent {
11
12     private Object JavaDoc object;
13
14     public EvictEvent(Object JavaDoc object, EventSource source) {
15         super(source);
16         this.object = object;
17     }
18
19     public Object JavaDoc getObject() {
20         return object;
21     }
22
23     public void setObject(Object JavaDoc object) {
24         this.object = object;
25     }
26 }
27
Popular Tags