|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 DBConfig
public final Boolean getDefaultAutoCommit()
public final String getDrvClassName()
DBConfig
getDrvClassName
in interface DBConfig
public final File getDrvLibPath()
DBConfig
getDrvLibPath
in interface DBConfig
public final String getDrvUrl()
DBConfig
getDrvUrl
in interface DBConfig
public final String getDsDB()
DBConfig
getDsDB
in interface DBConfig
public final String getDsHost()
DBConfig
getDsHost
in interface DBConfig
public final String getDsPassword()
DBConfig
getDsPassword
in interface DBConfig
public final String getDsSchema()
DBConfig
getDsSchema
in interface DBConfig
public final String getDsUser()
DBConfig
getDsUser
in interface DBConfig
public Map<String,Boolean> getSupportedDBDrivers()
getSupportedDBDrivers
in interface DBConfig
getSupportedDBDrivers
in class AbstractConfigBase
public final void setDbType(String dbType)
DBConfig
setDbType
in interface DBConfig
dbType
- - the type of the data storagepublic final void setDefaultAutoCommit(Boolean defaultAutoCommit)
public final void setDrvClassName(String drvClassName)
DBConfig
setDrvClassName
in interface DBConfig
drvClassName
- - the classname of the driverpublic final void setDrvLibPath(File drvPath)
public final void setDrvUrl(String drvUrl)
DBConfig
setDrvUrl
in interface DBConfig
drvUrl
- - url used to access the data storagepublic final void setDsDB(String dsDB)
DBConfig
setDsDB
in interface DBConfig
dsDB
- - name of the data storagepublic final void setDsHost(String dsHost)
DBConfig
setDsHost
in interface DBConfig
dsHost
- - hostname of data storage serverpublic final void setDsPassword(String dsPassword)
DBConfig
setDsPassword
in interface DBConfig
dsPassword
- - password for data storagepublic final void setDsSchema(String dsSchema)
DBConfig
setDsSchema
in interface DBConfig
dsSchema
- - the default schema namepublic final void setDsUser(String dsUser)
DBConfig
setDsUser
in interface DBConfig
dsUser
- - user for data storage
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |