Class SearchResultsFoundEvent

All Implemented Interfaces:
CollectorEvent, ContainsEntityEvent, DataManagerEvent, EntityValue, Serializable

public class SearchResultsFoundEvent
extends DataManagerEventAdapter
implements CollectorEvent, ContainsEntityEvent

This Event indicates that search results are available, encapsulating an Entity containing the results as attributes.

$Revision: 1.7 $
Allen Lee
See Also:
Serialized Form

Field Summary
Fields inherited from class org.datamanager.event.DataManagerEventAdapter
source, time
Constructor Summary
SearchResultsFoundEvent(EventGenerator source, Entity resultsEntity)
Method Summary
 Entity getEntity()
          Reports the entity contained within this event.
 String toString()
          Reports a String representation of the event.
Methods inherited from class org.datamanager.event.DataManagerEventAdapter
getSource, getTime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.datamanager.event.DataManagerEvent
getSource, getTime

Constructor Detail


public SearchResultsFoundEvent(EventGenerator source,
                               Entity resultsEntity)
Method Detail


public Entity getEntity()
Reports the entity contained within this event.

Specified by:
getEntity in interface ContainsEntityEvent


public String toString()
Reports a String representation of the event.

Specified by:
toString in interface DataManagerEvent
Specified by:
toString in class DataManagerEventAdapter
A meaningful String representation of this event.

See the Helium Website