org.datamanager.event
Class SearchPoolEvent
java.lang.Object
|
+--org.datamanager.event.DataManagerEventAdapter
|
+--org.datamanager.event.SearchPoolEvent
- All Implemented Interfaces:
- DataManagerEvent, EntityValue, KernelEvent, PoolEvent, Serializable
- public class SearchPoolEvent
- extends DataManagerEventAdapter
- implements PoolEvent
This event is fired when Pool.search()
is invoked.
- Author:
- Matthew Farrellee
- See Also:
- Serialized Form
SearchPoolEvent
public SearchPoolEvent(EventGenerator source,
EntityConstraint constraint)
- The public constructor used to create a
SearchPoolEvent.
- Parameters:
source - The source of this event. Usually 'this.'constraint - The EntityConstraint that was used
for the search.
getConstraint
public EntityConstraint getConstraint()
- Report the
EntityConstraint that was used in the search.
- Returns:
- The
EntityConstraint used for the search.
toString
public String toString()
- A toString() method to provide a meaningful
String
representation of this 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