1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.kpme.tklm.leave.calendar.web;
17
18 import java.math.BigDecimal;
19 import java.util.List;
20 import java.util.Map;
21
22 import org.kuali.kpme.tklm.common.CalendarForm;
23 import org.kuali.kpme.tklm.leave.accrual.bucket.KPMEAccrualCategoryBucket;
24 import org.kuali.kpme.tklm.leave.calendar.LeaveCalendar;
25 import org.kuali.kpme.tklm.leave.calendar.LeaveCalendarDocument;
26 import org.kuali.kpme.tklm.leave.summary.LeaveSummary;
27 import org.kuali.kpme.tklm.leave.transfer.BalanceTransfer;
28
29 @SuppressWarnings("serial")
30 public class LeaveCalendarForm extends CalendarForm {
31
32 private LeaveCalendar leaveCalendar;
33 private LeaveCalendarDocument leaveCalendarDocument;
34
35 private String startDate;
36 private String endDate;
37 private String selectedEarnCode;
38 private BigDecimal leaveAmount;
39 private String description;
40 private String leaveBlockId;
41
42
43 private Map<String,String> assignmentDescriptions;
44 private String selectedAssignment;
45 private String spanningWeeks;
46 private String leaveBlockString;
47 private boolean isDocEditable;
48 private LeaveSummary leaveSummary;
49 private boolean leavePlanningCalendar;
50 private List<BalanceTransfer> forfeitures;
51 private String startTime;
52 private String endTime;
53 private KPMEAccrualCategoryBucket bucket;
54 private String approval;
55 private boolean isBlockSubmittable;
56
57
58 public boolean isBlockSubmittable() {
59 return isBlockSubmittable;
60 }
61
62 public void setBlockSubmittable(boolean isBlockSubmittable) {
63 this.isBlockSubmittable = isBlockSubmittable;
64 }
65
66 public String getApproval() {
67 return approval;
68 }
69
70 public void setApproval(String approval) {
71 this.approval = approval;
72 }
73
74 public boolean isDocEditable() {
75 return isDocEditable;
76 }
77
78 public void setDocEditable(boolean isDocEditable) {
79 this.isDocEditable = isDocEditable;
80 }
81
82 public boolean isLeavePlanningCalendar() {
83 return leavePlanningCalendar;
84 }
85
86 public void setLeavePlanningCalendar(boolean leavePlanningCalendar) {
87 this.leavePlanningCalendar = leavePlanningCalendar;
88 }
89
90 public String getLeaveBlockString() {
91 return leaveBlockString;
92 }
93
94 public void setLeaveBlockString(String leaveBlockString) {
95 this.leaveBlockString = leaveBlockString;
96 }
97
98 public String getSpanningWeeks() {
99 return spanningWeeks;
100 }
101
102 public void setSpanningWeeks(String spanningWeeks) {
103 this.spanningWeeks = spanningWeeks;
104 }
105
106 public String getSelectedAssignment() {
107 return selectedAssignment;
108 }
109
110 public void setSelectedAssignment(String selectedAssignment) {
111 this.selectedAssignment = selectedAssignment;
112 }
113
114 public Map<String, String> getAssignmentDescriptions() {
115 return assignmentDescriptions;
116 }
117
118 public void setAssignmentDescriptions(Map<String, String> assignmentDescriptions) {
119 this.assignmentDescriptions = assignmentDescriptions;
120 }
121
122 public LeaveCalendar getLeaveCalendar() {
123 return leaveCalendar;
124 }
125
126 public void setLeaveCalendar(LeaveCalendar leaveCalendar) {
127 this.leaveCalendar = leaveCalendar;
128 }
129
130 public LeaveCalendarDocument getLeaveCalendarDocument() {
131 return leaveCalendarDocument;
132 }
133
134 public void setLeaveCalendarDocument(LeaveCalendarDocument leaveCalendarDocument) {
135 this.leaveCalendarDocument = leaveCalendarDocument;
136 }
137
138 public String getStartDate() {
139 return startDate;
140 }
141
142 public void setStartDate(String startDate) {
143 this.startDate = startDate;
144 }
145
146 public String getEndDate() {
147 return endDate;
148 }
149
150 public void setEndDate(String endDate) {
151 this.endDate = endDate;
152 }
153
154 public BigDecimal getLeaveAmount() {
155 return leaveAmount;
156 }
157
158 public void setLeaveAmount(BigDecimal leaveAmount) {
159 this.leaveAmount = leaveAmount;
160 }
161
162 public String getDescription() {
163 return description;
164 }
165
166 public void setDescription(String description) {
167 this.description = description;
168 }
169
170 public String getLeaveBlockId() {
171 return leaveBlockId;
172 }
173
174 public void setLeaveBlockId(String leaveBlockId) {
175 this.leaveBlockId = leaveBlockId;
176 }
177
178 public String getSelectedEarnCode() {
179 return selectedEarnCode;
180 }
181
182 public void setSelectedEarnCode(String selectedEarnCode) {
183 this.selectedEarnCode = selectedEarnCode;
184 }
185
186 public LeaveSummary getLeaveSummary() {
187 return leaveSummary;
188 }
189
190 public void setLeaveSummary(LeaveSummary leaveSummary) {
191 this.leaveSummary = leaveSummary;
192 }
193
194 public List<BalanceTransfer> getForfeitures() {
195 return forfeitures;
196 }
197
198 public void setForfeitures(List<BalanceTransfer> forfeitures) {
199 this.forfeitures = forfeitures;
200 }
201
202 public String getStartTime() {
203 return startTime;
204 }
205
206 public void setStartTime(String startTime) {
207 this.startTime = startTime;
208 }
209
210 public String getEndTime() {
211 return endTime;
212 }
213
214 public void setEndTime(String endTime) {
215 this.endTime = endTime;
216 }
217
218 public void setBucket(KPMEAccrualCategoryBucket bucket) {
219 this.bucket = bucket;
220 }
221
222 public KPMEAccrualCategoryBucket getKPMEAccrualCategoryBucket() {
223 return bucket;
224 }
225
226 }