net.jot.db
Class JOTDBJDBCSetup

java.lang.Object
  extended by net.jot.db.JOTDBJDBCSetup

public class JOTDBJDBCSetup
extends java.lang.Object

Object representation of a JDBC database setup options such as url, name ,password etc...

Author:
tcolar

Constructor Summary
JOTDBJDBCSetup()
           
 
Method Summary
 java.lang.String getDriver()
          Gets the driver attribute of the DbSetup object
 java.lang.String getEncoding()
          Gets the encoding attribute of the DBSetup object
 int getMaxConnections()
          Gets the maxConnections attribute of the DbSetup object
 java.lang.String getPassword()
          Gets the Password attribute of the DbSetup object
 java.lang.Class getUpgraderClass()
           
 java.lang.String getURL()
          Gets the uRL attribute of the DbSetup object
 java.lang.String getUser()
          Gets the user attribute of the DbSetup object
 boolean getUseUnicode()
          Gets the useUnicode attribute of the DBSetup object
 void setDriver(java.lang.String driver)
          Sets the driver attribute of the DbSetup object
 void setEncoding(java.lang.String s)
          Sets the encoding attribute of the DBSetup object
 void setMaxConnections(int max)
          Sets the maxConnections attribute of the DbSetup object
 void setPassword(java.lang.String password)
          Sets the dbName attribute of the DbSetup object
 void setUnicode(boolean b)
          Sets the unicode attribute of the DBSetup object
 void setUpgraderClass(java.lang.String updaterClass)
           
 void setURL(java.lang.String url)
          Sets the uRL attribute of the DbSetup object
 void setUser(java.lang.String user)
          Sets the user attribute of the DbSetup object
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JOTDBJDBCSetup

public JOTDBJDBCSetup()
Method Detail

setUser

public void setUser(java.lang.String user)
Sets the user attribute of the DbSetup object

Parameters:
user - The new user value

setURL

public void setURL(java.lang.String url)
Sets the uRL attribute of the DbSetup object

Parameters:
url - The new uRL value

setUnicode

public void setUnicode(boolean b)
Sets the unicode attribute of the DBSetup object

Parameters:
b - The new unicode value

setEncoding

public void setEncoding(java.lang.String s)
Sets the encoding attribute of the DBSetup object

Parameters:
s - The new encoding value

setPassword

public void setPassword(java.lang.String password)
Sets the dbName attribute of the DbSetup object

Parameters:
name - The new dbName value

setDriver

public void setDriver(java.lang.String driver)
Sets the driver attribute of the DbSetup object

Parameters:
driver - The new driver value

setMaxConnections

public void setMaxConnections(int max)
Sets the maxConnections attribute of the DbSetup object

Parameters:
max - The new maxConnections value

getUser

public java.lang.String getUser()
Gets the user attribute of the DbSetup object

Returns:
The user value

getURL

public java.lang.String getURL()
Gets the uRL attribute of the DbSetup object

Returns:
The uRL value

getPassword

public java.lang.String getPassword()
Gets the Password attribute of the DbSetup object

Returns:
The Password value

getDriver

public java.lang.String getDriver()
Gets the driver attribute of the DbSetup object

Returns:
The driver value

getMaxConnections

public int getMaxConnections()
Gets the maxConnections attribute of the DbSetup object

Returns:
The maxConnections value

getUseUnicode

public boolean getUseUnicode()
Gets the useUnicode attribute of the DBSetup object

Returns:
The useUnicode value

getUpgraderClass

public java.lang.Class getUpgraderClass()

setUpgraderClass

public void setUpgraderClass(java.lang.String updaterClass)

getEncoding

public java.lang.String getEncoding()
Gets the encoding attribute of the DBSetup object

Returns:
The encoding value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object