com.sibvisions.rad.persist.event
Enum StorageEvent.ChangedType

java.lang.Object
  extended by java.lang.Enum<StorageEvent.ChangedType>
      extended by com.sibvisions.rad.persist.event.StorageEvent.ChangedType
All Implemented Interfaces:
Serializable, Comparable<StorageEvent.ChangedType>
Enclosing class:
StorageEvent

public static enum StorageEvent.ChangedType
extends Enum<StorageEvent.ChangedType>

Specifies the type of change.


Enum Constant Summary
AFTER_DELETE
          after delete.
AFTER_INSERT
          after insert.
AFTER_UPDATE
          after update.
BEFORE_DELETE
          before delete.
BEFORE_INSERT
          before insert.
BEFORE_UPDATE
          before update.
CALCULATE_ROW
          Calculate row.
INSTEADOF_DELETE
          instead-of delete.
INSTEADOF_INSERT
          instead-of insert.
INSTEADOF_UPDATE
          instead-of update.
 
Method Summary
static StorageEvent.ChangedType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StorageEvent.ChangedType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CALCULATE_ROW

public static final StorageEvent.ChangedType CALCULATE_ROW
Calculate row. This is called after fetch, refetchRow, insert and update method calls.


INSTEADOF_INSERT

public static final StorageEvent.ChangedType INSTEADOF_INSERT
instead-of insert.


BEFORE_INSERT

public static final StorageEvent.ChangedType BEFORE_INSERT
before insert.


AFTER_INSERT

public static final StorageEvent.ChangedType AFTER_INSERT
after insert.


INSTEADOF_UPDATE

public static final StorageEvent.ChangedType INSTEADOF_UPDATE
instead-of update.


BEFORE_UPDATE

public static final StorageEvent.ChangedType BEFORE_UPDATE
before update.


AFTER_UPDATE

public static final StorageEvent.ChangedType AFTER_UPDATE
after update.


INSTEADOF_DELETE

public static final StorageEvent.ChangedType INSTEADOF_DELETE
instead-of delete.


BEFORE_DELETE

public static final StorageEvent.ChangedType BEFORE_DELETE
before delete.


AFTER_DELETE

public static final StorageEvent.ChangedType AFTER_DELETE
after delete.

Method Detail

values

public static StorageEvent.ChangedType[] 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 (StorageEvent.ChangedType c : StorageEvent.ChangedType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StorageEvent.ChangedType 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


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.