1 16 17 package org.apache.webapp.admin.resources; 18 19 import javax.servlet.http.HttpServletRequest ; 20 import org.apache.struts.action.ActionError; 21 import org.apache.struts.action.ActionErrors; 22 import org.apache.struts.action.ActionForm; 23 import org.apache.struts.action.ActionMapping; 24 25 26 33 34 public final class DataSourcesForm extends BaseForm { 35 36 37 39 40 42 43 46 private String dataSources[] = null; 47 48 public String [] getDataSources() { 49 return (this.dataSources); 50 } 51 52 public void setDataSources(String dataSources[]) { 53 this.dataSources = dataSources; 54 } 55 56 59 private String resourcetype = null; 60 61 64 public String getResourcetype() { 65 return this.resourcetype; 66 } 67 68 71 public void setResourcetype(String resourcetype) { 72 this.resourcetype = resourcetype; 73 } 74 75 78 private String path = null; 79 80 83 public String getPath() { 84 return this.path; 85 } 86 87 90 public void setPath(String path) { 91 this.path = path; 92 } 93 94 97 private String host = null; 98 99 102 public String getHost() { 103 return this.host; 104 } 105 106 109 public void setHost(String host) { 110 this.host = host; 111 } 112 113 114 117 private String domain = null; 118 119 122 public String getDomain() { 123 return this.domain; 124 } 125 126 129 public void setDomain(String domain) { 130 this.domain = domain; 131 } 132 133 135 136 142 public void reset(ActionMapping mapping, HttpServletRequest request) { 143 144 super.reset(mapping, request); 145 this.dataSources = null; 146 147 } 148 149 150 } 151 | Popular Tags |