public static enum EntityManager.UpdateKind extends java.lang.Enum<EntityManager.UpdateKind>
| Enum Constant and Description |
|---|
CONFLICT |
PERSIST |
REFRESH |
REMOVE |
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
eventName() |
<T> java.lang.String |
eventName(java.lang.Class<T> entityClass) |
static EntityManager.UpdateKind |
forName(java.lang.String kind) |
EntityManager.Update |
of(java.lang.Object object) |
static EntityManager.UpdateKind |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static EntityManager.UpdateKind forName(java.lang.String kind)
public java.lang.String eventName()
public <T> java.lang.String eventName(java.lang.Class<T> entityClass)
public EntityManager.Update of(java.lang.Object object)