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