1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.hr.lm.accrual;
17
18 import java.math.BigDecimal;
19
20 import org.kuali.hr.time.HrBusinessObject;
21 import org.kuali.hr.time.earncode.EarnCode;
22
23
24 public class AccrualCategoryRule extends HrBusinessObject {
25
26
27
28
29 private static final long serialVersionUID = 1L;
30 private String lmAccrualCategoryRuleId;
31
32 private String serviceUnitOfTime;
33 private Long start;
34 private Long end;
35 private BigDecimal accrualRate;
36 private BigDecimal maxBalance;
37 private String maxBalFlag;
38 private String maxBalanceActionFrequency;
39 private String actionAtMaxBalance;
40 private String maxBalanceTransferToAccrualCategory;
41 private BigDecimal maxBalanceTransferConversionFactor;
42 private Long maxTransferAmount;
43 private Long maxPayoutAmount;
44 private String maxPayoutEarnCode;
45 private Long maxUsage;
46 private Long maxCarryOver;
47 private String lmAccrualCategoryId;
48
49 private EarnCode earnCodeObj;
50
51 public EarnCode getEarnCodeObj() {
52 return earnCodeObj;
53 }
54
55 public void setEarnCodeObj(EarnCode earnCodeObj) {
56 this.earnCodeObj = earnCodeObj;
57 }
58
59 private AccrualCategory accrualCategoryObj;
60
61 public AccrualCategory getAccrualCategoryObj() {
62 return accrualCategoryObj;
63 }
64
65 public void setAccrualCategoryObj(AccrualCategory accrualCategoryObj) {
66 this.accrualCategoryObj = accrualCategoryObj;
67 }
68
69 public String getLmAccrualCategoryRuleId() {
70 return lmAccrualCategoryRuleId;
71 }
72
73 public void setLmAccrualCategoryRuleId(String lmAccrualCategoryRuleId) {
74 this.lmAccrualCategoryRuleId = lmAccrualCategoryRuleId;
75 }
76
77 public String getServiceUnitOfTime() {
78 return serviceUnitOfTime;
79 }
80
81 public void setServiceUnitOfTime(String serviceUnitOfTime) {
82 this.serviceUnitOfTime = serviceUnitOfTime;
83 }
84
85 public Long getStart() {
86 return start;
87 }
88
89 public void setStart(Long start) {
90 this.start = start;
91 }
92
93 public Long getEnd() {
94 return end;
95 }
96
97 public void setEnd(Long end) {
98 this.end = end;
99 }
100
101 public BigDecimal getAccrualRate() {
102 return accrualRate;
103 }
104
105 public void setAccrualRate(BigDecimal accrualRate) {
106 this.accrualRate = accrualRate;
107 }
108
109 public BigDecimal getMaxBalance() {
110 return maxBalance;
111 }
112
113 public void setMaxBalance(BigDecimal maxBalance) {
114 this.maxBalance = maxBalance;
115 }
116
117 public String getMaxBalFlag() {
118 return maxBalFlag;
119 }
120
121 public void setMaxBalFlag(String maxBalFlag) {
122 this.maxBalFlag = maxBalFlag;
123 }
124
125 public String getMaxBalanceActionFrequency() {
126 return maxBalanceActionFrequency;
127 }
128
129 public void setMaxBalanceActionFrequency(String maxBalanceActionFrequency) {
130 this.maxBalanceActionFrequency = maxBalanceActionFrequency;
131 }
132
133 public String getActionAtMaxBalance() {
134 return actionAtMaxBalance;
135 }
136
137 public void setActionAtMaxBalance(String actionAtMaxBalance) {
138 this.actionAtMaxBalance = actionAtMaxBalance;
139 }
140
141 public String getMaxBalanceTransferToAccrualCategory() {
142 return maxBalanceTransferToAccrualCategory;
143 }
144
145 public void setMaxBalanceTransferToAccrualCategory(
146 String maxBalanceTransferToAccrualCategory) {
147 this.maxBalanceTransferToAccrualCategory = maxBalanceTransferToAccrualCategory;
148 }
149
150 public BigDecimal getMaxBalanceTransferConversionFactor() {
151 return maxBalanceTransferConversionFactor;
152 }
153
154 public void setMaxBalanceTransferConversionFactor(
155 BigDecimal maxBalanceTransferConversionFactor) {
156 this.maxBalanceTransferConversionFactor = maxBalanceTransferConversionFactor;
157 }
158
159 public Long getMaxTransferAmount() {
160 return maxTransferAmount;
161 }
162
163 public void setMaxTransferAmount(Long maxTransferAmount) {
164 this.maxTransferAmount = maxTransferAmount;
165 }
166
167 public Long getMaxPayoutAmount() {
168 return maxPayoutAmount;
169 }
170
171 public void setMaxPayoutAmount(Long maxPayoutAmount) {
172 this.maxPayoutAmount = maxPayoutAmount;
173 }
174
175 public String getMaxPayoutEarnCode() {
176 return maxPayoutEarnCode;
177 }
178
179 public void setMaxPayoutEarnCode(String maxPayoutEarnCode) {
180 this.maxPayoutEarnCode = maxPayoutEarnCode;
181 }
182
183 public Long getMaxUsage() {
184 return maxUsage;
185 }
186
187 public void setMaxUsage(Long maxUsage) {
188 this.maxUsage = maxUsage;
189 }
190
191 public Long getMaxCarryOver() {
192 return maxCarryOver;
193 }
194
195 public void setMaxCarryOver(Long maxCarryOver) {
196 this.maxCarryOver = maxCarryOver;
197 }
198
199 public String getLmAccrualCategoryId() {
200 return lmAccrualCategoryId;
201 }
202
203 public void setLmAccrualCategoryId(String lmAccrualCategoryId) {
204 this.lmAccrualCategoryId = lmAccrualCategoryId;
205 }
206
207 @Override
208 protected String getUniqueKey() {
209 return accrualRate.toString();
210 }
211
212 @Override
213 public String getId() {
214 return getLmAccrualCategoryRuleId();
215 }
216
217 @Override
218 public void setId(String id) {
219 setLmAccrualCategoryRuleId(id);
220
221 }
222
223 }