1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.ole.gl.businessobject;
18
19 import java.sql.Date;
20 import java.sql.Timestamp;
21
22 import org.kuali.rice.core.api.util.type.KualiDecimal;
23
24
25
26
27 public class EntryHistory extends Entry implements LedgerEntryHistory {
28
29 private Integer rowCount;
30
31
32
33
34 public EntryHistory() {
35 super();
36 this.setTransactionLedgerEntryAmount(KualiDecimal.ZERO);
37 this.setRowCount(0);
38 }
39
40
41
42
43
44
45 public EntryHistory(OriginEntryInformation originEntry) {
46 this();
47 this.setUniversityFiscalYear(originEntry.getUniversityFiscalYear());
48 this.setChartOfAccountsCode(originEntry.getChartOfAccountsCode());
49 this.setFinancialObjectCode(originEntry.getFinancialObjectCode());
50 this.setFinancialBalanceTypeCode(originEntry.getFinancialBalanceTypeCode());
51 this.setUniversityFiscalPeriodCode(originEntry.getUniversityFiscalPeriodCode());
52 this.setTransactionDebitCreditCode(originEntry.getTransactionDebitCreditCode());
53 }
54
55
56
57
58
59
60 public void addAmount(KualiDecimal transactionLedgerEntryAmount) {
61 this.setTransactionLedgerEntryAmount(this.getTransactionLedgerEntryAmount().add(transactionLedgerEntryAmount));
62 rowCount++;
63 }
64
65
66
67
68
69
70 public Integer getRowCount() {
71 return rowCount;
72 }
73
74
75
76
77
78
79 public void setRowCount(Integer rowCount) {
80 this.rowCount = rowCount;
81 }
82
83
84
85
86
87 @Override
88 public String getAccountNumber() {
89 throw new UnsupportedOperationException();
90 }
91
92
93
94
95
96 @Override
97 public void setAccountNumber(String accountNumber) {
98 throw new UnsupportedOperationException();
99 }
100
101
102
103
104
105 @Override
106 public String getSubAccountNumber() {
107 throw new UnsupportedOperationException();
108 }
109
110
111
112
113
114 @Override
115 public void setSubAccountNumber(String subAccountNumber) {
116 throw new UnsupportedOperationException();
117 }
118
119
120
121
122
123 @Override
124 public String getFinancialSubObjectCode() {
125 throw new UnsupportedOperationException();
126 }
127
128
129
130
131
132 @Override
133 public void setFinancialSubObjectCode(String financialSubObjectCode) {
134 throw new UnsupportedOperationException();
135 }
136
137
138
139
140
141 @Override
142 public String getFinancialObjectTypeCode() {
143 throw new UnsupportedOperationException();
144 }
145
146
147
148
149
150 @Override
151 public void setFinancialObjectTypeCode(String financialObjectTypeCode) {
152 throw new UnsupportedOperationException();
153 }
154
155
156
157
158
159 @Override
160 public String getFinancialDocumentTypeCode() {
161 throw new UnsupportedOperationException();
162 }
163
164
165
166
167
168 @Override
169 public String getFinancialSystemOriginationCode() {
170 throw new UnsupportedOperationException();
171 }
172
173
174
175
176
177 @Override
178 public void setFinancialSystemOriginationCode(String financialSystemOriginationCode) {
179 throw new UnsupportedOperationException();
180 }
181
182
183
184
185
186 @Override
187 public void setFinancialDocumentTypeCode(String financialDocumentTypeCode) {
188 throw new UnsupportedOperationException();
189 }
190
191
192
193
194
195 @Override
196 public String getDocumentNumber() {
197 throw new UnsupportedOperationException();
198 }
199
200
201
202
203
204 @Override
205 public void setDocumentNumber(String documentNumber) {
206 throw new UnsupportedOperationException();
207 }
208
209
210
211
212
213 @Override
214 public Integer getTransactionLedgerEntrySequenceNumber() {
215 throw new UnsupportedOperationException();
216 }
217
218
219
220
221
222 @Override
223 public void setTransactionLedgerEntrySequenceNumber(Integer transactionLedgerEntrySequenceNumber) {
224 throw new UnsupportedOperationException();
225 }
226
227
228
229
230
231 @Override
232 public String getProjectCode() {
233 throw new UnsupportedOperationException();
234 }
235
236
237
238
239
240 @Override
241 public void setProjectCode(String projectCode) {
242 throw new UnsupportedOperationException();
243 }
244
245
246
247
248
249 @Override
250 public String getTransactionLedgerEntryDescription() {
251 throw new UnsupportedOperationException();
252 }
253
254
255
256
257
258 @Override
259 public void setTransactionLedgerEntryDescription(String transactionLedgerEntryDescription) {
260 throw new UnsupportedOperationException();
261 }
262
263
264
265
266
267 @Override
268 public Date getTransactionDate() {
269 throw new UnsupportedOperationException();
270 }
271
272
273
274
275
276 @Override
277 public void setTransactionDate(Date transactionDate) {
278 throw new UnsupportedOperationException();
279 }
280
281
282
283
284
285 @Override
286 public String getOrganizationDocumentNumber() {
287 throw new UnsupportedOperationException();
288 }
289
290
291
292
293
294 @Override
295 public void setOrganizationDocumentNumber(String organizationDocumentNumber) {
296 throw new UnsupportedOperationException();
297 }
298
299
300
301
302
303 @Override
304 public String getOrganizationReferenceId() {
305 throw new UnsupportedOperationException();
306 }
307
308
309
310
311
312 @Override
313 public void setOrganizationReferenceId(String organizationReferenceId) {
314 throw new UnsupportedOperationException();
315 }
316
317
318
319
320
321 @Override
322 public String getReferenceFinancialDocumentTypeCode() {
323 throw new UnsupportedOperationException();
324 }
325
326
327
328
329
330 @Override
331 public void setReferenceFinancialDocumentTypeCode(String referenceFinancialDocumentTypeCode) {
332 throw new UnsupportedOperationException();
333 }
334
335
336
337
338
339 @Override
340 public String getReferenceFinancialSystemOriginationCode() {
341 throw new UnsupportedOperationException();
342 }
343
344
345
346
347
348 @Override
349 public void setReferenceFinancialSystemOriginationCode(String referenceFinancialSystemOriginationCode) {
350 throw new UnsupportedOperationException();
351 }
352
353
354
355
356
357 @Override
358 public String getReferenceFinancialDocumentNumber() {
359 throw new UnsupportedOperationException();
360 }
361
362
363
364
365
366 @Override
367 public void setReferenceFinancialDocumentNumber(String referenceFinancialDocumentNumber) {
368 throw new UnsupportedOperationException();
369 }
370
371
372
373
374
375 @Override
376 public Date getFinancialDocumentReversalDate() {
377 throw new UnsupportedOperationException();
378 }
379
380
381
382
383
384 @Override
385 public void setFinancialDocumentReversalDate(Date financialDocumentReversalDate) {
386 throw new UnsupportedOperationException();
387 }
388
389
390
391
392
393 @Override
394 public String getTransactionEncumbranceUpdateCode() {
395 throw new UnsupportedOperationException();
396 }
397
398
399
400
401
402 @Override
403 public void setTransactionEncumbranceUpdateCode(String transactionEncumbranceUpdateCode) {
404 throw new UnsupportedOperationException();
405 }
406
407
408
409
410
411 @Override
412 public Date getTransactionPostingDate() {
413 throw new UnsupportedOperationException();
414 }
415
416
417
418
419
420 @Override
421 public void setTransactionPostingDate(Date transactionPostingDate) {
422 throw new UnsupportedOperationException();
423 }
424
425
426
427
428
429 @Override
430 public Timestamp getTransactionDateTimeStamp() {
431 throw new UnsupportedOperationException();
432 }
433
434
435
436
437
438 @Override
439 public void setTransactionDateTimeStamp(Timestamp transactionDateTimeStamp) {
440 throw new UnsupportedOperationException();
441 }
442 }