public enum ObjectState extends 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 | Method and Description |
---|---|
String |
toString() |
static ObjectState |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<ObjectState>
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.