public enum ObjectDisposition extends java.lang.Enum<ObjectDisposition>
| Enum Constant and Description |
|---|
NotHandled
The client has not handled the event; the object will be removed.
|
Remove
The client would like the object removed from the store.
|
Save
The client would like to keep the object in the store.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static ObjectDisposition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectDisposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectDisposition Save
public static final ObjectDisposition Remove
public static final ObjectDisposition NotHandled
public static ObjectDisposition[] values()
for (ObjectDisposition c : ObjectDisposition.values()) System.out.println(c);
public static ObjectDisposition 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 int value()