public enum ObjectState extends java.lang.Enum<ObjectState>
Enum Constant and Description |
---|
DETACHED_CLEAN |
DETACHED_DIRTY |
HOLLOW_PERSISTENT_NONTRANSACTIONAL |
PERSISTENT_CLEAN |
PERSISTENT_DELETED |
PERSISTENT_DIRTY |
PERSISTENT_NEW |
PERSISTENT_NEW_DELETED |
PERSISTENT_NONTRANSACTIONAL_DIRTY |
TRANSIENT |
TRANSIENT_CLEAN |
TRANSIENT_DIRTY |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value |
Modifier and Type | Method and 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>