1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.gl.businessobject;
17
18
19
20
21 public class DemergerReportData {
22
23
24
25 public DemergerReportData() {
26 }
27
28 private int errorTransactionsRead = 0;
29 private int validTransactionsRead = 0;
30 private int errorTransactionsSaved = 0;
31 private int validTransactionsSaved = 0;
32 private int offsetTransactionsBypassed = 0;
33 private int capitalizationTransactionsBypassed = 0;
34 private int liabilityTransactionsBypassed = 0;
35 private int transferTransactionsBypassed = 0;
36 private int costShareTransactionsBypassed = 0;
37 private int costShareEncumbranceTransactionsBypassed = 0;
38
39
40
41
42
43
44 public void incorporateReportData(DemergerReportData anotherReport) {
45 errorTransactionsRead += anotherReport.errorTransactionsRead;
46 validTransactionsRead += anotherReport.validTransactionsRead;
47 errorTransactionsSaved += anotherReport.errorTransactionsSaved;
48 validTransactionsSaved += anotherReport.validTransactionsSaved;
49 offsetTransactionsBypassed += anotherReport.offsetTransactionsBypassed;
50 capitalizationTransactionsBypassed += anotherReport.capitalizationTransactionsBypassed;
51 liabilityTransactionsBypassed += anotherReport.liabilityTransactionsBypassed;
52 transferTransactionsBypassed += anotherReport.transferTransactionsBypassed;
53 costShareTransactionsBypassed += anotherReport.costShareTransactionsBypassed;
54 costShareEncumbranceTransactionsBypassed += anotherReport.costShareEncumbranceTransactionsBypassed;
55 }
56
57
58
59
60 public void incrementErrorTransactionsRead() {
61 errorTransactionsRead++;
62 }
63
64
65
66
67 public void incrementValidTransactionsRead() {
68 validTransactionsRead++;
69 }
70
71
72
73
74 public void incrementErrorTransactionsSaved() {
75 errorTransactionsSaved++;
76 }
77
78
79
80
81 public void incrementValidTransactionsSaved() {
82 validTransactionsSaved++;
83 }
84
85
86
87
88 public void incrementOffsetTransactionsBypassed() {
89 offsetTransactionsBypassed++;
90 }
91
92
93
94
95 public void incrementCapitalizationTransactionsBypassed() {
96 capitalizationTransactionsBypassed++;
97 }
98
99
100
101
102 public void incrementLiabilityTransactionsBypassed() {
103 liabilityTransactionsBypassed++;
104 }
105
106
107
108
109 public void incrementTransferTransactionsBypassed() {
110 transferTransactionsBypassed++;
111 }
112
113
114
115
116 public void incrementCostShareTransactionsBypassed() {
117 costShareTransactionsBypassed++;
118 }
119
120
121
122
123 public void incrementCostShareEncumbranceTransactionsBypassed() {
124 costShareEncumbranceTransactionsBypassed++;
125 }
126
127
128
129
130
131
132 public int getCapitalizationTransactionsBypassed() {
133 return capitalizationTransactionsBypassed;
134 }
135
136
137
138
139
140
141 public int getCostShareEncumbranceTransactionsBypassed() {
142 return costShareEncumbranceTransactionsBypassed;
143 }
144
145
146
147
148
149
150 public int getCostShareTransactionsBypassed() {
151 return costShareTransactionsBypassed;
152 }
153
154
155
156
157
158
159 public int getErrorTransactionsRead() {
160 return errorTransactionsRead;
161 }
162
163
164
165
166
167
168 public int getErrorTransactionsSaved() {
169 return errorTransactionsSaved;
170 }
171
172
173
174
175
176
177 public int getLiabilityTransactionsBypassed() {
178 return liabilityTransactionsBypassed;
179 }
180
181
182
183
184
185
186 public int getOffsetTransactionsBypassed() {
187 return offsetTransactionsBypassed;
188 }
189
190
191
192
193
194
195 public int getTransferTransactionsBypassed() {
196 return transferTransactionsBypassed;
197 }
198
199
200
201
202
203
204 public int getValidTransactionsSaved() {
205 return validTransactionsSaved;
206 }
207
208
209
210
211
212
213 public void setErrorTransactionsRead(int x) {
214 this.errorTransactionsRead = x;
215 }
216
217
218
219
220
221
222 public void setErrorTransactionWritten(int x) {
223 this.errorTransactionsSaved = x;
224 }
225
226
227
228
229
230
231 public void setValidTransactionsSaved(int validTransactionsSaved) {
232 this.validTransactionsSaved = validTransactionsSaved;
233 }
234
235
236
237
238
239
240 public int getValidTransactionsRead() {
241 return validTransactionsRead;
242 }
243
244
245
246
247
248
249 public void setValidTransactionsRead(int x) {
250 this.validTransactionsRead = x;
251 }
252 }