public enum EnumDbConnectionPoolCatalog extends Enum<EnumDbConnectionPoolCatalog>
| Modifier and Type | Field and Description |
|---|---|
private static Map<String,EnumDbConnectionPoolCatalog> |
map |
private String |
value |
| Modifier and Type | Method and Description |
|---|---|
static EnumDbConnectionPoolCatalog |
getEnum(String value) |
String |
getValue() |
void |
setValue(String value) |
static EnumDbConnectionPoolCatalog |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumDbConnectionPoolCatalog[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumDbConnectionPoolCatalog ENV
public static final EnumDbConnectionPoolCatalog APP
private static final Map<String,EnumDbConnectionPoolCatalog> map
private String value
public static EnumDbConnectionPoolCatalog[] values()
for (EnumDbConnectionPoolCatalog c : EnumDbConnectionPoolCatalog.values()) System.out.println(c);
public static EnumDbConnectionPoolCatalog 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 getValue()
public void setValue(String value)
public static EnumDbConnectionPoolCatalog getEnum(String value)
Copyright © 2015. All rights reserved.