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.leave.block.LeaveBlock;
23 import org.kuali.kpme.tklm.leave.block.LeaveBlockHistory;
24 import org.kuali.kpme.tklm.leave.workflow.LeaveRequestDocument;
25
26 public class LeaveRequestForm extends KPMEForm {
27
28 private int year;
29 private String navString;
30 private List<LeaveBlock> plannedLeaves;
31 private List<LeaveBlock> pendingLeaves;
32 private List<LeaveBlock> approvedLeaves;
33 private List<LeaveBlockHistory> disapprovedLeaves;
34 private Map<String, LeaveRequestDocument> documents;
35
36 public List<LeaveBlock> getPlannedLeaves() {
37 return plannedLeaves;
38 }
39
40 public void setPlannedLeaves(List<LeaveBlock> plannedLeaves) {
41 this.plannedLeaves = plannedLeaves;
42 }
43
44 public List<LeaveBlock> getPendingLeaves() {
45 return pendingLeaves;
46 }
47
48 public void setPendingLeaves(List<LeaveBlock> pendingLeaves) {
49 this.pendingLeaves = pendingLeaves;
50 }
51
52 public List<LeaveBlock> getApprovedLeaves() {
53 return approvedLeaves;
54 }
55
56 public void setApprovedLeaves(List<LeaveBlock> approvedLeaves) {
57 this.approvedLeaves = approvedLeaves;
58 }
59
60 public List<LeaveBlockHistory> getDisapprovedLeaves() {
61 return disapprovedLeaves;
62 }
63
64 public void setDisapprovedLeaves(List<LeaveBlockHistory> disapprovedLeaves) {
65 this.disapprovedLeaves = disapprovedLeaves;
66 }
67
68 public Map<String, LeaveRequestDocument> getDocuments() {
69 return documents;
70 }
71
72 public void setDocuments(Map<String, LeaveRequestDocument> documents) {
73 this.documents = documents;
74 }
75
76 public int getYear() {
77 return year;
78 }
79
80 public void setYear(int year) {
81 this.year = year;
82 }
83
84 public String getNavString() {
85 return navString;
86 }
87
88 public void setNavString(String navString) {
89 this.navString = navString;
90 }
91
92
93 }