|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.TriggerEvent
public class TriggerEvent
This is a simple class that we use to track trigger events. This is not expected to be used directly, instead there is a static TriggerEvent in TriggerEvents for each event found in this file.
| Field Summary | |
|---|---|
(package private) static int |
AFTER_DELETE
|
(package private) static int |
AFTER_INSERT
|
(package private) static int |
AFTER_UPDATE
|
private boolean |
before
|
(package private) static int |
BEFORE_DELETE
|
(package private) static int |
BEFORE_INSERT
|
(package private) static int |
BEFORE_UPDATE
|
(package private) static int |
LAST_BEFORE_EVENT
|
(package private) static int |
MAX_EVENTS
|
private static java.lang.String[] |
Names
|
private int |
type
|
| Constructor Summary | |
|---|---|
TriggerEvent(int type)
Create a trigger event of the given type |
|
| Method Summary | |
|---|---|
(package private) java.lang.String |
getName()
Get the type number of this trigger |
(package private) int |
getNumber()
Get the type number of this trigger |
(package private) boolean |
isAfter()
Is this an after trigger |
(package private) boolean |
isBefore()
Is this a before trigger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int BEFORE_INSERT
static final int BEFORE_DELETE
static final int BEFORE_UPDATE
static final int LAST_BEFORE_EVENT
static final int AFTER_INSERT
static final int AFTER_DELETE
static final int AFTER_UPDATE
static final int MAX_EVENTS
private static final java.lang.String[] Names
private boolean before
private int type
| Constructor Detail |
|---|
TriggerEvent(int type)
type - the type| Method Detail |
|---|
int getNumber()
java.lang.String getName()
boolean isBefore()
boolean isAfter()
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||