1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.tklm.leave.request.web;
17
18 import java.util.List;
19 import java.util.Map;
20
21 import org.kuali.kpme.core.web.KPMEForm;
22 import org.kuali.kpme.tklm.api.leave.block.LeaveBlock;
23 import org.kuali.kpme.tklm.leave.block.LeaveBlockBo;
24 import org.kuali.kpme.tklm.leave.block.LeaveBlockHistory;
25 import org.kuali.kpme.tklm.leave.workflow.LeaveRequestDocument;
26
27 public class LeaveRequestForm extends KPMEForm {
28
29 private int year;
30 private String navString;
31 private List<LeaveBlock> plannedLeaves;
32 private List<LeaveBlock> pendingLeaves;
33 private List<LeaveBlock> approvedLeaves;
34 private List<LeaveBlockHistory> disapprovedLeaves;
35 private Map<String, LeaveRequestDocument> documents;
36
37 public List<LeaveBlock> getPlannedLeaves() {
38 return plannedLeaves;
39 }
40
41 public void setPlannedLeaves(List<LeaveBlock> plannedLeaves) {
42 this.plannedLeaves = plannedLeaves;
43 }
44
45 public List<LeaveBlock> getPendingLeaves() {
46 return pendingLeaves;
47 }
48
49 public void setPendingLeaves(List<LeaveBlock> pendingLeaves) {
50 this.pendingLeaves = pendingLeaves;
51 }
52
53 public List<LeaveBlock> getApprovedLeaves() {
54 return approvedLeaves;
55 }
56
57 public void setApprovedLeaves(List<LeaveBlock> approvedLeaves) {
58 this.approvedLeaves = approvedLeaves;
59 }
60
61 public List<LeaveBlockHistory> getDisapprovedLeaves() {
62 return disapprovedLeaves;
63 }
64
65 public void setDisapprovedLeaves(List<LeaveBlockHistory> disapprovedLeaves) {
66 this.disapprovedLeaves = disapprovedLeaves;
67 }
68
69 public Map<String, LeaveRequestDocument> getDocuments() {
70 return documents;
71 }
72
73 public void setDocuments(Map<String, LeaveRequestDocument> documents) {
74 this.documents = documents;
75 }
76
77 public int getYear() {
78 return year;
79 }
80
81 public void setYear(int year) {
82 this.year = year;
83 }
84
85 public String getNavString() {
86 return navString;
87 }
88
89 public void setNavString(String navString) {
90 this.navString = navString;
91 }
92
93
94 }