|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDatabaseSetting
Holds database configuration properties. Database level configurations will be retrieved from server by using getProperty(String propName) and are named after "P_"; Launch level configurations will be retrieved from an eclipse launch configuration by using getLaunchConfigProperty(LaunchConfiguration lc, String propName) and are named after "C_";Connection level configurations will be retrieved from an eclipse preference store by using getConnectionConfigProperty( String propName) and are named after "C_".
| Nested Class Summary | |
|---|---|
static class |
IDatabaseSetting.NotSupportedSettingException
|
| Field Summary | |
|---|---|
static java.lang.String |
C_CHAINED_MODE
|
static java.lang.String |
C_QUOTED_IDENTIFIER
Whether double string is regarded as quoted identifier in connection level |
static java.lang.String |
P_CASE_SENSITIVE
Whether the database is configured as case sensitive( boolean value ) |
| Method Summary | |
|---|---|
java.lang.Object |
getConnectionConfigProperty(java.lang.String propName)
Return connection level configuration value |
java.lang.Object |
getLaunchConfigProperty(ILaunchConfiguration lc,
java.lang.String propName)
Return launch level configuration value, using getConnectionConfigProperty(String propName) as default |
java.lang.Object |
getProperty(java.lang.String propName)
Retrieves the database level configuration value |
| Field Detail |
|---|
static final java.lang.String P_CASE_SENSITIVE
static final java.lang.String C_QUOTED_IDENTIFIER
static final java.lang.String C_CHAINED_MODE
| Method Detail |
|---|
java.lang.Object getProperty(java.lang.String propName)
throws IDatabaseSetting.NotSupportedSettingException
propName - the property name
IDatabaseSetting.NotSupportedSettingException
java.lang.Object getLaunchConfigProperty(ILaunchConfiguration lc,
java.lang.String propName)
throws IDatabaseSetting.NotSupportedSettingException
lc - the launch configuration used to get propertiespropName - the property name
IDatabaseSetting.NotSupportedSettingException
java.lang.Object getConnectionConfigProperty(java.lang.String propName)
throws IDatabaseSetting.NotSupportedSettingException
propName - the property name
IDatabaseSetting.NotSupportedSettingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||