public enum WriteOperation extends java.lang.Enum<WriteOperation>
EntityProxyChange.getWriteOperation()
to
describe the type of change being announced.
EntityProxy
that was created on the client has been persisted
on the server
EntityProxy
has been encountered by the client for the first
time, or its version value has changed
EntityProxy
EntityProxyChange.getWriteOperation()
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUnObfuscatedEnumName()
Returns the unobfuscated name of the event associated with this
WriteOperation . |
static WriteOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteOperation PERSIST
public static final WriteOperation UPDATE
public static final WriteOperation DELETE
public static WriteOperation[] values()
for (WriteOperation c : WriteOperation.values()) System.out.println(c);
public static WriteOperation 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 java.lang.String getUnObfuscatedEnumName()
WriteOperation
.