info.joseluismartin.gui.form
Class DbConnection

java.lang.Object
  extended by info.joseluismartin.gui.form.DbConnection

public class DbConnection
extends Object

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Constructor Summary
DbConnection()
           
 
Method Summary
 Database getDatabase()
           
 String getDbName()
           
 String getHost()
           
 int getPort()
           
 String getUser()
           
 void setDatabase(Database database)
           
 void setDbName(String dbName)
           
 void setHost(String host)
           
 void setPort(int port)
           
 void setUser(String user)
           
 boolean test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbConnection

public DbConnection()
Method Detail

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.