1 package hero.struts.forms; 2 3 import javax.servlet.http.HttpServletRequest ; 4 import org.apache.struts.action.ActionForm; 5 import org.apache.struts.action.ActionMapping; 6 7 8 20 21 public final class UserPreferencesForm extends ActionForm { 22 23 24 26 27 30 private boolean startMail = false; 31 32 35 private boolean startJabber = false; 36 37 40 private boolean terminateMail = false; 41 42 45 private boolean terminateJabber = false; 46 47 50 private boolean addNodeMail = false; 51 52 55 private boolean addNodeJabber = false; 56 57 60 private boolean addEdgeMail = false; 61 62 65 private boolean addEdgeJabber = false; 66 67 70 private boolean nodeStateMail = false; 71 72 75 private boolean nodeStateJabber = false; 76 77 80 private boolean nodeDeadlineMail = false; 81 82 85 private boolean nodeDeadlineJabber = false; 86 87 88 90 91 94 public boolean getStartMail() { 95 96 return (this.startMail); 97 98 } 99 100 104 public void setStartMail(boolean startMail) { 105 106 this.startMail = startMail; 107 108 } 109 110 113 public boolean getStartJabber() { 114 115 return (this.startJabber); 116 117 } 118 119 123 public void setStartJabber(boolean startJabber) { 124 125 this.startJabber = startJabber; 126 127 } 128 129 132 public boolean getTerminateMail() { 133 134 return (this.terminateMail); 135 136 } 137 138 142 public void setTerminateMail(boolean TerminateMail) { 143 144 this.terminateMail = TerminateMail; 145 146 } 147 148 149 152 public boolean getTerminateJabber() { 153 154 return (this.terminateJabber); 155 156 } 157 158 162 public void setTerminateJabber(boolean TerminateJabber) { 163 164 this.terminateJabber = TerminateJabber; 165 166 } 167 168 169 172 public boolean getAddNodeMail() { 173 174 return (this.addNodeMail); 175 176 } 177 178 182 public void setAddNodeMail(boolean addNodeMail) { 183 184 this.addNodeMail = addNodeMail; 185 186 } 187 188 191 public boolean getAddNodeJabber() { 192 193 return (this.addNodeJabber); 194 195 } 196 197 201 public void setAddNodeJabber(boolean addNodeJabber) { 202 203 this.addNodeJabber = addNodeJabber; 204 205 } 206 207 208 211 public boolean getAddEdgeMail() { 212 213 return (this.addEdgeMail); 214 215 } 216 217 221 public void setAddEdgeMail(boolean addEdgeMail) { 222 223 this.addEdgeMail = addEdgeMail; 224 225 } 226 227 230 public boolean getAddEdgeJabber() { 231 232 return (this.addEdgeJabber); 233 234 } 235 236 240 public void setAddEdgeJabber(boolean addEdgeJabber) { 241 242 this.addEdgeJabber = addEdgeJabber; 243 244 } 245 246 249 public boolean getNodeStateMail() { 250 251 return (this.nodeStateMail); 252 253 } 254 255 259 public void setNodeStateMail(boolean nodeStateMail) { 260 261 this.nodeStateMail = nodeStateMail; 262 263 } 264 265 268 public boolean getNodeStateJabber() { 269 270 return (this.nodeStateJabber); 271 272 } 273 274 278 public void setNodeStateJabber(boolean nodeStateJabber) { 279 280 this.nodeStateJabber = nodeStateJabber; 281 282 } 283 284 287 public boolean getNodeDeadlineMail() { 288 289 return (this.nodeDeadlineMail); 290 291 } 292 293 297 public void setNodeDeadlineMail(boolean nodeDeadlineMail) { 298 299 this.nodeDeadlineMail = nodeDeadlineMail; 300 301 } 302 303 306 public boolean getNodeDeadlineJabber() { 307 308 return (this.nodeDeadlineJabber); 309 310 } 311 312 316 public void setNodeDeadlineJabber(boolean nodeDeadlineJabber) { 317 318 this.nodeDeadlineJabber = nodeDeadlineJabber; 319 320 } 321 322 323 325 326 332 public void reset(ActionMapping mapping, HttpServletRequest request) { 333 334 this.startMail = false; 335 this.startJabber = false; 336 this.terminateMail = false; 337 this.terminateJabber = false; 338 this.addNodeMail = false; 339 this.addNodeJabber = false; 340 this.addEdgeMail = false; 341 this.addEdgeJabber = false; 342 this.nodeStateMail = false; 343 this.nodeStateJabber = false; 344 this.nodeDeadlineMail = false; 345 this.nodeDeadlineJabber = false; 346 } 347 348 } 349 | Popular Tags |