Class ResultSetEventImpl
java.lang.Object
de.aristaflow.adept2.core.eventmanager.common.AbstractEvent
de.aristaflow.adept2.core.eventmanager.dbevents.ResultSetEventImpl
- All Implemented Interfaces:
Event,ResultSetEvent
An event for result sets, that is, an event is produced and sent as soon as a
specific statement yields a non-empty (or empty if desired) result set.
This event is for process step event handling, that is, the event is bound to a specific activity and terminates it.
This event is for process step event handling, that is, the event is bound to a specific activity and terminates it.
- Author:
- Ulrich Kreher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ResultSetThe result set of this event, that is the result of the executed statement.Fields inherited from class de.aristaflow.adept2.core.eventmanager.common.AbstractEvent
creationTime, eventType, id, ID_COUNT, managerURI, sourceID, sourceType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the result set that caused this event.Methods inherited from class de.aristaflow.adept2.core.eventmanager.common.AbstractEvent
getCreationTime, getEventManager, getEventType, getID, getSourceID, getSourceTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.aristaflow.adept2.model.events.Event
getCreationTime, getEventManager, getEventType, getID, getSourceID, getSourceType
-
Field Details
-
resultSet
The result set of this event, that is the result of the executed statement.
-
-
Constructor Details
-
ResultSetEventImpl
public ResultSetEventImpl(URI[] managerURI, String eventType, String sourceType, String sourceID, ResultSet resultSet) Creates a new event for the designated result set.- Parameters:
managerURI- The URIs of the service (event manager) creating the event.eventType- The type of the event.sourceType- The type of the source of this event.sourceID- The ID of the source of this event.resultSet- The result set of the event, that is the result of the executed statement.
-
-
Method Details
-
getResultSet
Description copied from interface:ResultSetEventGets the result set that caused this event.
Important: Only update this result set if you consume this event!- Specified by:
getResultSetin interfaceResultSetEvent- Returns:
- The result set that caused this event.
-