org.mmbase.core.event
Class IdEvent

java.lang.Object
  extended by org.mmbase.core.event.Event
      extended by org.mmbase.core.event.IdEvent
All Implemented Interfaces:
Serializable, Cloneable, PublicCloneable<Event>

public class IdEvent
extends Event

Very generic event type, which only adds an 'id' property. This can be used for events on all kind of objects which are somehow identified by an ID. Of course, the default event types like 'NEW', 'CHANGE' and 'DELETE' can very well make sense.

Since:
MMBase-1.8
Version:
$Id: IdEvent.java 41744 2010-04-02 16:06:53Z michiel $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mmbase.core.event.Event
eventType, machine, TYPE_CHANGE, TYPE_DELETE, TYPE_NEW, TYPE_UNSPECIFIED
 
Constructor Summary
IdEvent(String machineName, int type, String id)
           
 
Method Summary
 String getId()
           
 String toString()
           
 
Methods inherited from class org.mmbase.core.event.Event
clone, getMachine, getType, isLocal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdEvent

public IdEvent(String machineName,
               int type,
               String id)
Method Detail

getId

public String getId()

toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null