Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/backend/Credentials.java @ 3471:e4250c6e1538 2.8.1
merged flys-backend/2.8.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:40 +0200 |
parents | 76c75c8b9ee0 |
children | fb9dcc68b9c2 |
comparison
equal
deleted
inserted
replaced
3468:f37e7e8907cb | 3471:e4250c6e1538 |
---|---|
1 package de.intevation.flys.backend; | |
2 | |
3 public abstract class Credentials | |
4 { | |
5 protected String user; | |
6 protected String password; | |
7 protected String dialect; | |
8 protected String driver; | |
9 protected String url; | |
10 protected Class [] classes; | |
11 | |
12 public Credentials() { | |
13 } | |
14 | |
15 public Credentials( | |
16 String user, | |
17 String password, | |
18 String dialect, | |
19 String driver, | |
20 String url, | |
21 Class [] classes | |
22 ) { | |
23 this.user = user; | |
24 this.password = password; | |
25 this.dialect = dialect; | |
26 this.driver = driver; | |
27 this.url = url; | |
28 this.classes = classes; | |
29 } | |
30 | |
31 public String getUser() { | |
32 return user; | |
33 } | |
34 | |
35 public void setUser(String user) { | |
36 this.user = user; | |
37 } | |
38 | |
39 public String getPassword() { | |
40 return password; | |
41 } | |
42 | |
43 public void setPassword(String password) { | |
44 this.password = password; | |
45 } | |
46 | |
47 public String getDialect() { | |
48 return dialect; | |
49 } | |
50 | |
51 public void setDialect(String dialect) { | |
52 this.dialect = dialect; | |
53 } | |
54 | |
55 public String getDriver() { | |
56 return driver; | |
57 } | |
58 | |
59 public void setDriver(String driver) { | |
60 this.driver = driver; | |
61 } | |
62 | |
63 public String getUrl() { | |
64 return url; | |
65 } | |
66 | |
67 public void setUrl(String url) { | |
68 this.url = url; | |
69 } | |
70 | |
71 public Class [] getClasses() { | |
72 return classes; | |
73 } | |
74 | |
75 public void setClasses(Class [] classes) { | |
76 this.classes = classes; | |
77 } | |
78 } | |
79 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |