public enum StoreTypes extends Enum<StoreTypes> implements StoreType
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static StoreTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoreTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoreTypes MEMORY
public static final StoreTypes SQL
public static StoreTypes[] values()
for (StoreTypes c : StoreTypes.values()) System.out.println(c);
public static StoreTypes 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 getName()
getName in interface TypeDescriptorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.