info.joseluismartin.gui.form
Class DbConnection
java.lang.Object
info.joseluismartin.gui.form.DbConnection
public class DbConnection
- extends Object
- Author:
- Jose Luis Martin - (jlm@joseluismartin.info)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbConnection
public DbConnection()
test
public boolean test()
getDatabase
public Database getDatabase()
- Returns:
- the database
setDatabase
public void setDatabase(Database database)
- Parameters:
database - the database to set
getHost
public String getHost()
- Returns:
- the host
setHost
public void setHost(String host)
- Parameters:
host - the host to set
getPort
public int getPort()
- Returns:
- the port
setPort
public void setPort(int port)
- Parameters:
port - the port to set
getDbName
public String getDbName()
- Returns:
- the name
setDbName
public void setDbName(String dbName)
- Parameters:
dbName - the database name to set
getUser
public String getUser()
- Returns:
- the user
setUser
public void setUser(String user)
- Parameters:
user - the user to set
Copyright © 2012 JDAL. All Rights Reserved.