1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.lm.request.approval.web;
17
18 public class LeaveRequestApprovalRow implements Comparable<LeaveRequestApprovalRow> {
19
20 private String leaveRequestDocId;
21 private String requestedDate;
22 private String requestedHours;
23 private String description;
24 private String leaveCode;
25 private String submittedTime;
26
27 @Override
28 public int compareTo(LeaveRequestApprovalRow row) {
29 return requestedDate.compareToIgnoreCase(row.getRequestedDate());
30 }
31
32 public String getRequestedDate() {
33 return requestedDate;
34 }
35
36 public void setRequestedDate(String requestedDate) {
37 this.requestedDate = requestedDate;
38 }
39
40 public String getDescription() {
41 return description;
42 }
43
44 public void setDescription(String description) {
45 this.description = description;
46 }
47
48 public String getLeaveCode() {
49 return leaveCode;
50 }
51
52 public void setLeaveCode(String leaveCode) {
53 this.leaveCode = leaveCode;
54 }
55
56 public String getSubmittedTime() {
57 return submittedTime;
58 }
59
60 public void setSubmittedTime(String submittedTime) {
61 this.submittedTime = submittedTime;
62 }
63
64 public String getLeaveRequestDocId() {
65 return leaveRequestDocId;
66 }
67
68 public void setLeaveRequestDocId(String leaveRequestDocId) {
69 this.leaveRequestDocId = leaveRequestDocId;
70 }
71
72 public String getRequestedHours() {
73 return requestedHours;
74 }
75
76 public void setRequestedHours(String requestedHours) {
77 this.requestedHours = requestedHours;
78 }
79
80 }