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 import java.io.Serializable;
19
20 public class LeaveRequestApprovalRow implements Comparable<LeaveRequestApprovalRow>, Serializable {
21
22 private String leaveRequestDocId;
23 private String requestedDate;
24 private String requestedHours;
25 private String description;
26 private String leaveCode;
27 private String submittedTime;
28
29 @Override
30 public int compareTo(LeaveRequestApprovalRow row) {
31 return requestedDate.compareToIgnoreCase(row.getRequestedDate());
32 }
33
34 public String getRequestedDate() {
35 return requestedDate;
36 }
37
38 public void setRequestedDate(String requestedDate) {
39 this.requestedDate = requestedDate;
40 }
41
42 public String getDescription() {
43 return description;
44 }
45
46 public void setDescription(String description) {
47 this.description = description;
48 }
49
50 public String getLeaveCode() {
51 return leaveCode;
52 }
53
54 public void setLeaveCode(String leaveCode) {
55 this.leaveCode = leaveCode;
56 }
57
58 public String getSubmittedTime() {
59 return submittedTime;
60 }
61
62 public void setSubmittedTime(String submittedTime) {
63 this.submittedTime = submittedTime;
64 }
65
66 public String getLeaveRequestDocId() {
67 return leaveRequestDocId;
68 }
69
70 public void setLeaveRequestDocId(String leaveRequestDocId) {
71 this.leaveRequestDocId = leaveRequestDocId;
72 }
73
74 public String getRequestedHours() {
75 return requestedHours;
76 }
77
78 public void setRequestedHours(String requestedHours) {
79 this.requestedHours = requestedHours;
80 }
81
82 }