1 package com.cvicse.ks.mamis.system.form.madatamaintain;
2
3 import java.util.ArrayList;
4 import java.util.List;
5
6 import javax.servlet.http.HttpServletRequest;
7
8 import org.apache.struts.action.ActionMapping;
9
10 import com.cvicse.ks.mamis.common.orm.KpXmzd;
11 import com.cvicse.ks.mamis.system.boqo.madatamaintain.MsScheduBO;
12 import com.cvicse.ks.mamis.system.form.BaseForm;
13
14 public class MsScheduInfoForm extends BaseForm {
15 // 项目字典
16 private KpXmzd kpXmzd = null;
17
18 // 内部代号
19 private String inid;
20
21 // 里程碑进度
22 List msScheduInfoList = null;
23
24 private class MsScheduInfoList extends ArrayList {
25 public Object get(int index) {
26 while (index >= size()) {
27 add(new MsScheduBO());
28 }
29 return super.get(index);
30 }
31 }
32
33 public void reset(ActionMapping mapping, HttpServletRequest request) {
34 super.reset(mapping, request);
35 kpXmzd = new KpXmzd();
36 inid = "";
37 msScheduInfoList = new MsScheduInfoList();
38 }
39
40 public List getMsScheduInfoList() {
41 return msScheduInfoList;
42 }
43
44 public void setMsScheduInfoList(List msScheduInfoList) {
45 this.msScheduInfoList = msScheduInfoList;
46 }
47
48 public String getInid() {
49 return inid;
50 }
51
52 public void setInid(String inid) {
53 this.inid = inid;
54 }
55
56 public KpXmzd getKpXmzd() {
57 return kpXmzd;
58 }
59
60 public void setKpXmzd(KpXmzd kpXmzd) {
61 this.kpXmzd = kpXmzd;
62 }
63 }
64