com.timeindexing.event
Class IndexEvent
java.lang.Object
java.util.EventObject
com.timeindexing.event.IndexEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- IndexAccessEvent, IndexAddEvent, IndexPrimaryEvent
- public abstract class IndexEvent
- extends java.util.EventObject
An Index Event, which is generated at key situations
through an Index's lifetime.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
IndexEvent(java.lang.String aName,
ID anID,
java.lang.Object aSource)
Construct an IndexEvent. |
Method Summary |
ID |
getID()
Get an ID of an index. |
java.lang.String |
getName()
Get the name of the index. |
java.lang.Object |
getSource()
Get the source of the event. |
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 |
IndexEvent
public IndexEvent(java.lang.String aName,
ID anID,
java.lang.Object aSource)
- Construct an IndexEvent.
Constructed from an index name, an index ID,
and the source of the event.
getName
public java.lang.String getName()
- Get the name of the index.
getID
public ID getID()
- Get an ID of an index.
getSource
public java.lang.Object getSource()
- Get the source of the event.