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 ResourceLinksForm extends BaseForm { 35 36 37 39 40 42 43 46 private String resourceLinks[] = null; 47 48 public String [] getResourceLinks() { 49 return (this.resourceLinks); 50 } 51 52 public void setResourceLinks(String resourceLinks[]) { 53 this.resourceLinks = resourceLinks; 54 } 55 56 57 60 private String resourcetype = null; 61 62 65 public String getResourcetype() { 66 return this.resourcetype; 67 } 68 69 72 public void setResourcetype(String resourcetype) { 73 this.resourcetype = resourcetype; 74 } 75 76 79 private String path = null; 80 81 84 public String getPath() { 85 return this.path; 86 } 87 88 91 public void setPath(String path) { 92 this.path = path; 93 } 94 95 98 private String host = null; 99 100 103 public String getHost() { 104 return this.host; 105 } 106 107 110 public void setHost(String host) { 111 this.host = host; 112 } 113 114 115 118 private String domain = null; 119 120 123 public String getDomain() { 124 return this.domain; 125 } 126 127 130 public void setDomain(String domain) { 131 this.domain = domain; 132 } 133 134 136 137 143 public void reset(ActionMapping mapping, HttpServletRequest request) { 144 145 super.reset(mapping, request); 146 this.resourceLinks = null; 147 148 } 149 150 151 } 152 | Popular Tags |