public enum ObjectState extends java.lang.Enum<ObjectState>
Modifier and Type | Field | Description |
---|---|---|
private java.lang.String |
value |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
|
static ObjectState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ObjectState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectState TRANSIENT
public static final ObjectState TRANSIENT_CLEAN
public static final ObjectState TRANSIENT_DIRTY
public static final ObjectState PERSISTENT_NEW
public static final ObjectState HOLLOW_PERSISTENT_NONTRANSACTIONAL
public static final ObjectState PERSISTENT_NONTRANSACTIONAL_DIRTY
public static final ObjectState PERSISTENT_CLEAN
public static final ObjectState PERSISTENT_DIRTY
public static final ObjectState PERSISTENT_DELETED
public static final ObjectState PERSISTENT_NEW_DELETED
public static final ObjectState DETACHED_CLEAN
public static final ObjectState DETACHED_DIRTY
public static ObjectState[] values()
for (ObjectState c : ObjectState.values()) System.out.println(c);
public static ObjectState 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 toString()
toString
in class java.lang.Enum<ObjectState>