1 25 26 package org.objectweb.jonas.webapp.jonasadmin.logging; 27 28 import javax.servlet.http.HttpServletRequest ; 29 30 import org.apache.struts.action.ActionForm; 31 import org.apache.struts.action.ActionMapping; 32 33 37 38 public class CatalinaValveForm extends ActionForm { 39 40 42 45 private String action = "edit"; 46 49 private boolean save = false; 50 53 private String objectName = null; 54 57 private String valveName = null; 58 61 private String valveType = null; 62 65 private String containerType = null; 66 69 private String [] containerTypes = null; 70 73 private String containerName = null; 74 77 private String [] containerNames = null; 78 82 private String containerObjectName = null; 83 84 86 public void reset(ActionMapping mapping, HttpServletRequest request) { 87 action = "edit"; 88 save = false; 89 } 90 91 93 public String getAction() { 94 return action; 95 } 96 97 public void setAction(String action) { 98 this.action = action; 99 } 100 101 public String getObjectName() { 102 return this.objectName; 103 } 104 105 public void setObjectName(String objectName) { 106 this.objectName = objectName; 107 } 108 109 public String getValveType() { 110 return this.valveType; 111 } 112 113 public void setValveType(String valveType) { 114 this.valveType = valveType; 115 } 116 117 public boolean isSave() { 118 return save; 119 } 120 121 public void setSave(boolean save) { 122 this.save = save; 123 } 124 125 128 public String getContainerType() { 129 return containerType; 130 } 131 132 135 public void setContainerType(String containerType) { 136 this.containerType = containerType; 137 } 138 139 142 public String getContainerName() { 143 return containerName; 144 } 145 146 149 public void setContainerName(String containerName) { 150 this.containerName = containerName; 151 } 152 153 156 public String [] getContainerTypes() { 157 return containerTypes; 158 } 159 160 161 164 public void setContainerTypes(String [] containerTypes) { 165 this.containerTypes = containerTypes; 166 } 167 168 171 public String [] getContainerNames() { 172 return containerNames; 173 } 174 175 176 179 public void setContainerNames(String [] containerNames) { 180 this.containerNames = containerNames; 181 } 182 183 186 public String getContainerObjectName() { 187 return containerObjectName; 188 } 189 190 191 194 public void setContainerObjectName(String containerObjectName) { 195 this.containerObjectName = containerObjectName; 196 } 197 198 199 } 200 | Popular Tags |