1 20 package org.openi.analysis; 21 22 import java.io.*; 23 24 25 31 public class Datasource implements Serializable { 32 private String server; private String xmlaDatasource; 34 private String catalog; 35 private String username; 36 private String password; 37 38 public Datasource() { 39 } 40 41 46 public Datasource(String server, String catalog) { 47 this.server = server; 48 this.catalog = catalog; 49 } 50 51 54 public String getCatalog() { 55 return catalog; 56 } 57 58 61 public void setCatalog(String catalog) { 62 this.catalog = catalog; 63 } 64 65 68 public String getServer() { 69 return server; 70 } 71 72 75 public void setServer(String server) { 76 this.server = server; 77 } 78 79 82 public String getPassword() { 83 return password; 84 } 85 86 89 public void setPassword(String password) { 90 this.password = password; 91 } 92 93 96 public String getUsername() { 97 return username; 98 } 99 100 104 public String getXmlaDatasource() { 105 return xmlaDatasource; 106 } 107 108 111 public void setUsername(String username) { 112 this.username = username; 113 } 114 115 119 public void setXmlaDatasource(String xmlaDatasource) { 120 this.xmlaDatasource = xmlaDatasource; 121 } 122 } 123 | Popular Tags |