com.im.commons.db.ddl
Enum DBTriggerInfo.TriggerEventType
java.lang.Object
java.lang.Enum<DBTriggerInfo.TriggerEventType>
com.im.commons.db.ddl.DBTriggerInfo.TriggerEventType
- All Implemented Interfaces:
- Serializable, Comparable<DBTriggerInfo.TriggerEventType>
- Enclosing class:
- DBTriggerInfo
public static enum DBTriggerInfo.TriggerEventType
- extends Enum<DBTriggerInfo.TriggerEventType>
I - insert (fired while inserting new row),
U - update (fired while updating existing row),
D - delete, and combinations
I
public static final DBTriggerInfo.TriggerEventType I
U
public static final DBTriggerInfo.TriggerEventType U
D
public static final DBTriggerInfo.TriggerEventType D
UI
public static final DBTriggerInfo.TriggerEventType UI
ID
public static final DBTriggerInfo.TriggerEventType ID
IUD
public static final DBTriggerInfo.TriggerEventType IUD
UD
public static final DBTriggerInfo.TriggerEventType UD
UNKNOWN
public static final DBTriggerInfo.TriggerEventType UNKNOWN
values
public static DBTriggerInfo.TriggerEventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DBTriggerInfo.TriggerEventType c : DBTriggerInfo.TriggerEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DBTriggerInfo.TriggerEventType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null