|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mckoi.database.TriggerEvent
public class 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.
| Field Summary | |
|---|---|
static int |
DELETE
|
static int |
INSERT
Statics that represent the different types of high layer trigger events. |
static int |
UPDATE
|
| Constructor Summary | |
|---|---|
TriggerEvent(int type,
java.lang.String source)
|
|
TriggerEvent(int type,
java.lang.String source,
int count)
Constructs the trigger event. |
|
| Method Summary | |
|---|---|
int |
getCount()
Returns the number of times this event was fired. |
java.lang.String |
getSource()
Returns the source of this event. |
int |
getType()
Returns the type of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INSERT
public static final int DELETE
public static final int UPDATE
| Constructor Detail |
|---|
public TriggerEvent(int type,
java.lang.String source,
int count)
public TriggerEvent(int type,
java.lang.String source)
| Method Detail |
|---|
public int getType()
public java.lang.String getSource()
public int getCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||