public class DBResource
extends java.lang.Object
Constructor and Description |
---|
DBResource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDialect()
Used to get the SQL dialect class name used to talk to the database
|
java.lang.String |
getPassword()
Used to get the password of the user used to access the database
|
java.lang.String |
getResourceId()
Used to get the resource ID
|
SchemaCheck |
getSchemaCheck()
Used to get the schema check
|
java.lang.String |
getUrl()
Used to get the database connection URL
|
java.lang.String |
getUsername()
Used to get the user name of the user used to access the database
|
void |
setDialect(java.lang.String dialect)
Used to set the SQL dialect class name used to talk to the database
|
void |
setPassword(java.lang.String password)
Used to set the password of the user used to access the database
|
void |
setResourceId(java.lang.String resourceId)
Used to set the resource ID
|
void |
setSchemaCheck(SchemaCheck schemaCheck)
Used to set the schema check option
|
void |
setUrl(java.lang.String url)
Used to set the database connection URL
|
void |
setUsername(java.lang.String username)
Used to set the user name of the user used to access the database
|
public SchemaCheck getSchemaCheck()
public void setSchemaCheck(SchemaCheck schemaCheck)
schemaCheck
- the schema check optionpublic java.lang.String getResourceId()
public void setResourceId(java.lang.String resourceId)
resourceId
- The resource IDpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the database connection URLpublic java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the user name of the user used to access the databasepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the password of the user used to access the databasepublic java.lang.String getDialect()
public void setDialect(java.lang.String dialect)
dialect
- the SQL dialect class name used to talk to the database