public class DatabaseConfigVO extends Object
DBConnection interface.
This class cannot be used to alter configuration; it is just used to export and can be used for display purposes
| Constructor and Description |
|---|
DatabaseConfigVO() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatabaseDriver()
Get the name of the DBMS driver, which should indicate what DBMS is in use.
|
String |
getDatabaseUrl()
Get the JDBC URL which identifies the DBMS instance and database.
|
int |
getMaxConnections()
Get the maximum number of concurrent DBMS connections that will be opened (if possible).
|
String |
getSchema()
Get the name of the database schema.
|
String |
getUserName()
Get the name of the database role used to authenticate connections to the DBMS.
|
void |
setDatabaseDriver(String databaseDriver)
DO NOT USE unless you are writing an implementation of DBConnection.
|
void |
setDatabaseUrl(String databaseUrl)
DO NOT USE unless you are writing a DBConnection implementation.
|
void |
setMaxConnections(int maxConnections)
DO NOT USE unless you are writing an implementation of DBConnection.
|
void |
setSchema(String schema)
DO NOT USE unless you are writing an implementation of DBConnection.
|
void |
setUserName(String userName)
DO NOT USE unless you are writing an implementation of DBConnection.
|
public String getDatabaseUrl()
public void setDatabaseUrl(String databaseUrl)
databaseUrl - JDBC URL being used by the DBConnection for creating connections.public String getDatabaseDriver()
public void setDatabaseDriver(String databaseDriver)
databaseDriver - the driver's name.public String getUserName()
public void setUserName(String userName)
userName - the configured DBMS username.public String getSchema()
public void setSchema(String schema)
schema - name of the database schema, from configuration.public int getMaxConnections()
public void setMaxConnections(int maxConnections)
maxConnections - configured maximum number of concurrent DBMS connections.Copyright © 2022 LYRASIS. All rights reserved.