org.granite.client.tide.data
Enum EntityManager.UpdateKind
java.lang.Object
java.lang.Enum<EntityManager.UpdateKind>
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>
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
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)