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.Timestamp;
23 import java.util.LinkedHashMap;
24
25 import org.kuali.ole.sys.OLEPropertyConstants;
26 import org.kuali.ole.sys.businessobject.TimestampedBusinessObjectBase;
27 import org.kuali.ole.sys.context.SpringContext;
28 import org.kuali.rice.core.api.util.type.KualiDecimal;
29 import org.kuali.rice.core.api.util.type.KualiInteger;
30 import org.kuali.rice.kim.api.identity.Person;
31
32 public class Batch extends TimestampedBusinessObjectBase {
33 private KualiInteger id;
34 private KualiInteger customerId;
35 private String paymentFileName;
36 private Timestamp customerFileCreateTimestamp;
37 private KualiInteger paymentCount;
38 private KualiDecimal paymentTotalAmount;
39 private String submiterUserId;
40 private Timestamp fileProcessTimestamp;
41
42 private CustomerProfile customerProfile;
43 private Person submiterUser;
44
45 public Batch() {
46 super();
47 }
48
49 public Timestamp getFileProcessTimestamp() {
50 return fileProcessTimestamp;
51 }
52
53
54
55
56 public KualiInteger getId() {
57 return id;
58 }
59
60
61
62
63 public Timestamp getCustomerFileCreateTimestamp() {
64 return customerFileCreateTimestamp;
65 }
66
67
68
69
70 public KualiInteger getPaymentCount() {
71 return paymentCount;
72 }
73
74
75
76
77 public String getPaymentFileName() {
78 return paymentFileName;
79 }
80
81
82
83
84 public KualiDecimal getPaymentTotalAmount() {
85 return paymentTotalAmount;
86 }
87
88
89
90
91 public CustomerProfile getCustomerProfile() {
92 return customerProfile;
93 }
94
95
96
97
98 public void setCustomerFileCreateTimestamp(Timestamp t) {
99 customerFileCreateTimestamp = t;
100 }
101
102
103
104
105 public void setFileProcessTimestamp(Timestamp timestamp) {
106 fileProcessTimestamp = timestamp;
107 }
108
109
110
111
112 public void setId(KualiInteger integer) {
113 id = integer;
114 }
115
116
117
118
119 public void setPaymentCount(KualiInteger integer) {
120 paymentCount = integer;
121 }
122
123
124
125
126 public void setPaymentFileName(String string) {
127 paymentFileName = string;
128 }
129
130
131
132
133 public void setPaymentTotalAmount(KualiDecimal decimal) {
134 paymentTotalAmount = decimal;
135 }
136
137
138
139
140 public void setCustomerProfile(CustomerProfile cp) {
141 customerProfile = cp;
142 }
143
144 public Person getSubmiterUser() {
145 submiterUser = SpringContext.getBean(org.kuali.rice.kim.api.identity.PersonService.class).updatePersonIfNecessary(submiterUserId, submiterUser);
146 return submiterUser;
147 }
148
149 public void setSubmiterUser(Person s) {
150 this.submiterUser = s;
151 }
152
153
154
155
156 public String getSubmiterUserId() {
157 return submiterUserId;
158 }
159
160
161
162
163 public void setSubmiterUserId(String submiterUserId) {
164 this.submiterUserId = submiterUserId;
165 }
166
167
168
169
170
171 protected LinkedHashMap toStringMapper_RICE20_REFACTORME() {
172 LinkedHashMap m = new LinkedHashMap();
173
174 m.put(OLEPropertyConstants.ID, this.id);
175
176 return m;
177 }
178
179 }
180