DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.repository
Class RepositoryEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.dlese.dpc.schemedit.repository.RepositoryEvent
All Implemented Interfaces:
Serializable

public class RepositoryEvent
extends EventObject

Event indicating that a repository event occurred, exposes an event name (e.g., 'recordMoved') as well eventData in the form of a map.

Author:
ostwald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RepositoryEvent(String eventName, Map eventData)
          Contruct a RepositoryEvent
 
Method Summary
 Map getEventData()
          Gets the eventData attribute of the RepositoryEvent object
 String getName()
          Gets the name attribute of the RepositoryEvent object
 String toString()
          Description of the Method
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryEvent

public RepositoryEvent(String eventName,
                       Map eventData)
Contruct a RepositoryEvent

Parameters:
eventName - Description of the Parameter
eventData - Description of the Parameter
Method Detail

getName

public String getName()
Gets the name attribute of the RepositoryEvent object

Returns:
The name value

getEventData

public Map getEventData()
Gets the eventData attribute of the RepositoryEvent object

Returns:
The eventData value

toString

public String toString()
Description of the Method

Overrides:
toString in class EventObject
Returns:
Description of the Return Value

DLESE Tools
v1.6.0