Package com.mckoi.database
Class TriggerEvent
java.lang.Object
com.mckoi.database.TriggerEvent
A trigger event represents a high level action that occured in the
database. A trigger event is generated by the SQL interpreter on evaluation
of curtain types of queries.
- Author:
- Tobias Downer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTriggerEvent
(int type, String source) TriggerEvent
(int type, String source, int count) Constructs the trigger event. -
Method Summary
-
Field Details
-
INSERT
public static final int INSERTStatics that represent the different types of high layer trigger events.- See Also:
-
DELETE
public static final int DELETE- See Also:
-
UPDATE
public static final int UPDATE- See Also:
-
-
Constructor Details
-
TriggerEvent
Constructs the trigger event. -
TriggerEvent
-
-
Method Details
-
getType
public int getType()Returns the type of this event. -
getSource
Returns the source of this event. -
getCount
public int getCount()Returns the number of times this event was fired.
-