org.datamanager.event
Class SearchRequestEvent

java.lang.Object
  |
  +--org.datamanager.event.DataManagerEventAdapter
        |
        +--org.datamanager.event.SearchRequestEvent
All Implemented Interfaces:
DataManagerEvent, EntityValue, RequestEvent, Serializable

public class SearchRequestEvent
extends DataManagerEventAdapter
implements RequestEvent

SearchRequestEvent wraps an EntityConstraint through which a search handling Simpleton may search the Pool.

Version:
$Revision: 1.7 $
Author:
Team Helium
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.datamanager.event.DataManagerEventAdapter
source, time
 
Constructor Summary
SearchRequestEvent(EventGenerator source, EntityConstraint constraint, String query)
           
 
Method Summary
 EntityConstraint getConstraint()
          Returns the EntityConstraint wrapped by this Event.
 String getQuery()
          Returns the String query used by the EntityConstraint wrapped by this Event.
 String toString()
          Returns the String representation of this 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

SearchRequestEvent

public SearchRequestEvent(EventGenerator source,
                          EntityConstraint constraint,
                          String query)
Method Detail

getConstraint

public EntityConstraint getConstraint()
Returns the EntityConstraint wrapped by this Event. The EntityConstraint can be used to search() the Pool and is intended for handlers of this Event.


getQuery

public String getQuery()
Returns the String query used by the EntityConstraint wrapped by this Event.


toString

public String toString()
Returns the String representation of this event.

Specified by:
toString in interface DataManagerEvent
Specified by:
toString in class DataManagerEventAdapter


See the Helium Website