de.fhkl.zw.mkup.rattrap.db
Class PoolConnection

java.lang.Object
  extended by de.fhkl.zw.mkup.rattrap.db.PoolConnection

public class PoolConnection
extends java.lang.Object

Author:
rob this class holds the database connection and the information if the connection is used or not

Constructor Summary
PoolConnection(java.sql.Connection conn)
           
 
Method Summary
 java.sql.Connection getConn()
           
 boolean isUsed()
           
 void setConn(java.sql.Connection conn)
           
 void setUsed(boolean isUsed)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolConnection

public PoolConnection(java.sql.Connection conn)
Method Detail

isUsed

public boolean isUsed()
Returns:
Returns the isUsed.

setUsed

public void setUsed(boolean isUsed)
Parameters:
isUsed - The isUsed to set.

getConn

public java.sql.Connection getConn()
Returns:
Returns the conn.

setConn

public void setConn(java.sql.Connection conn)
Parameters:
conn - The conn to set.