it.eng.qbe.datasource
Class DBConnection

java.lang.Object
  extended by it.eng.qbe.datasource.DBConnection

public class DBConnection
extends java.lang.Object

The Class DBConnection.

Author:
Andrea Gioia

Constructor Summary
DBConnection()
           
 
Method Summary
 java.lang.String getDialect()
          Gets the dialect.
 java.lang.String getDriverClass()
          Gets the driver class.
 java.lang.String getJndiName()
          Gets the jndi name.
 java.lang.String getName()
          Gets the name.
 java.lang.String getPassword()
          Gets the password.
 java.lang.String getUrl()
          Gets the url.
 java.lang.String getUsername()
          Gets the username.
 boolean isJndiConncetion()
          Checks if is jndi conncetion.
 void setDialect(java.lang.String dialect)
          Sets the dialect.
 void setDriverClass(java.lang.String driverClass)
          Sets the driver class.
 void setJndiName(java.lang.String jndiName)
          Sets the jndi name.
 void setName(java.lang.String name)
          Sets the name.
 void setPassword(java.lang.String password)
          Sets the password.
 void setUrl(java.lang.String url)
          Sets the url.
 void setUsername(java.lang.String username)
          Sets the username.
 
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

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getJndiName

public java.lang.String getJndiName()
Gets the jndi name.

Returns:
the jndi name

setJndiName

public void setJndiName(java.lang.String jndiName)
Sets the jndi name.

Parameters:
jndiName - the new jndi name

getUrl

public java.lang.String getUrl()
Gets the url.

Returns:
the url

setUrl

public void setUrl(java.lang.String url)
Sets the url.

Parameters:
url - the new url

getPassword

public java.lang.String getPassword()
Gets the password.

Returns:
the password

setPassword

public void setPassword(java.lang.String password)
Sets the password.

Parameters:
password - the new password

getDriverClass

public java.lang.String getDriverClass()
Gets the driver class.

Returns:
the driver class

setDriverClass

public void setDriverClass(java.lang.String driverClass)
Sets the driver class.

Parameters:
driverClass - the new driver class

getUsername

public java.lang.String getUsername()
Gets the username.

Returns:
the username

setUsername

public void setUsername(java.lang.String username)
Sets the username.

Parameters:
username - the new username

getDialect

public java.lang.String getDialect()
Gets the dialect.

Returns:
the dialect

setDialect

public void setDialect(java.lang.String dialect)
Sets the dialect.

Parameters:
dialect - the new dialect

isJndiConncetion

public boolean isJndiConncetion()
Checks if is jndi conncetion.

Returns:
true, if is jndi conncetion