1 package org.kuali.ole.deliver.bo;
2
3
4 import org.kuali.ole.ingest.pojo.OlePatron;
5 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
6
7 import java.sql.Timestamp;
8 import java.util.ArrayList;
9 import java.util.List;
10
11
12
13
14 public class OlePatronIngestSummaryRecord extends PersistableBusinessObjectBase {
15
16 private String olePatronSummaryId;
17 private Integer patronTotCount;
18 private Integer patronCreateCount;
19 private Integer patronUpdateCount;
20 private Integer patronRejectCount;
21 private Integer patronFailedCount;
22 private String fileName;
23 private String principalName;
24 private Timestamp createdDate;
25 private String failureRecords;
26 private List<OlePatron> failurePatronRecords = new ArrayList<>();
27
28
29 public String getFailureRecords() {
30 return failureRecords;
31 }
32
33 public void setFailureRecords(String failureRecords) {
34 this.failureRecords = failureRecords;
35 }
36
37
38
39
40
41
42 public String getOlePatronSummaryId() {
43 return olePatronSummaryId;
44 }
45
46
47
48
49
50
51 public void setOlePatronSummaryId(String olePatronSummaryId) {
52 this.olePatronSummaryId = olePatronSummaryId;
53 }
54
55
56
57
58
59
60 public Integer getPatronRejectCount() {
61 if (this.patronRejectCount == null)
62 return 0;
63 return patronRejectCount;
64 }
65
66
67
68
69
70
71 public void setPatronRejectCount(Integer patronRejectCount) {
72 this.patronRejectCount = patronRejectCount;
73 }
74
75
76
77
78
79
80 public Integer getPatronUpdateCount() {
81 if (this.patronUpdateCount == null)
82 return 0;
83 return patronUpdateCount;
84 }
85
86
87
88
89
90
91 public void setPatronUpdateCount(Integer patronUpdateCount) {
92 this.patronUpdateCount = patronUpdateCount;
93 }
94
95
96
97
98
99
100 public Integer getPatronCreateCount() {
101 if (this.patronCreateCount == null)
102 return 0;
103 return patronCreateCount;
104 }
105
106
107
108
109
110
111 public void setPatronCreateCount(Integer patronCreateCount) {
112 this.patronCreateCount = patronCreateCount;
113 }
114
115
116
117
118
119
120 public Integer getPatronTotCount() {
121 if (this.patronTotCount == null)
122 return 0;
123 return patronTotCount;
124 }
125
126
127
128
129
130
131 public void setPatronTotCount(Integer patronTotCount) {
132 this.patronTotCount = patronTotCount;
133 }
134
135
136
137
138
139
140 public String getFileName() {
141 return fileName;
142 }
143
144
145
146
147
148
149 public void setFileName(String fileName) {
150 this.fileName = fileName;
151 }
152
153
154
155
156
157
158 public Integer getPatronFailedCount() {
159 if (this.patronFailedCount == null)
160 return 0;
161 return patronFailedCount;
162 }
163
164
165
166
167
168
169 public void setPatronFailedCount(Integer patronFailedCount) {
170 this.patronFailedCount = patronFailedCount;
171 }
172
173
174
175
176
177
178 public String getPrincipalName() {
179 return principalName;
180 }
181
182
183
184
185
186
187 public void setPrincipalName(String principalName) {
188 this.principalName = principalName;
189 }
190
191
192
193
194
195
196 public Timestamp getCreatedDate() {
197 return createdDate;
198 }
199
200
201
202
203
204
205 public void setCreatedDate(Timestamp createdDate) {
206 this.createdDate = createdDate;
207 }
208
209 public List<OlePatron> getFailurePatronRecords() {
210 return failurePatronRecords;
211 }
212
213 public void setFailurePatronRecords(List<OlePatron> failurePatronRecords) {
214 this.failurePatronRecords = failurePatronRecords;
215 }
216 }