01: /*
02: * Copyright 2007 Madhav Pulipaka
03: *
04: * This file is part of Vela.
05:
06: * Vela is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * Vela is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with Vela; if not, write to the Free Software
18: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19: */
20: package vela.model;
21:
22: import java.io.Serializable;
23:
24: public class ConnectionProperties implements Serializable {
25:
26: private String userName;
27: private String password;
28: private String port;
29: private String sid;
30: private String host;
31: private String dbName;
32:
33: public String getDbName() {
34: return dbName;
35: }
36:
37: public void setDbName(String dbName) {
38: this .dbName = dbName;
39: }
40:
41: public String getHost() {
42: return host;
43: }
44:
45: public void setHost(String host) {
46: this .host = host;
47: }
48:
49: public String getPassword() {
50: return password;
51: }
52:
53: public void setPassword(String password) {
54: this .password = password;
55: }
56:
57: public String getPort() {
58: return port;
59: }
60:
61: public void setPort(String port) {
62: this .port = port;
63: }
64:
65: public String getSid() {
66: return sid;
67: }
68:
69: public void setSid(String sid) {
70: this .sid = sid;
71: }
72:
73: public String getUserName() {
74: return userName;
75: }
76:
77: public void setUserName(String userName) {
78: this.userName = userName;
79: }
80:
81: }
|