org.datamanager.event
Class SearchResultsFoundEvent

java.lang.Object
  |
  +--org.datamanager.event.DataManagerEventAdapter
        |
        +--org.datamanager.event.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.

Version:
$Revision: 1.7 $
Author:
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

SearchResultsFoundEvent

public SearchResultsFoundEvent(EventGenerator source,
                               Entity resultsEntity)
Method Detail

getEntity

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

Specified by:
getEntity in interface ContainsEntityEvent

toString

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

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


See the Helium Website