public enum TriggerType extends Enum<TriggerType>
Enum Constant and Description |
---|
AFTER_DELETE |
AFTER_INSERT |
AFTER_UPDATE |
BEFORE_DELETE |
BEFORE_INSERT |
BEFORE_UPDATE |
DELETE |
INSERT |
INSTEAD_OF_DELETE |
INSTEAD_OF_INSERT |
INSTEAD_OF_UPDATE |
UPDATE |
Modifier and Type | Method and Description |
---|---|
String |
getSql() |
static TriggerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerType INSERT
public static final TriggerType UPDATE
public static final TriggerType DELETE
public static final TriggerType BEFORE_INSERT
public static final TriggerType BEFORE_UPDATE
public static final TriggerType BEFORE_DELETE
public static final TriggerType AFTER_INSERT
public static final TriggerType AFTER_UPDATE
public static final TriggerType AFTER_DELETE
public static final TriggerType INSTEAD_OF_INSERT
public static final TriggerType INSTEAD_OF_UPDATE
public static final TriggerType INSTEAD_OF_DELETE
public static TriggerType[] values()
for (TriggerType c : TriggerType.values()) System.out.println(c);
public static TriggerType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSql()
Copyright © 2015. All Rights Reserved.