1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.time.graceperiod.rule;
17
18 import java.math.BigDecimal;
19
20 import org.kuali.hr.core.KPMEConstants;
21 import org.kuali.hr.time.HrBusinessObject;
22
23 public class GracePeriodRule extends HrBusinessObject {
24
25 private static final long serialVersionUID = 2756221187837436165L;
26
27 public static final String CACHE_NAME = KPMEConstants.APPLICATION_NAMESPACE_CODE + "/" + "GracePeriodRule";
28
29 private String tkGracePeriodRuleId;
30 private BigDecimal hourFactor;
31 private String userPrincipalId;
32 private String history;
33
34 public BigDecimal getHourFactor() {
35 return hourFactor;
36 }
37
38 public void setHourFactor(BigDecimal hourFactor) {
39 this.hourFactor = hourFactor;
40 }
41
42 public String getUserPrincipalId() {
43 return userPrincipalId;
44 }
45
46 public void setUserPrincipalId(String userPrincipalId) {
47 this.userPrincipalId = userPrincipalId;
48 }
49
50 public String getTkGracePeriodRuleId() {
51 return tkGracePeriodRuleId;
52 }
53
54 public void setTkGracePeriodRuleId(String tkGracePeriodRuleId) {
55 this.tkGracePeriodRuleId = tkGracePeriodRuleId;
56 }
57
58 @Override
59 public String getUniqueKey() {
60 return hourFactor + "";
61 }
62
63 @Override
64 public String getId() {
65 return getTkGracePeriodRuleId();
66 }
67
68 @Override
69 public void setId(String id) {
70 setTkGracePeriodRuleId(id);
71 }
72
73 public String getHistory() {
74 return history;
75 }
76
77 public void setHistory(String history) {
78 this.history = history;
79 }
80
81 }