org.archiviststoolkit.mydomain
Class DomainAccessEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.archiviststoolkit.mydomain.DomainAccessEvent
All Implemented Interfaces:
java.io.Serializable

public class DomainAccessEvent
extends java.util.EventObject

The domain access event is sent when a domain object has been modified.

See Also:
Serialized Form

Field Summary
static int INSERT
          The insert event.
static int INSERTGROUP
          The insert group event.
static int REMOVE
          The remove event.
static int REMOVEGROUP
          The remove group event.
static int UPDATE
          The update event.
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 int getAction()
          Get the action associated with this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSERT

public static final int INSERT
The insert event.

See Also:
Constant Field Values

UPDATE

public static final int UPDATE
The update event.

See Also:
Constant Field Values

REMOVE

public static final int REMOVE
The remove event.

See Also:
Constant Field Values

REMOVEGROUP

public static final int REMOVEGROUP
The remove group event.

See Also:
Constant Field Values

INSERTGROUP

public static final int INSERTGROUP
The insert group event.

See Also:
Constant Field Values
Method Detail

getAction

public final int getAction()
Get the action associated with this event.

Returns:
the action