1 | |
package org.kuali.db; |
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
public class JDBCConfiguration { |
7 | 0 | public static final JDBCConfiguration UNKNOWN_CONFIG = new JDBCConfiguration(DatabaseType.UNKNOWN); |
8 | |
|
9 | |
public JDBCConfiguration() { |
10 | 0 | this(null); |
11 | 0 | } |
12 | |
|
13 | |
public JDBCConfiguration(DatabaseType type) { |
14 | 0 | super(); |
15 | 0 | this.type = type; |
16 | 0 | } |
17 | |
|
18 | |
DatabaseType type; |
19 | |
String urlFragment; |
20 | |
String driver; |
21 | |
public DatabaseType getType() { |
22 | 0 | return type; |
23 | |
} |
24 | |
|
25 | |
public void setType(DatabaseType type) { |
26 | 0 | this.type = type; |
27 | 0 | } |
28 | |
|
29 | |
public String getUrlFragment() { |
30 | 0 | return urlFragment; |
31 | |
} |
32 | |
|
33 | |
public void setUrlFragment(String urlFragment) { |
34 | 0 | this.urlFragment = urlFragment; |
35 | 0 | } |
36 | |
|
37 | |
public String getDriver() { |
38 | 0 | return driver; |
39 | |
} |
40 | |
|
41 | |
public void setDriver(String driver) { |
42 | 0 | this.driver = driver; |
43 | 0 | } |
44 | |
} |