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
33 public BigDecimal getHourFactor() {
34 return hourFactor;
35 }
36
37 public void setHourFactor(BigDecimal hourFactor) {
38 this.hourFactor = hourFactor;
39 }
40
41 public String getUserPrincipalId() {
42 return userPrincipalId;
43 }
44
45 public void setUserPrincipalId(String userPrincipalId) {
46 this.userPrincipalId = userPrincipalId;
47 }
48
49 public String getTkGracePeriodRuleId() {
50 return tkGracePeriodRuleId;
51 }
52
53 public void setTkGracePeriodRuleId(String tkGracePeriodRuleId) {
54 this.tkGracePeriodRuleId = tkGracePeriodRuleId;
55 }
56
57 @Override
58 public String getUniqueKey() {
59 return hourFactor + "";
60 }
61
62 @Override
63 public String getId() {
64 return getTkGracePeriodRuleId();
65 }
66
67 @Override
68 public void setId(String id) {
69 setTkGracePeriodRuleId(id);
70 }
71
72 }