SPT RWT Application API

com.sptci.rwt
Enum TriggerMetaData.Event

java.lang.Object
  extended by java.lang.Enum<TriggerMetaData.Event>
      extended by 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.


Enum Constant Summary
Delete
           
Insert
           
InsertOrDelete
           
InsertOrUpdate
           
InsertOrUpdateOrDelete
           
Update
           
UpdateOrDelete
           
 
Method Summary
static TriggerMetaData.Event valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TriggerMetaData.Event[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

SPT RWT Application API