public class TriggerEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(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 and Description |
---|
TriggerEvent(int type)
Create a trigger event of the given type
|
Modifier and Type | Method and Description |
---|---|
(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
|
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
TriggerEvent(int type)
type
- the typeint getNumber()
java.lang.String getName()
boolean isBefore()
boolean isAfter()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.