1 19 package org.netbeans.modules.j2ee.websphere6.ui; 20 21 28 public class Instance { 29 33 private String name; 34 35 38 private String host; 39 40 43 private String port; 44 45 48 private String domainPath; 49 50 53 private String configXmlPath; 54 55 private String adminPort; 56 57 private String httpPort; 58 59 private String defaultHostPort; 60 69 public Instance(String name, String host, String port, 70 String domainPath, String configXmlPath, String adminPort,String httpPort,String defaultHostPort) { 71 this.name = name; 73 this.host = host; 74 this.port = port; 75 this.domainPath = domainPath; 76 this.configXmlPath = configXmlPath; 77 this.adminPort = adminPort; 78 this.httpPort=httpPort; 79 this.defaultHostPort=defaultHostPort; 80 } 81 82 87 public String getName() { 88 return this.name; 89 } 90 91 96 public void setName(String name) { 97 this.name = name; 98 } 99 100 105 public String getHost() { 106 return this.host; 107 } 108 109 114 public void setHost(String host) { 115 this.host = host; 116 } 117 118 123 public String getPort() { 124 return this.port; 125 } 126 127 132 public void setPort(String port) { 133 this.port = port; 134 } 135 136 141 public String getDomainPath() { 142 return this.domainPath; 143 } 144 145 150 public void setDomainPath(String domainPath) { 151 this.domainPath = domainPath; 152 } 153 154 159 public String getConfigXmlPath() { 160 return this.configXmlPath; 161 } 162 163 168 public void setConfigXmlPath(String configXmlPath) { 169 this.configXmlPath = configXmlPath; 170 } 171 176 public String getAdminPort() { 177 return adminPort; 178 } 179 184 public void setAdminPort(String adminPort) { 185 this.adminPort = adminPort; 186 } 187 188 193 public String getDefaultHostPort() { 194 return defaultHostPort; 195 } 196 201 public void setDefaultHostPort(String defaultHostPort) { 202 this.defaultHostPort = defaultHostPort; 203 } 204 205 206 207 public String getHttpPort() { 208 return httpPort; 209 } 210 211 public void setHttpPort(String adminPort) { 212 this.httpPort = httpPort; 213 } 214 218 public String toString() { 219 return name + " [" + host + ":" + port + "]"; } 221 } 222 223 | Popular Tags |