1 20 package org.openi.project; 21 22 import java.io.Serializable ; 23 24 25 29 public class JdbcDatasource implements Serializable { 30 private String driverClassName = "net.sourceforge.jtds.jdbc.Driver"; 31 private String url; 32 private String username; 33 private String password; 34 35 38 public String getDriverClassName() { 39 return driverClassName; 40 } 41 42 45 public void setDriverClassName(String driverClassName) { 46 this.driverClassName = driverClassName; 47 } 48 49 52 public String getPassword() { 53 return password; 54 } 55 56 59 public void setPassword(String password) { 60 this.password = password; 61 } 62 63 66 public String getUrl() { 67 return url; 68 } 69 70 73 public void setUrl(String url) { 74 this.url = url; 75 } 76 77 80 public String getUsername() { 81 return username; 82 } 83 84 87 public void setUsername(String username) { 88 this.username = username; 89 } 90 } 91 | Popular Tags |