1 24 25 package org.objectweb.cjdbc.console.wizard.objects; 26 27 import java.util.Hashtable ; 28 29 import javax.swing.JComponent ; 30 31 import org.objectweb.cjdbc.common.i18n.WizardTranslate; 32 33 39 public class Backend extends JComponent 40 { 41 String name = WizardTranslate.get("label.backend.undefined"); 42 String driver; 43 String driverPath; 44 String url; 45 String connectionTestStatement; 46 String dynamicPrecision; 47 String gatherSystemTables = "false"; 48 Hashtable connectionManagers = new Hashtable (); 49 50 55 public void setConnectionManagers(Hashtable connectionManagers) 56 { 57 this.connectionManagers = connectionManagers; 58 } 59 60 65 public Hashtable getConnectionManagers() 66 { 67 return connectionManagers; 68 } 69 70 75 public String getDynamicPrecision() 76 { 77 return dynamicPrecision; 78 } 79 80 85 public void setDynamicPrecision(String dynamicPrecision) 86 { 87 this.dynamicPrecision = dynamicPrecision; 88 } 89 90 95 public String getGatherSystemTables() 96 { 97 return gatherSystemTables; 98 } 99 100 105 public void setGatherSystemTables(String gatherSystemTables) 106 { 107 this.gatherSystemTables = gatherSystemTables; 108 } 109 110 115 public String getConnectionTestStatement() 116 { 117 return connectionTestStatement; 118 } 119 120 125 public void setConnectionTestStatement(String connectionTestStatement) 126 { 127 this.connectionTestStatement = connectionTestStatement; 128 } 129 130 135 public String getDriver() 136 { 137 return driver; 138 } 139 140 145 public void setDriver(String driver) 146 { 147 this.driver = driver; 148 } 149 150 155 public String getDriverPath() 156 { 157 return driverPath; 158 } 159 160 165 public void setDriverPath(String driverPath) 166 { 167 this.driverPath = driverPath; 168 } 169 170 175 public String getName() 176 { 177 return name; 178 } 179 180 185 public void setName(String name) 186 { 187 this.name = name; 188 } 189 190 195 public String getUrl() 196 { 197 return url; 198 } 199 200 205 public void setUrl(String url) 206 { 207 this.url = url; 208 } 209 210 213 public String toString() 214 { 215 return name; 216 } 217 } | Popular Tags |