org.kuali.db.jdbc
Class JDBCConfiguration

java.lang.Object
  extended by org.kuali.db.jdbc.JDBCConfiguration

public class JDBCConfiguration
extends Object

A pojo containing JDBC related configuration information. eg JDBC drivers, url fragments and type


Field Summary
(package private)  DbaSql dbaSql
           
(package private)  String driver
           
(package private)  DatabaseType type
           
static JDBCConfiguration UNKNOWN_CONFIG
           
(package private)  String urlFragment
           
 
Constructor Summary
JDBCConfiguration()
           
JDBCConfiguration(DatabaseType type)
           
 
Method Summary
 DbaSql getDbaSql()
           
 String getDriver()
           
 DatabaseType getType()
           
 String getUrlFragment()
           
 void setDbaSql(DbaSql resetSql)
           
 void setDriver(String driver)
           
 void setType(DatabaseType type)
           
 void setUrlFragment(String urlFragment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN_CONFIG

public static final JDBCConfiguration UNKNOWN_CONFIG

type

DatabaseType type

urlFragment

String urlFragment

driver

String driver

dbaSql

DbaSql dbaSql
Constructor Detail

JDBCConfiguration

public JDBCConfiguration()

JDBCConfiguration

public JDBCConfiguration(DatabaseType type)
Method Detail

getType

public DatabaseType getType()

setType

public void setType(DatabaseType type)

getUrlFragment

public String getUrlFragment()

setUrlFragment

public void setUrlFragment(String urlFragment)

getDriver

public String getDriver()

setDriver

public void setDriver(String driver)

getDbaSql

public DbaSql getDbaSql()
Returns:
the resetSql

setDbaSql

public void setDbaSql(DbaSql resetSql)
Parameters:
resetSql - the resetSql to set


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.