01: package com.technoetic.xplanner.forms;
02:
03: import javax.servlet.ServletRequest;
04: import javax.servlet.http.HttpServletRequest;
05:
06: import org.apache.struts.action.ActionForm;
07: import org.apache.struts.action.ActionMapping;
08:
09: /**
10: * User: Mateusz Prokopowicz
11: * Date: Jan 10, 2005
12: * Time: 3:05:49 PM
13: */
14: public class IterationStatusEditorForm extends ActionForm {
15: private String operation;
16: private String oid;
17: public static final String SAVE_TIME_ATTR = "saveTime";
18: private boolean closeIterations;
19: private boolean iterationStartConfirmed;
20:
21: public String getOperation() {
22: return operation;
23: }
24:
25: public void setOperation(String operation) {
26: this .operation = operation;
27: }
28:
29: public String getOid() {
30: return oid;
31: }
32:
33: public void setOid(String oid) {
34: this .oid = oid;
35: }
36:
37: public boolean isCloseIterations() {
38: return closeIterations;
39: }
40:
41: public void setCloseIterations(boolean closeIterations) {
42: this .closeIterations = closeIterations;
43: }
44:
45: public boolean isIterationStartConfirmed() {
46: return iterationStartConfirmed;
47: }
48:
49: public void setIterationStartConfirmed(
50: boolean iterationStartConfirmed) {
51: this .iterationStartConfirmed = iterationStartConfirmed;
52: }
53:
54: public void reset(ActionMapping mapping, ServletRequest request) {
55: super .reset(mapping, request);
56: this .closeIterations = false;
57: this .iterationStartConfirmed = false;
58: }
59: }
|