public enum ChronoEObjectLifecycle extends java.lang.Enum<ChronoEObjectLifecycle>
| Enum Constant and Description |
|---|
PERSISTENT_CLEAN |
PERSISTENT_MODIFIED |
PERSISTENT_REMOVED |
TRANSIENT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPersistent() |
boolean |
isRemoved() |
boolean |
isTransient() |
static ChronoEObjectLifecycle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChronoEObjectLifecycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChronoEObjectLifecycle TRANSIENT
public static final ChronoEObjectLifecycle PERSISTENT_CLEAN
public static final ChronoEObjectLifecycle PERSISTENT_MODIFIED
public static final ChronoEObjectLifecycle PERSISTENT_REMOVED
public static ChronoEObjectLifecycle[] values()
for (ChronoEObjectLifecycle c : ChronoEObjectLifecycle.values()) System.out.println(c);
public static ChronoEObjectLifecycle 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 boolean isTransient()
public boolean isPersistent()
public boolean isRemoved()