public static enum EntityManager.UpdateKind extends Enum<EntityManager.UpdateKind>
| Enum Constant and Description |
|---|
CONFLICT |
PERSIST |
REFRESH |
REMOVE |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final EntityManager.UpdateKind PERSIST
public static final EntityManager.UpdateKind UPDATE
public static final EntityManager.UpdateKind REMOVE
public static final EntityManager.UpdateKind REFRESH
public static final EntityManager.UpdateKind CONFLICT
public static EntityManager.UpdateKind[] values()
for (EntityManager.UpdateKind c : EntityManager.UpdateKind.values()) System.out.println(c);
public static EntityManager.UpdateKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static EntityManager.UpdateKind forName(String kind)