public class JDBCResourceParameters extends DBResourceParameters implements JDBCConnectionParameters
Modifier and Type | Field and Description |
---|---|
protected static String |
PARAMETERS_DEFINITION_NAME |
CATALOG_PARAMTER_NAME, JDBC_DRIVER_CLASS_PARAMTER_NAME, SCHEMA_PARAMTER_NAME, URL_PARAMTER_NAME
DBNAME_PARAMTER_NAME, HOST_PARAMTER_NAME, PASSWORD_PARAMTER_NAME, PORT_PARAMTER_NAME, USER_PARAMTER_NAME
Modifier | Constructor and Description |
---|---|
|
JDBCResourceParameters() |
protected |
JDBCResourceParameters(String parametersDefinitionName,
String providerName) |
|
JDBCResourceParameters(String url,
String host,
Integer port,
String dbName,
String user,
String password,
String jdbcDriverClassName) |
|
JDBCResourceParameters(String parametersDefinitionName,
String providerName,
String url,
String host,
Integer port,
String dbName,
String user,
String password,
String jdbcDriverClassName) |
Modifier and Type | Method and Description |
---|---|
String |
getCatalog()
Return
catalog parameter |
String |
getJDBCDriverClassName()
Return
JDBC driver class name parameter |
String |
getSchema()
Return
schema parameter |
String |
getUrl()
Return
JDBC connection URL parameter |
void |
setCatalog(String catalog) |
void |
setJDBCDriverClassName(String className) |
void |
setSchema(String schema) |
void |
setUrl(String url) |
getDBName, getDelegatedDynObject, getHost, getPassword, getPort, getTypeName, getUser, setDBName, setHost, setPassword, setPort, setPort, setUser
getResurceID
clear, copyValuesTo, delegate, getCopy, getDataStoreName, getDescription, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, loadFromState, saveToState, setDynValue, toString, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDBName, getHost, getPassword, getPort, getUser
clear, getCopy, validate
loadFromState, saveToState
delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValue
protected static final String PARAMETERS_DEFINITION_NAME
protected JDBCResourceParameters(String parametersDefinitionName, String providerName)
public JDBCResourceParameters()
public JDBCResourceParameters(String parametersDefinitionName, String providerName, String url, String host, Integer port, String dbName, String user, String password, String jdbcDriverClassName)
public void setJDBCDriverClassName(String className)
public String getJDBCDriverClassName()
JDBCConnectionParameters
JDBC driver class name
parametergetJDBCDriverClassName
in interface JDBCConnectionParameters
public String getCatalog()
JDBCConnectionParameters
catalog
parametergetCatalog
in interface JDBCConnectionParameters
public void setCatalog(String catalog)
public String getSchema()
JDBCConnectionParameters
schema
parametergetSchema
in interface JDBCConnectionParameters
public void setSchema(String schema)
public String getUrl()
JDBCConnectionParameters
JDBC connection URL
parametergetUrl
in interface JDBCConnectionParameters
public void setUrl(String url)