public class DBConfigUtils extends ConfigUtilsBase
Constructor and Description |
---|
DBConfigUtils()
Initializes a new instance of the
|
DBConfigUtils(boolean initDB)
Constructs a DBConfigUtils instance which does not use DbFacade.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
GetValue(ConfigValues name,
String version) |
protected Object |
GetValue(DataType type,
String name,
String defaultValue) |
protected void |
SetValue(String name,
String value,
String version)
Sets a vdcoption value.
|
getBoolValue, getDateTimeValue, getIntValue, getMapValue, getPathValue, getTimeSpanValue, getVersionValue, ParseEnumValue, SetStringValue, ValidateParse
public DBConfigUtils()
public DBConfigUtils(boolean initDB)
initDB
- Whether to use DbFacadeprotected void SetValue(String name, String value, String version)
SetValue
in class ConfigUtilsBase
name
- The name.value
- The value.protected Object GetValue(DataType type, String name, String defaultValue)
GetValue
in class ConfigUtilsBase
public <T> T GetValue(ConfigValues name, String version)
GetValue
in interface IConfigUtilsInterface
GetValue
in class ConfigUtilsBase
Copyright © 2012. All Rights Reserved.