pt.moredata.netbeans.modules.moredatatemplates.wizard
Class DatabaseDriver

java.lang.Object
  extended bypt.moredata.netbeans.modules.moredatatemplates.wizard.DatabaseDriver

public class DatabaseDriver
extends java.lang.Object

Representation of a database driver. Used to hold the information that identifies the JDBC driver.

Author:
Sérgio Ferreira

Constructor Summary
DatabaseDriver(java.lang.String driverName, java.lang.String dbUrl, java.lang.String s2)
          Constructor for the DatabaseDriver object
 
Method Summary
 java.lang.String getDatabasePrefix()
          Gets the databasePrefix attribute of the DatabaseDriver object
 java.lang.String getName()
          Gets the name attribute of the DatabaseDriver object
 java.lang.String getURL()
          Gets the uRL attribute of the DatabaseDriver object
 void setDatabasePrefix(java.lang.String s)
          Sets the databasePrefix attribute of the DatabaseDriver object
 void setName(java.lang.String driverName)
          Sets the name attribute of the DatabaseDriver object
 void setURL(java.lang.String dbUrl)
          Sets the uRL attribute of the DatabaseDriver object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseDriver

public DatabaseDriver(java.lang.String driverName,
                      java.lang.String dbUrl,
                      java.lang.String s2)
Constructor for the DatabaseDriver object

Parameters:
dbUrl - The database URL
s2 - Description of the Parameter
Method Detail

getName

public java.lang.String getName()
Gets the name attribute of the DatabaseDriver object

Returns:
The name value

setName

public void setName(java.lang.String driverName)
Sets the name attribute of the DatabaseDriver object

Parameters:
driverName - The name of the driver

getURL

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

Returns:
The uRL value

setURL

public void setURL(java.lang.String dbUrl)
Sets the uRL attribute of the DatabaseDriver object


getDatabasePrefix

public java.lang.String getDatabasePrefix()
Gets the databasePrefix attribute of the DatabaseDriver object

Returns:
The databasePrefix value

setDatabasePrefix

public void setDatabasePrefix(java.lang.String s)
Sets the databasePrefix attribute of the DatabaseDriver object

Parameters:
s - The new databasePrefix value