com.sptci.rwt
Enum TriggerMetaData.Event
java.lang.Object
java.lang.Enum<TriggerMetaData.Event>
com.sptci.rwt.TriggerMetaData.Event
- All Implemented Interfaces:
- Serializable, Comparable<TriggerMetaData.Event>
- Enclosing class:
- TriggerMetaData
public static enum TriggerMetaData.Event
- extends Enum<TriggerMetaData.Event>
An enumeration of event types that cause a trigger to fire.
Insert
public static final TriggerMetaData.Event Insert
Update
public static final TriggerMetaData.Event Update
Delete
public static final TriggerMetaData.Event Delete
InsertOrUpdate
public static final TriggerMetaData.Event InsertOrUpdate
InsertOrDelete
public static final TriggerMetaData.Event InsertOrDelete
UpdateOrDelete
public static final TriggerMetaData.Event UpdateOrDelete
InsertOrUpdateOrDelete
public static final TriggerMetaData.Event InsertOrUpdateOrDelete
values
public static final TriggerMetaData.Event[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TriggerMetaData.Event c : TriggerMetaData.Event.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TriggerMetaData.Event 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