jxUtil 0.6

org.sourceforge.jxutil.dbtest.framework
Class Elements.DatabaseConn

java.lang.Object
  |
  +--org.sourceforge.jxutil.dbtest.framework.Elements.Element
        |
        +--org.sourceforge.jxutil.dbtest.framework.Elements.DatabaseConn
Enclosing class:
Elements

public static class Elements.DatabaseConn
extends Elements.Element


Field Summary
private  Connection conn
           
protected  String password
           
protected  Properties properties
           
protected  String propertyFile
           
protected  String url
           
protected  String username
           
 
Fields inherited from class org.sourceforge.jxutil.dbtest.framework.Elements.Element
name, parent
 
Constructor Summary
Elements.DatabaseConn()
           
 
Method Summary
 void closeConnection()
           
 Connection getConnection()
           
 String getPassword()
           
 String getPropertyFile()
           
 String getUrl()
           
 String getUsername()
           
 void openConnection()
           
 void setPassword(String s)
           
 void setPropertyFile(String s)
           
 void setUrl(String s)
           
 void setUsername(String s)
           
 
Methods inherited from class org.sourceforge.jxutil.dbtest.framework.Elements.Element
getName, getParent, setName, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

private Connection conn

password

protected String password

properties

protected Properties properties

propertyFile

protected String propertyFile

url

protected String url

username

protected String username
Constructor Detail

Elements.DatabaseConn

public Elements.DatabaseConn()
Method Detail

closeConnection

public void closeConnection()
                     throws SQLException
SQLException

getConnection

public Connection getConnection()

getPassword

public String getPassword()

getPropertyFile

public String getPropertyFile()

getUrl

public String getUrl()

getUsername

public String getUsername()

openConnection

public void openConnection()
                    throws IOException,
                           SQLException
IOException
SQLException

setPassword

public void setPassword(String s)

setPropertyFile

public void setPropertyFile(String s)

setUrl

public void setUrl(String s)

setUsername

public void setUsername(String s)

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.