org.granite.client.tide.data
Enum EntityManager.UpdateKind

java.lang.Object
  extended by java.lang.Enum<EntityManager.UpdateKind>
      extended by org.granite.client.tide.data.EntityManager.UpdateKind
All Implemented Interfaces:
Serializable, Comparable<EntityManager.UpdateKind>
Enclosing interface:
EntityManager

public static enum EntityManager.UpdateKind
extends Enum<EntityManager.UpdateKind>


Enum Constant Summary
CONFLICT
           
PERSIST
           
REFRESH
           
REMOVE
           
UPDATE
           
 
Method Summary
 String eventName()
           
<T> String
eventName(Class<T> entityClass)
           
static EntityManager.UpdateKind forName(String kind)
           
static EntityManager.UpdateKind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EntityManager.UpdateKind[] 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

PERSIST

public static final EntityManager.UpdateKind PERSIST

UPDATE

public static final EntityManager.UpdateKind UPDATE

REMOVE

public static final EntityManager.UpdateKind REMOVE

REFRESH

public static final EntityManager.UpdateKind REFRESH

CONFLICT

public static final EntityManager.UpdateKind CONFLICT
Method Detail

values

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

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

valueOf

public static EntityManager.UpdateKind 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

forName

public static EntityManager.UpdateKind forName(String kind)

eventName

public String eventName()

eventName

public <T> String eventName(Class<T> entityClass)