public enum PersistenceStrategy extends Enum<PersistenceStrategy>
| Modifier and Type | Method and Description |
|---|---|
static PersistenceStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceStrategy Ram
public static final PersistenceStrategy Local
public static final PersistenceStrategy Remote
public static final PersistenceStrategy File
public static final PersistenceStrategy Database
public static PersistenceStrategy[] values()
for (PersistenceStrategy c : PersistenceStrategy.values()) System.out.println(c);
public static PersistenceStrategy 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 nullCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.