public enum PersistenceMode extends Enum<PersistenceMode>
| Enum Constant and Description |
|---|
PERSISTENT_AND_INVALID_ON_RESTART
Dynamische Objekte werden persistent gespeichert und beim Neustart auf ungültig gesetzt.
|
PERSISTENT_OBJECTS
Dynamische Objekte werden persistent gespeichert.
|
TRANSIENT_OBJECTS
Dynamische Objekte werden nicht persistent gespeichert.
|
UNDEFINED
Es wurde nicht festgelegt, wie mit dynamischen Objekten verfahren werden soll
|
| Modifier and Type | Method and Description |
|---|---|
static PersistenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceMode TRANSIENT_OBJECTS
public static final PersistenceMode PERSISTENT_OBJECTS
public static final PersistenceMode PERSISTENT_AND_INVALID_ON_RESTART
public static final PersistenceMode UNDEFINED
public static PersistenceMode[] values()
for (PersistenceMode c : PersistenceMode.values()) System.out.println(c);
public static PersistenceMode 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 null