com.timeindexing.event
Class IndexAddEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.timeindexing.event.IndexEvent
          extended bycom.timeindexing.event.IndexAddEvent
All Implemented Interfaces:
java.io.Serializable

public class IndexAddEvent
extends IndexEvent

An Index Add Event, which is generated when an IndexItem is added to an Index.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IndexAddEvent(java.lang.String aName, ID anID, IndexItem anItem, java.lang.Object aSource)
          Construct an IndexAddEvent.
 
Method Summary
 IndexItem getIndexItem()
          Get the IndexItem from the event.
 
Methods inherited from class com.timeindexing.event.IndexEvent
getID, getName, getSource
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexAddEvent

public IndexAddEvent(java.lang.String aName,
                     ID anID,
                     IndexItem anItem,
                     java.lang.Object aSource)
Construct an IndexAddEvent. Constructed from an index name, an index ID, the IndexItem, and the source of the event.

Method Detail

getIndexItem

public IndexItem getIndexItem()
Get the IndexItem from the event.