1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.kuali.ole.pdp.businessobject;
21
22 import java.sql.Date;
23 import java.sql.Timestamp;
24 import java.util.LinkedHashMap;
25
26 import org.kuali.ole.sys.OLEPropertyConstants;
27 import org.kuali.ole.sys.businessobject.Bank;
28 import org.kuali.ole.sys.businessobject.TimestampedBusinessObjectBase;
29 import org.kuali.ole.sys.context.SpringContext;
30 import org.kuali.rice.core.api.util.type.KualiInteger;
31 import org.kuali.rice.kim.api.identity.Person;
32
33 public class PaymentGroupHistory extends TimestampedBusinessObjectBase {
34
35 private KualiInteger id;
36
37 private String changeNoteText;
38 private Person changeUser;
39 private String changeUserId;
40 private Timestamp changeTime;
41 private Date origPaymentDate;
42 private String origAchBankRouteNbr;
43 private String origAdviceEmail;
44 private KualiInteger origDisburseNbr;
45 private Timestamp origDisburseDate;
46 private Boolean origProcessImmediate;
47 private Boolean origPmtSpecHandling;
48 private Boolean pmtCancelExtractStat;
49 private Timestamp pmtCancelExtractDate;
50
51 private String disbursementTypeCode;
52 private DisbursementType disbursementType;
53
54 private String origBankCode;
55 private Bank bank;
56
57 private String paymentStatusCode;
58 private PaymentStatus origPaymentStatus;
59
60 private KualiInteger processId;
61 private PaymentProcess paymentProcess;
62
63 private String paymentChangeCode;
64 private PaymentChangeCode paymentChange;
65
66 private KualiInteger paymentGroupId;
67 private PaymentGroup paymentGroup;
68
69 public PaymentGroupHistory() {
70 super();
71 }
72
73
74
75
76
77
78 public KualiInteger getId() {
79 return id;
80 }
81
82
83
84
85
86 public PaymentGroup getPaymentGroup() {
87 return paymentGroup;
88 }
89
90
91
92
93
94 public Timestamp getPmtCancelExtractDate() {
95 return pmtCancelExtractDate;
96 }
97
98
99
100
101
102 public PaymentChangeCode getPaymentChange() {
103 return paymentChange;
104 }
105
106
107
108
109
110 public String getChangeNoteText() {
111 return changeNoteText;
112 }
113
114
115
116
117
118 public Timestamp getChangeTime() {
119 return changeTime;
120 }
121
122
123
124
125
126 public String getOrigAchBankRouteNbr() {
127 return origAchBankRouteNbr;
128 }
129
130
131
132
133
134 public String getOrigAdviceEmail() {
135 return origAdviceEmail;
136 }
137
138
139
140
141
142 public Timestamp getOrigDisburseDate() {
143 return origDisburseDate;
144 }
145
146
147
148
149
150 public KualiInteger getOrigDisburseNbr() {
151 return origDisburseNbr;
152 }
153
154
155
156
157
158 public Date getOrigPaymentDate() {
159 return origPaymentDate;
160 }
161
162
163
164
165
166 public Boolean getOrigPmtSpecHandling() {
167 return origPmtSpecHandling;
168 }
169
170
171
172
173
174 public PaymentStatus getOrigPaymentStatus() {
175 return origPaymentStatus;
176 }
177
178
179
180
181
182 public Boolean getOrigProcessImmediate() {
183 return origProcessImmediate;
184 }
185
186
187
188
189
190 public Boolean getPmtCancelExtractStat() {
191 return pmtCancelExtractStat;
192 }
193
194
195
196
197 public void setPaymentChange(PaymentChangeCode pc) {
198 paymentChange = pc;
199 }
200
201
202
203
204 public void setChangeNoteText(String string) {
205 changeNoteText = string;
206 }
207
208
209
210
211 public void setChangeTime(Timestamp timestamp) {
212 changeTime = timestamp;
213 }
214
215
216
217
218 public void setId(KualiInteger integer) {
219 id = integer;
220 }
221
222
223
224
225 public void setOrigAchBankRouteNbr(String s) {
226 origAchBankRouteNbr = s;
227 }
228
229
230
231
232 public void setOrigAdviceEmail(String string) {
233 origAdviceEmail = string;
234 }
235
236
237
238
239 public void setOrigDisburseDate(Timestamp timestamp) {
240 origDisburseDate = timestamp;
241 }
242
243
244
245
246 public void setOrigDisburseNbr(KualiInteger integer) {
247 origDisburseNbr = integer;
248 }
249
250
251
252
253 public void setOrigPaymentDate(Date timestamp) {
254 origPaymentDate = timestamp;
255 }
256
257
258
259
260 public void setOrigPmtSpecHandling(Boolean boolean1) {
261 origPmtSpecHandling = boolean1;
262 }
263
264
265
266
267 public void setOrigPaymentStatus(PaymentStatus ps) {
268 origPaymentStatus = ps;
269 }
270
271
272
273
274 public void setOrigProcessImmediate(Boolean boolean1) {
275 origProcessImmediate = boolean1;
276 }
277
278
279
280
281 public void setPmtCancelExtractDate(Timestamp timestamp) {
282 pmtCancelExtractDate = timestamp;
283 }
284
285
286
287
288 public void setPmtCancelExtractStat(Boolean boolean1) {
289 pmtCancelExtractStat = boolean1;
290 }
291
292
293
294
295 public void setPaymentGroup(PaymentGroup pd) {
296 this.paymentGroup = pd;
297 }
298
299
300
301
302 public void setDisbursementType(DisbursementType dt) {
303 disbursementType = dt;
304 }
305
306
307
308
309
310 public DisbursementType getDisbursementType() {
311 return disbursementType;
312 }
313
314
315
316
317 public void setBank(Bank bank) {
318 this.bank = bank;
319 }
320
321
322
323
324
325 public Bank getBank() {
326 return bank;
327 }
328
329
330
331
332
333
334 public String getOrigBankCode() {
335 return origBankCode;
336 }
337
338
339
340
341
342
343 public void setOrigBankCode(String bankCode) {
344 this.origBankCode = bankCode;
345 }
346
347
348
349
350 public void setProcess(PaymentProcess ppl) {
351 paymentProcess = ppl;
352 }
353
354
355
356
357
358 public PaymentProcess getProcess() {
359 return paymentProcess;
360 }
361
362
363
364
365
366 public String getChangeUserId() {
367 return changeUserId;
368 }
369
370
371
372
373
374 public Person getChangeUser() {
375 changeUser = SpringContext.getBean(org.kuali.rice.kim.api.identity.PersonService.class).updatePersonIfNecessary(changeUserId, changeUser);
376 return changeUser;
377 }
378
379
380
381
382
383 public void setChangeUser(Person changeUser) {
384 if (changeUser != null) {
385 changeUserId = changeUser.getPrincipalId();
386 }
387 this.changeUser = changeUser;
388 }
389
390
391
392
393 public void setChangeUserId(String changeUserId) {
394 this.changeUserId = changeUserId;
395 }
396
397
398
399
400
401
402 public String getDisbursementTypeCode() {
403 return disbursementTypeCode;
404 }
405
406
407
408
409
410
411 public void setDisbursementTypeCode(String disbursementTypeCode) {
412 this.disbursementTypeCode = disbursementTypeCode;
413 }
414
415
416
417
418
419
420 public String getPaymentStatusCode() {
421 return paymentStatusCode;
422 }
423
424
425
426
427
428
429 public void setPaymentStatusCode(String paymentStatusCode) {
430 this.paymentStatusCode = paymentStatusCode;
431 }
432
433
434
435
436
437
438 public PaymentProcess getPaymentProcess() {
439 return paymentProcess;
440 }
441
442
443
444
445
446
447 public void setPaymentProcess(PaymentProcess paymentProcess) {
448 this.paymentProcess = paymentProcess;
449 }
450
451
452
453
454
455
456 public String getPaymentChangeCode() {
457 return paymentChangeCode;
458 }
459
460
461
462
463
464
465 public void setPaymentChangeCode(String paymentChangeCode) {
466 this.paymentChangeCode = paymentChangeCode;
467 }
468
469
470
471
472
473
474 public KualiInteger getPaymentGroupId() {
475 return paymentGroupId;
476 }
477
478
479
480
481
482
483 public void setPaymentGroupId(KualiInteger paymentGroupId) {
484 this.paymentGroupId = paymentGroupId;
485 }
486
487 public void updateUser(org.kuali.rice.kim.api.identity.PersonService userService) {
488 Person u = userService.getPerson(changeUserId);
489 setChangeUser(u);
490 }
491
492 public KualiInteger getProcessId() {
493 return processId;
494 }
495
496 public void setProcessId(KualiInteger processId) {
497 this.processId = processId;
498 }
499
500
501
502
503
504 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
505 LinkedHashMap m = new LinkedHashMap();
506
507 m.put(OLEPropertyConstants.ID, this.id);
508
509 return m;
510 }
511
512 }