KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > cjdbc > console > wizard > objects > ConnectionInfo


1 /**
2  * C-JDBC: Clustered JDBC.
3  * Copyright (C) 2002-2004 French National Institute For Research In Computer
4  * Science And Control (INRIA).
5  * Contact: c-jdbc@objectweb.org
6  *
7  * This library is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by the
9  * Free Software Foundation; either version 2.1 of the License, or any later
10  * version.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; if not, write to the Free Software Foundation,
19  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
20  *
21  * Initial developer(s): Nicolas Modrzyk.
22  * Contributor(s): ______________________.
23  */

24
25 package org.objectweb.cjdbc.console.wizard.objects;
26
27 /**
28  * This class defines a ConnectionInfo. It includes all the information needed
29  * for a connection on a backend.
30  *
31  * @see <code>ConnectionTypeInfo</code>
32  * @author <a HREF="mailto:Nicolas.Modrzyk@inria.fr">Nicolas Modrzyk </a>
33  * @version 1.0
34  */

35 public class ConnectionInfo
36 {
37   String JavaDoc rLogin = "";
38   String JavaDoc rPassword = "";
39   String JavaDoc urlParameters = "";
40   ConnectionTypeInfo connectionTypeInfo = new ConnectionTypeInfo();
41
42   /**
43    * Returns the connectionTypeInfo value.
44    *
45    * @return Returns the connectionTypeInfo.
46    */

47   public ConnectionTypeInfo getConnectionTypeInfo()
48   {
49     return connectionTypeInfo;
50   }
51
52   /**
53    * Sets the connectionTypeInfo value.
54    *
55    * @param connectionTypeInfo The connectionTypeInfo to set.
56    */

57   public void setConnectionTypeInfo(ConnectionTypeInfo connectionTypeInfo)
58   {
59     this.connectionTypeInfo = connectionTypeInfo;
60   }
61
62   /**
63    * Returns the rLogin value.
64    *
65    * @return Returns the rLogin.
66    */

67   public String JavaDoc getRLogin()
68   {
69     return rLogin;
70   }
71
72   /**
73    * Sets the rLogin value.
74    *
75    * @param login The rLogin to set.
76    */

77   public void setRLogin(String JavaDoc login)
78   {
79     rLogin = login;
80   }
81
82   /**
83    * Returns the rPassword value.
84    *
85    * @return Returns the rPassword.
86    */

87   public String JavaDoc getRPassword()
88   {
89     return rPassword;
90   }
91
92   /**
93    * Sets the rPassword value.
94    *
95    * @param password The rPassword to set.
96    */

97   public void setRPassword(String JavaDoc password)
98   {
99     rPassword = password;
100   }
101
102   /**
103    * Returns the urlParameters value.
104    *
105    * @return Returns the urlParameters.
106    */

107   public String JavaDoc getUrlParameters()
108   {
109     return urlParameters;
110   }
111
112   /**
113    * Sets the urlParameters value.
114    *
115    * @param urlParameters The urlParameters to set.
116    */

117   public void setUrlParameters(String JavaDoc urlParameters)
118   {
119     this.urlParameters = urlParameters;
120   }
121 }
Popular Tags