| java.lang.Object org.netbeans.modules.visualweb.gravy.dataconnectivity.DataSource
DataSource | public class DataSource (Code) | | This class implements an object DataSource, which is used for storing
of various parameters of a datasource.
|
Constructor Summary | |
public | DataSource(String p_dbHost, String p_dbName, String p_user, String p_password, String p_port) Creates an instance of this class. | public | DataSource(String p_dbType, String p_dbHost, String p_dbName, String p_user, String p_password, String p_port) Creates an instance of this class. | public | DataSource(String p_dbType, String p_dbHost, String p_dbName, String p_user, String p_password, String p_port, String p_validationTable) Creates an instance of this class. | public | DataSource(DataSource p_ds) Creates an instance of this class. |
DataSource | public DataSource(String p_dbHost, String p_dbName, String p_user, String p_password, String p_port)(Code) | | Creates an instance of this class.
Parameters: p_dbHost - string with a database host Parameters: p_dbName - string with a database name Parameters: p_user - string with an user name Parameters: p_password - string with an user password Parameters: p_port - string with a database port |
DataSource | public DataSource(String p_dbType, String p_dbHost, String p_dbName, String p_user, String p_password, String p_port)(Code) | | Creates an instance of this class.
Parameters: p_dbType - string with a database type Parameters: p_dbHost - string with a database host Parameters: p_dbName - string with a database name Parameters: p_user - string with an user name Parameters: p_password - string with an user password Parameters: p_port - string with a database port |
DataSource | public DataSource(String p_dbType, String p_dbHost, String p_dbName, String p_user, String p_password, String p_port, String p_validationTable)(Code) | | Creates an instance of this class.
Parameters: p_dbType - string with a database type Parameters: p_dbHost - string with a database host Parameters: p_dbName - string with a database name Parameters: p_user - string with an user name Parameters: p_password - string with an user password Parameters: p_port - string with a database port Parameters: p_validationTable - |
DataSource | public DataSource(DataSource p_ds)(Code) | | Creates an instance of this class.
Parameters: p_ds - an another DataSource object (a prototype of new datasource) |
getDbHost | public String getDbHost()(Code) | | Returns a database host.
string with a database host. |
getDbName | public String getDbName()(Code) | | Returns a database name.
string with a database name. |
getDbType | public String getDbType()(Code) | | Returns a type of database.
string with a type of database. |
getDbUrl | public String getDbUrl()(Code) | | Returns a database URL.
string with a database URL. |
getHostName | public String getHostName()(Code) | | Returns a host name.
string with a host name. |
getPassword | public String getPassword()(Code) | | Returns a password.
string with a password. |
getPort | public String getPort()(Code) | | Returns a database port number.
string with a port number. |
getUser | public String getUser()(Code) | | Returns an user name.
string with an user name. |
getValidationTable | public String getValidationTable()(Code) | | Returns a database host.
string with a database host. |
setDbHost | public void setDbHost(String dbHost)(Code) | | Changes a database host for a datasource.
Parameters: dbHost - string with a database host |
setDbName | public void setDbName(String dbName)(Code) | | Changes a database name for a datasource.
Parameters: dbName - string with a database name |
setDbType | public void setDbType(String dbType)(Code) | | Changes a database type for a datasource.
Parameters: dbType - string with a database type |
setDbUrl | public void setDbUrl(String dbUrl)(Code) | | Changes a database URL for a datasource.
Parameters: dbUrl - string with a database URL |
setHostName | public void setHostName(String hostName)(Code) | | Changes a host name for a datasource.
Parameters: hostName - string with a host name |
setPassword | public void setPassword(String password)(Code) | | Changes a password for a datasource.
Parameters: password - an user password |
setPort | public void setPort(String port)(Code) | | Changes a database port number for a datasource.
Parameters: port - a database port number |
setUser | public void setUser(String user)(Code) | | Changes an user name for a datasource.
Parameters: user - an user name |
setValidationTable | public void setValidationTable(String validationTable)(Code) | | |
|
|