public enum SQLConfigKey extends Enum<SQLConfigKey> implements PropertyDef
PropertyDef.Type| 枚举常量和说明 |
|---|
DATASOURCE_CLASS |
DATASOURCE_PROPERTIES_PREFIX |
DATASOURCE_TYPE |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
PropertyDef.Type |
getType() |
Object |
getValue() |
static SQLConfigKey |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SQLConfigKey[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SQLConfigKey DATASOURCE_TYPE
public static final SQLConfigKey DATASOURCE_CLASS
public static final SQLConfigKey DATASOURCE_PROPERTIES_PREFIX
public static SQLConfigKey[] values()
for (SQLConfigKey c : SQLConfigKey.values()) System.out.println(c);
public static SQLConfigKey valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getName()
getName 在接口中 PropertyDefpublic Object getValue()
getValue 在接口中 PropertyDefpublic PropertyDef.Type getType()
getType 在接口中 PropertyDefCopyright © 2020 Joyqueue Community. All rights reserved.