| 
 | SRJRCFrames v0.1.296 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.binding.beans.Model
de.schwarzrot.data.support.AbstractEntity
de.schwarzrot.app.config.support.AbstractConfigBase
de.schwarzrot.app.config.DSConfig
public class DSConfig
holds information about a data source used by DataSourceManager
| Constructor Summary | |
|---|---|
| DSConfig() | |
| Method Summary | |
|---|---|
|  String | getDbType()returns the type of a data storage. | 
|  Boolean | getDefaultAutoCommit() | 
|  String | getDrvClassName()returns the classname of the JDBC driver | 
|  File | getDrvLibPath()returns the path of the jar-file that contains a jdbc-driver | 
|  String | getDrvUrl()returns the url used by the JDBC driver to access a data storage | 
|  String | getDsDB()returns the name of a data storage | 
|  String | getDsHost()returns the hostname of the data storage server | 
|  String | getDsPassword()returns the password used to access a data storage | 
|  String | getDsSchema()SRJRCFrames supports database schema usage even on databases, that don't support schemata. | 
|  String | getDsUser()returns the username used to access a data storage | 
|  Map<String,Boolean> | getSupportedDBDrivers() | 
|  void | setDbType(String dbType)sets the type of the database (currently only mysql supported) | 
|  void | setDefaultAutoCommit(Boolean defaultAutoCommit) | 
|  void | setDrvClassName(String drvClassName)sets the classname of the JDBC-driver | 
|  void | setDrvLibPath(File drvPath) | 
|  void | setDrvUrl(String drvUrl)sets the url to access the data storage | 
|  void | setDsDB(String dsDB)sets the name of the data storage, i.e. the name of a database | 
|  void | setDsHost(String dsHost)sets the hostname of the server, that hosts the data storage | 
|  void | setDsPassword(String dsPassword)sets the password used to access the data storage | 
|  void | setDsSchema(String dsSchema)sets the default schema used by applications. | 
|  void | setDsUser(String dsUser)sets the user used to access the data storage | 
| Methods inherited from class de.schwarzrot.app.config.support.AbstractConfigBase | 
|---|
| getPersistenceName, getSystemClass, isUserType | 
| Methods inherited from class de.schwarzrot.data.support.AbstractEntity | 
|---|
| adoptChildren, adoptChildren, adoptGroupedChildren, compareTo, equals, getCModified, getCode, getDefaultOrder, getDtCreated, getDtModified, getId, getLogger, getMappings, getSchemaName, getSkipList, getUCreated, getUModified, getUniqColumnNames, getUserAttributes, getVariantColumnName, getVariantTypeMap, hashCode, isDirty, isVirtual, setCModified, setDirty, setDtCreated, setDtModified, setId, setSchemaName, setUCreated, setUModified, toString, validate | 
| Methods inherited from class com.jgoodies.binding.beans.Model | 
|---|
| addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface com.jgoodies.binding.beans.Observable | 
|---|
| addPropertyChangeListener, removePropertyChangeListener | 
| Constructor Detail | 
|---|
public DSConfig()
| Method Detail | 
|---|
public final String getDbType()
DBConfig
getDbType in interface DBConfigpublic final Boolean getDefaultAutoCommit()
public final String getDrvClassName()
DBConfig
getDrvClassName in interface DBConfigpublic final File getDrvLibPath()
DBConfig
getDrvLibPath in interface DBConfigpublic final String getDrvUrl()
DBConfig
getDrvUrl in interface DBConfigpublic final String getDsDB()
DBConfig
getDsDB in interface DBConfigpublic final String getDsHost()
DBConfig
getDsHost in interface DBConfigpublic final String getDsPassword()
DBConfig
getDsPassword in interface DBConfigpublic final String getDsSchema()
DBConfig
getDsSchema in interface DBConfigpublic final String getDsUser()
DBConfig
getDsUser in interface DBConfigpublic Map<String,Boolean> getSupportedDBDrivers()
getSupportedDBDrivers in interface DBConfiggetSupportedDBDrivers in class AbstractConfigBasepublic final void setDbType(String dbType)
DBConfig
setDbType in interface DBConfigdbType - - the type of the data storagepublic final void setDefaultAutoCommit(Boolean defaultAutoCommit)
public final void setDrvClassName(String drvClassName)
DBConfig
setDrvClassName in interface DBConfigdrvClassName - - the classname of the driverpublic final void setDrvLibPath(File drvPath)
public final void setDrvUrl(String drvUrl)
DBConfig
setDrvUrl in interface DBConfigdrvUrl - - url used to access the data storagepublic final void setDsDB(String dsDB)
DBConfig
setDsDB in interface DBConfigdsDB - - name of the data storagepublic final void setDsHost(String dsHost)
DBConfig
setDsHost in interface DBConfigdsHost - - hostname of data storage serverpublic final void setDsPassword(String dsPassword)
DBConfig
setDsPassword in interface DBConfigdsPassword - - password for data storagepublic final void setDsSchema(String dsSchema)
DBConfig
setDsSchema in interface DBConfigdsSchema - - the default schema namepublic final void setDsUser(String dsUser)
DBConfig
setDsUser in interface DBConfigdsUser - - user for data storage| 
 | SRJRCFrames v0.1.296 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||