00001 /** 00002 * C-JDBC: Clustered JDBC. 00003 * Copyright (C) 2002-2004 French National Institute For Research In Computer 00004 * Science And Control (INRIA). 00005 * Contact: c-jdbc@objectweb.org 00006 * 00007 * This library is free software; you can redistribute it and/or modify it 00008 * under the terms of the GNU Lesser General Public License as published by the 00009 * Free Software Foundation; either version 2.1 of the License, or any later 00010 * version. 00011 * 00012 * This library is distributed in the hope that it will be useful, but WITHOUT 00013 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 00015 * for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public License 00018 * along with this library; if not, write to the Free Software Foundation, 00019 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00020 * 00021 * Initial developer(s): Nicolas Modrzyk. 00022 * Contributor(s): ______________________. 00023 */ 00024 00025 package org.objectweb.cjdbc.console.wizard.objects; 00026 00027 /** 00028 * This class defines a ConnectionInfo. It includes all the information needed 00029 * for a connection on a backend. 00030 * 00031 * @see <code>ConnectionTypeInfo</code> 00032 * @author <a href="mailto:Nicolas.Modrzyk@inria.fr">Nicolas Modrzyk </a> 00033 * @version 1.0 00034 */ 00035 public class ConnectionInfo 00036 { 00037 String rLogin = ""; 00038 String rPassword = ""; 00039 String urlParameters = ""; 00040 ConnectionTypeInfo connectionTypeInfo = new ConnectionTypeInfo(); 00041 00042 /** 00043 * Returns the connectionTypeInfo value. 00044 * 00045 * @return Returns the connectionTypeInfo. 00046 */ 00047 public ConnectionTypeInfo getConnectionTypeInfo() 00048 { 00049 return connectionTypeInfo; 00050 } 00051 00052 /** 00053 * Sets the connectionTypeInfo value. 00054 * 00055 * @param connectionTypeInfo The connectionTypeInfo to set. 00056 */ 00057 public void setConnectionTypeInfo(ConnectionTypeInfo connectionTypeInfo) 00058 { 00059 this.connectionTypeInfo = connectionTypeInfo; 00060 } 00061 00062 /** 00063 * Returns the rLogin value. 00064 * 00065 * @return Returns the rLogin. 00066 */ 00067 public String getRLogin() 00068 { 00069 return rLogin; 00070 } 00071 00072 /** 00073 * Sets the rLogin value. 00074 * 00075 * @param login The rLogin to set. 00076 */ 00077 public void setRLogin(String login) 00078 { 00079 rLogin = login; 00080 } 00081 00082 /** 00083 * Returns the rPassword value. 00084 * 00085 * @return Returns the rPassword. 00086 */ 00087 public String getRPassword() 00088 { 00089 return rPassword; 00090 } 00091 00092 /** 00093 * Sets the rPassword value. 00094 * 00095 * @param password The rPassword to set. 00096 */ 00097 public void setRPassword(String password) 00098 { 00099 rPassword = password; 00100 } 00101 00102 /** 00103 * Returns the urlParameters value. 00104 * 00105 * @return Returns the urlParameters. 00106 */ 00107 public String getUrlParameters() 00108 { 00109 return urlParameters; 00110 } 00111 00112 /** 00113 * Sets the urlParameters value. 00114 * 00115 * @param urlParameters The urlParameters to set. 00116 */ 00117 public void setUrlParameters(String urlParameters) 00118 { 00119 this.urlParameters = urlParameters; 00120 } 00121 }