kaos.core.service.directory
Class DirectoryEvent

java.lang.Object
  extended by kaos.core.service.directory.DirectoryEvent
All Implemented Interfaces:
java.io.Serializable

public class DirectoryEvent
extends java.lang.Object
implements java.io.Serializable

DirectoryEvent contains a type and a description, representing different characteristics of the event in the form of key-value associations. *

See Also:
Serialized Form

Constructor Summary
DirectoryEvent(java.lang.String eventName, java.lang.String sourceDS, java.util.Map description)
           
 
Method Summary
 java.util.Map getDescription()
          Obtain the event description.
 java.lang.String getName()
          Obtain the name of the event.
 java.lang.String getSource()
          obtain the source of the event
 void setDescription(java.util.Map description)
          Set the event description.
 void setName(java.lang.String name)
          Set the name of the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryEvent

public DirectoryEvent(java.lang.String eventName,
                      java.lang.String sourceDS,
                      java.util.Map description)
Method Detail

getName

public java.lang.String getName()
Obtain the name of the event.

Returns:
String naming the event.

getSource

public java.lang.String getSource()
obtain the source of the event


getDescription

public java.util.Map getDescription()
Obtain the event description.

Returns:
Map associating key and values describing the domain event.

setName

public void setName(java.lang.String name)
Set the name of the event.


setDescription

public void setDescription(java.util.Map description)
Set the event description.

Parameters:
desc - Map associating key and values describing the domain event.