1 16 17 package org.apache.webapp.admin.valve; 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 import java.net.InetAddress ; 25 import java.util.List ; 26 27 import org.apache.webapp.admin.ApplicationServlet; 28 import org.apache.webapp.admin.LabelValueBean; 29 30 36 37 public class ValveForm extends ActionForm { 38 39 41 44 private String adminAction = "Edit"; 45 46 49 private String objectName = null; 50 51 55 private String valveName = null; 56 57 60 private String valveType = null; 61 62 65 private String nodeLabel = null; 66 67 70 private String parentObjectName = null; 71 72 75 private List valveTypeVals = null; 76 77 79 82 public String getAdminAction() { 83 84 return this.adminAction; 85 86 } 87 88 91 public void setAdminAction(String adminAction) { 92 93 this.adminAction = adminAction; 94 95 } 96 97 100 public String getObjectName() { 101 102 return this.objectName; 103 104 } 105 106 109 public void setObjectName(String objectName) { 110 111 this.objectName = objectName; 112 113 } 114 115 118 public String getValveType() { 119 120 return this.valveType; 121 122 } 123 124 127 public void setValveType(String valveType) { 128 129 this.valveType = valveType; 130 131 } 132 133 136 public String getNodeLabel() { 137 138 return this.nodeLabel; 139 140 } 141 142 145 public void setNodeLabel(String nodeLabel) { 146 147 this.nodeLabel = nodeLabel; 148 149 } 150 151 154 public String getParentObjectName() { 155 156 return this.parentObjectName; 157 158 } 159 160 161 164 public void setParentObjectName(String parentObjectName) { 165 166 this.parentObjectName = parentObjectName; 167 168 } 169 170 171 174 public List getValveTypeVals() { 175 176 return this.valveTypeVals; 177 178 } 179 180 183 public void setValveTypeVals(List valveTypeVals) { 184 185 this.valveTypeVals = valveTypeVals; 186 187 } 188 189 191 197 public void reset(ActionMapping mapping, HttpServletRequest request) { 198 199 objectName = null; 200 201 } 202 203 } 204 | Popular Tags |