001: /*
002: * Copyright 2005-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016:
017: package org.kuali.module.gl.bo;
018:
019: import java.sql.Date;
020: import java.sql.Timestamp;
021: import java.util.LinkedHashMap;
022:
023: import org.kuali.core.bo.DocumentType;
024: import org.kuali.core.bo.PersistableBusinessObjectBase;
025: import org.kuali.core.service.DateTimeService;
026: import org.kuali.core.util.KualiDecimal;
027: import org.kuali.kfs.KFSPropertyConstants;
028: import org.kuali.kfs.bo.Options;
029: import org.kuali.kfs.bo.OriginationCode;
030: import org.kuali.kfs.context.SpringContext;
031: import org.kuali.module.chart.bo.Account;
032: import org.kuali.module.chart.bo.AccountingPeriod;
033: import org.kuali.module.chart.bo.Chart;
034: import org.kuali.module.chart.bo.ObjectCode;
035: import org.kuali.module.chart.bo.ObjectType;
036: import org.kuali.module.chart.bo.ProjectCode;
037: import org.kuali.module.chart.bo.SubAccount;
038: import org.kuali.module.chart.bo.SubObjCd;
039: import org.kuali.module.chart.bo.codes.BalanceTyp;
040:
041: /**
042: * Represents a G/L entry
043: *
044: */
045: public class Entry extends PersistableBusinessObjectBase implements
046: Transaction {
047: static final long serialVersionUID = -24983129882357448L;
048:
049: private Integer universityFiscalYear;
050: private String chartOfAccountsCode;
051: private String accountNumber;
052: private String subAccountNumber;
053: private String financialObjectCode;
054: private String financialSubObjectCode;
055: private String financialBalanceTypeCode;
056: private String financialObjectTypeCode;
057: private String universityFiscalPeriodCode;
058: private String financialDocumentTypeCode;
059: private String financialSystemOriginationCode;
060: private String documentNumber;
061: private Integer transactionLedgerEntrySequenceNumber;
062: private String transactionLedgerEntryDescription;
063: private KualiDecimal transactionLedgerEntryAmount;
064: private String transactionDebitCreditCode;
065: private Date transactionDate;
066: private String organizationDocumentNumber;
067: private String projectCode;
068: private String organizationReferenceId;
069: private String referenceFinancialDocumentTypeCode;
070: private String referenceFinancialSystemOriginationCode;
071: private String referenceFinancialDocumentNumber;
072: private Date financialDocumentReversalDate;
073: private String transactionEncumbranceUpdateCode;
074: private Date transactionPostingDate;
075: private Timestamp transactionDateTimeStamp;
076:
077: // bo references
078: private Account account;
079: private SubAccount subAccount;
080: private BalanceTyp balanceType;
081: private Chart chart;
082: private ObjectCode financialObject;
083: private SubObjCd financialSubObject;
084: private ObjectType objectType;
085: private ProjectCode project;
086: private DocumentType documentType;
087: private DocumentType referenceDocumentType;
088: private UniversityDate universityDate;
089: private Options option;
090: private AccountingPeriod accountingPeriod;
091: private UniversityDate reversalDate;
092: private OriginationCode originationCode;
093: private OriginationCode referenceOriginationCode;
094:
095: private TransientBalanceInquiryAttributes dummyBusinessObject;
096:
097: /**
098: * Default constructor.
099: */
100: public Entry() {
101: }
102:
103: public Entry(Transaction t) {
104: super ();
105:
106: setUniversityFiscalYear(t.getUniversityFiscalYear());
107: setChartOfAccountsCode(t.getChartOfAccountsCode());
108: setAccountNumber(t.getAccountNumber());
109: setSubAccountNumber(t.getSubAccountNumber());
110: setFinancialObjectCode(t.getFinancialObjectCode());
111: setFinancialSubObjectCode(t.getFinancialSubObjectCode());
112: setFinancialBalanceTypeCode(t.getFinancialBalanceTypeCode());
113: setFinancialObjectTypeCode(t.getFinancialObjectTypeCode());
114: setUniversityFiscalPeriodCode(t.getUniversityFiscalPeriodCode());
115: setFinancialDocumentTypeCode(t.getFinancialDocumentTypeCode());
116: setFinancialSystemOriginationCode(t
117: .getFinancialSystemOriginationCode());
118: setDocumentNumber(t.getDocumentNumber());
119: setTransactionLedgerEntrySequenceNumber(t
120: .getTransactionLedgerEntrySequenceNumber());
121: setTransactionLedgerEntryDescription(t
122: .getTransactionLedgerEntryDescription());
123: setTransactionLedgerEntryAmount(t
124: .getTransactionLedgerEntryAmount());
125: setTransactionDebitCreditCode(t.getTransactionDebitCreditCode());
126: setTransactionDate(t.getTransactionDate());
127: setOrganizationDocumentNumber(t.getOrganizationDocumentNumber());
128: setProjectCode(t.getProjectCode());
129: setOrganizationReferenceId(t.getOrganizationReferenceId());
130: setReferenceFinancialDocumentTypeCode(t
131: .getReferenceFinancialDocumentTypeCode());
132: setReferenceFinancialSystemOriginationCode(t
133: .getReferenceFinancialSystemOriginationCode());
134: setReferenceFinancialDocumentNumber(t
135: .getReferenceFinancialDocumentNumber());
136: setFinancialDocumentReversalDate(t
137: .getFinancialDocumentReversalDate());
138: setTransactionEncumbranceUpdateCode(t
139: .getTransactionEncumbranceUpdateCode());
140: }
141:
142: public Entry(Transaction t, java.util.Date postDate) {
143: super ();
144: this .dummyBusinessObject = new TransientBalanceInquiryAttributes();
145:
146: setUniversityFiscalYear(t.getUniversityFiscalYear());
147: setChartOfAccountsCode(t.getChartOfAccountsCode());
148: setAccountNumber(t.getAccountNumber());
149: setSubAccountNumber(t.getSubAccountNumber());
150: setFinancialObjectCode(t.getFinancialObjectCode());
151: setFinancialSubObjectCode(t.getFinancialSubObjectCode());
152: setFinancialBalanceTypeCode(t.getFinancialBalanceTypeCode());
153: setFinancialObjectTypeCode(t.getFinancialObjectTypeCode());
154: setUniversityFiscalPeriodCode(t.getUniversityFiscalPeriodCode());
155: setFinancialDocumentTypeCode(t.getFinancialDocumentTypeCode());
156: setFinancialSystemOriginationCode(t
157: .getFinancialSystemOriginationCode());
158: setDocumentNumber(t.getDocumentNumber());
159: setTransactionLedgerEntrySequenceNumber(t
160: .getTransactionLedgerEntrySequenceNumber());
161: setTransactionLedgerEntryDescription(t
162: .getTransactionLedgerEntryDescription());
163: setTransactionLedgerEntryAmount(t
164: .getTransactionLedgerEntryAmount());
165: setTransactionDebitCreditCode(t.getTransactionDebitCreditCode());
166: setTransactionDate(t.getTransactionDate());
167: setOrganizationDocumentNumber(t.getOrganizationDocumentNumber());
168: setProjectCode(t.getProjectCode());
169: setOrganizationReferenceId(t.getOrganizationReferenceId());
170: setReferenceFinancialDocumentTypeCode(t
171: .getReferenceFinancialDocumentTypeCode());
172: setReferenceFinancialSystemOriginationCode(t
173: .getReferenceFinancialSystemOriginationCode());
174: setReferenceFinancialDocumentNumber(t
175: .getReferenceFinancialDocumentNumber());
176: setFinancialDocumentReversalDate(t
177: .getFinancialDocumentReversalDate());
178: setTransactionEncumbranceUpdateCode(t
179: .getTransactionEncumbranceUpdateCode());
180: if (postDate != null) {
181: setTransactionPostingDate(new Date(postDate.getTime()));
182: }
183:
184: Timestamp now = SpringContext.getBean(DateTimeService.class)
185: .getCurrentTimestamp();
186: setTransactionDateTimeStamp(now);
187: }
188:
189: public OriginationCode getOriginationCode() {
190: return originationCode;
191: }
192:
193: public void setOriginationCode(OriginationCode originationCode) {
194: this .originationCode = originationCode;
195: }
196:
197: public OriginationCode getReferenceOriginationCode() {
198: return referenceOriginationCode;
199: }
200:
201: public void setReferenceOriginationCode(
202: OriginationCode referenceOriginationCode) {
203: this .referenceOriginationCode = referenceOriginationCode;
204: }
205:
206: /**
207: * Gets the universityFiscalYear attribute.
208: *
209: * @return Returns the universityFiscalYear
210: */
211: public Integer getUniversityFiscalYear() {
212: return universityFiscalYear;
213: }
214:
215: /**
216: * Sets the universityFiscalYear attribute.
217: *
218: * @param universityFiscalYear The universityFiscalYear to set.
219: */
220: public void setUniversityFiscalYear(Integer universityFiscalYear) {
221: this .universityFiscalYear = universityFiscalYear;
222: }
223:
224: /**
225: * Gets the chartOfAccountsCode attribute.
226: *
227: * @return Returns the chartOfAccountsCode
228: */
229: public String getChartOfAccountsCode() {
230: return chartOfAccountsCode;
231: }
232:
233: /**
234: * Sets the chartOfAccountsCode attribute.
235: *
236: * @param chartOfAccountsCode The chartOfAccountsCode to set.
237: */
238: public void setChartOfAccountsCode(String chartOfAccountsCode) {
239: this .chartOfAccountsCode = chartOfAccountsCode;
240: }
241:
242: /**
243: * Gets the accountNumber attribute.
244: *
245: * @return Returns the accountNumber
246: */
247: public String getAccountNumber() {
248: return accountNumber;
249: }
250:
251: /**
252: * Sets the accountNumber attribute.
253: *
254: * @param accountNumber The accountNumber to set.
255: */
256: public void setAccountNumber(String accountNumber) {
257: this .accountNumber = accountNumber;
258: }
259:
260: /**
261: * Gets the subAccountNumber attribute.
262: *
263: * @return Returns the subAccountNumber
264: */
265: public String getSubAccountNumber() {
266: return subAccountNumber;
267: }
268:
269: /**
270: * Sets the subAccountNumber attribute.
271: *
272: * @param subAccountNumber The subAccountNumber to set.
273: */
274: public void setSubAccountNumber(String subAccountNumber) {
275: this .subAccountNumber = subAccountNumber;
276: }
277:
278: /**
279: * Gets the financialObjectCode attribute.
280: *
281: * @return Returns the financialObjectCode
282: */
283: public String getFinancialObjectCode() {
284: return financialObjectCode;
285: }
286:
287: /**
288: * Sets the financialObjectCode attribute.
289: *
290: * @param financialObjectCode The financialObjectCode to set.
291: */
292: public void setFinancialObjectCode(String financialObjectCode) {
293: this .financialObjectCode = financialObjectCode;
294: }
295:
296: /**
297: * Gets the financialSubObjectCode attribute.
298: *
299: * @return Returns the financialSubObjectCode
300: */
301: public String getFinancialSubObjectCode() {
302: return financialSubObjectCode;
303: }
304:
305: /**
306: * Sets the financialSubObjectCode attribute.
307: *
308: * @param financialSubObjectCode The financialSubObjectCode to set.
309: */
310: public void setFinancialSubObjectCode(String financialSubObjectCode) {
311: this .financialSubObjectCode = financialSubObjectCode;
312: }
313:
314: /**
315: * Gets the financialBalanceTypeCode attribute.
316: *
317: * @return Returns the financialBalanceTypeCode
318: */
319: public String getFinancialBalanceTypeCode() {
320: return financialBalanceTypeCode;
321: }
322:
323: /**
324: * Sets the financialBalanceTypeCode attribute.
325: *
326: * @param financialBalanceTypeCode The financialBalanceTypeCode to set.
327: */
328: public void setFinancialBalanceTypeCode(
329: String financialBalanceTypeCode) {
330: this .financialBalanceTypeCode = financialBalanceTypeCode;
331: }
332:
333: /**
334: * Gets the financialObjectTypeCode attribute.
335: *
336: * @return Returns the financialObjectTypeCode
337: */
338: public String getFinancialObjectTypeCode() {
339: return financialObjectTypeCode;
340: }
341:
342: /**
343: * Sets the financialObjectTypeCode attribute.
344: *
345: * @param financialObjectTypeCode The financialObjectTypeCode to set.
346: */
347: public void setFinancialObjectTypeCode(
348: String financialObjectTypeCode) {
349: this .financialObjectTypeCode = financialObjectTypeCode;
350: }
351:
352: /**
353: * Gets the universityFiscalPeriodCode attribute.
354: *
355: * @return Returns the universityFiscalPeriodCode
356: */
357: public String getUniversityFiscalPeriodCode() {
358: return universityFiscalPeriodCode;
359: }
360:
361: /**
362: * Sets the universityFiscalPeriodCode attribute.
363: *
364: * @param universityFiscalPeriodCode The universityFiscalPeriodCode to set.
365: */
366: public void setUniversityFiscalPeriodCode(
367: String universityFiscalPeriodCode) {
368: this .universityFiscalPeriodCode = universityFiscalPeriodCode;
369: }
370:
371: /**
372: * Gets the financialDocumentTypeCode attribute.
373: *
374: * @return Returns the financialDocumentTypeCode
375: */
376: public String getFinancialDocumentTypeCode() {
377: return financialDocumentTypeCode;
378: }
379:
380: /**
381: * Sets the financialDocumentTypeCode attribute.
382: *
383: * @param financialDocumentTypeCode The financialDocumentTypeCode to set.
384: */
385: public void setFinancialDocumentTypeCode(
386: String financialDocumentTypeCode) {
387: this .financialDocumentTypeCode = financialDocumentTypeCode;
388: }
389:
390: /**
391: * Gets the financialSystemOriginationCode attribute.
392: *
393: * @return Returns the financialSystemOriginationCode
394: */
395: public String getFinancialSystemOriginationCode() {
396: return financialSystemOriginationCode;
397: }
398:
399: /**
400: * Sets the financialSystemOriginationCode attribute.
401: *
402: * @param financialSystemOriginationCode The financialSystemOriginationCode to set.
403: */
404: public void setFinancialSystemOriginationCode(
405: String financialSystemOriginationCode) {
406: this .financialSystemOriginationCode = financialSystemOriginationCode;
407: }
408:
409: /**
410: * Gets the documentNumber attribute.
411: *
412: * @return Returns the documentNumber
413: */
414: public String getDocumentNumber() {
415: return documentNumber;
416: }
417:
418: /**
419: * Sets the documentNumber attribute.
420: *
421: * @param documentNumber The documentNumber to set.
422: */
423: public void setDocumentNumber(String documentNumber) {
424: this .documentNumber = documentNumber;
425: }
426:
427: /**
428: * Gets the transactionLedgerEntrySequenceNumber attribute.
429: *
430: * @return Returns the transactionLedgerEntrySequenceNumber
431: */
432: public Integer getTransactionLedgerEntrySequenceNumber() {
433: return transactionLedgerEntrySequenceNumber;
434: }
435:
436: /**
437: * Sets the transactionLedgerEntrySequenceNumber attribute.
438: *
439: * @param transactionLedgerEntrySequenceNumber The transactionLedgerEntrySequenceNumber to set.
440: */
441: public void setTransactionLedgerEntrySequenceNumber(
442: Integer transactionLedgerEntrySequenceNumber) {
443: this .transactionLedgerEntrySequenceNumber = transactionLedgerEntrySequenceNumber;
444: }
445:
446: /**
447: * Gets the transactionLedgerEntryDescription attribute.
448: *
449: * @return Returns the transactionLedgerEntryDescription
450: */
451: public String getTransactionLedgerEntryDescription() {
452: return transactionLedgerEntryDescription;
453: }
454:
455: /**
456: * Sets the transactionLedgerEntryDescription attribute.
457: *
458: * @param transactionLedgerEntryDescription The transactionLedgerEntryDescription to set.
459: */
460: public void setTransactionLedgerEntryDescription(
461: String transactionLedgerEntryDescription) {
462: this .transactionLedgerEntryDescription = transactionLedgerEntryDescription;
463: }
464:
465: /**
466: * Gets the transactionLedgerEntryAmount attribute.
467: *
468: * @return Returns the transactionLedgerEntryAmount
469: */
470: public KualiDecimal getTransactionLedgerEntryAmount() {
471: return transactionLedgerEntryAmount;
472: }
473:
474: /**
475: * Sets the transactionLedgerEntryAmount attribute.
476: *
477: * @param transactionLedgerEntryAmount The transactionLedgerEntryAmount to set.
478: */
479: public void setTransactionLedgerEntryAmount(
480: KualiDecimal transactionLedgerEntryAmount) {
481: this .transactionLedgerEntryAmount = transactionLedgerEntryAmount;
482: }
483:
484: /**
485: * Gets the transactionDebitCreditCode attribute.
486: *
487: * @return Returns the transactionDebitCreditCode
488: */
489: public String getTransactionDebitCreditCode() {
490: return transactionDebitCreditCode;
491: }
492:
493: /**
494: * Sets the transactionDebitCreditCode attribute.
495: *
496: * @param transactionDebitCreditCode The transactionDebitCreditCode to set.
497: */
498: public void setTransactionDebitCreditCode(
499: String transactionDebitCreditCode) {
500: this .transactionDebitCreditCode = transactionDebitCreditCode;
501: }
502:
503: /**
504: * Gets the transactionDate attribute.
505: *
506: * @return Returns the transactionDate
507: */
508: public Date getTransactionDate() {
509: return transactionDate;
510: }
511:
512: /**
513: * Sets the transactionDate attribute.
514: *
515: * @param transactionDate The transactionDate to set.
516: */
517: public void setTransactionDate(Date transactionDate) {
518: this .transactionDate = transactionDate;
519: }
520:
521: /**
522: * Gets the organizationDocumentNumber attribute.
523: *
524: * @return Returns the organizationDocumentNumber
525: */
526: public String getOrganizationDocumentNumber() {
527: return organizationDocumentNumber;
528: }
529:
530: /**
531: * Sets the organizationDocumentNumber attribute.
532: *
533: * @param organizationDocumentNumber The organizationDocumentNumber to set.
534: */
535: public void setOrganizationDocumentNumber(
536: String organizationDocumentNumber) {
537: this .organizationDocumentNumber = organizationDocumentNumber;
538: }
539:
540: /**
541: * Gets the projectCode attribute.
542: *
543: * @return Returns the projectCode
544: */
545: public String getProjectCode() {
546: return projectCode;
547: }
548:
549: /**
550: * Sets the projectCode attribute.
551: *
552: * @param projectCode The projectCode to set.
553: */
554: public void setProjectCode(String projectCode) {
555: this .projectCode = projectCode;
556: }
557:
558: /**
559: * Gets the organizationReferenceId attribute.
560: *
561: * @return Returns the organizationReferenceId
562: */
563: public String getOrganizationReferenceId() {
564: return organizationReferenceId;
565: }
566:
567: /**
568: * Sets the organizationReferenceId attribute.
569: *
570: * @param organizationReferenceId The organizationReferenceId to set.
571: */
572: public void setOrganizationReferenceId(
573: String organizationReferenceId) {
574: this .organizationReferenceId = organizationReferenceId;
575: }
576:
577: /**
578: * Gets the referenceFinancialDocumentTypeCode attribute.
579: *
580: * @return Returns the referenceFinancialDocumentTypeCode
581: */
582: public String getReferenceFinancialDocumentTypeCode() {
583: return referenceFinancialDocumentTypeCode;
584: }
585:
586: /**
587: * Sets the referenceFinancialDocumentTypeCode attribute.
588: *
589: * @param referenceFinancialDocumentTypeCode The referenceFinancialDocumentTypeCode to set.
590: */
591: public void setReferenceFinancialDocumentTypeCode(
592: String referenceFinancialDocumentTypeCode) {
593: this .referenceFinancialDocumentTypeCode = referenceFinancialDocumentTypeCode;
594: }
595:
596: /**
597: * Gets the referenceFinancialSystemOriginationCode attribute.
598: *
599: * @return Returns the referenceFinancialSystemOriginationCode
600: */
601: public String getReferenceFinancialSystemOriginationCode() {
602: return referenceFinancialSystemOriginationCode;
603: }
604:
605: /**
606: * Sets the referenceFinancialSystemOriginationCode attribute.
607: *
608: * @param referenceFinancialSystemOriginationCode The referenceFinancialSystemOriginationCode to set.
609: */
610: public void setReferenceFinancialSystemOriginationCode(
611: String referenceFinancialSystemOriginationCode) {
612: this .referenceFinancialSystemOriginationCode = referenceFinancialSystemOriginationCode;
613: }
614:
615: /**
616: * Gets the referenceFinancialDocumentNumber attribute.
617: *
618: * @return Returns the referenceFinancialDocumentNumber
619: */
620: public String getReferenceFinancialDocumentNumber() {
621: return referenceFinancialDocumentNumber;
622: }
623:
624: /**
625: * Sets the referenceFinancialDocumentNumber attribute.
626: *
627: * @param referenceFinancialDocumentNumber The referenceFinancialDocumentNumber to set.
628: */
629: public void setReferenceFinancialDocumentNumber(
630: String referenceFinancialDocumentNumber) {
631: this .referenceFinancialDocumentNumber = referenceFinancialDocumentNumber;
632: }
633:
634: /**
635: * Gets the financialDocumentReversalDate attribute.
636: *
637: * @return Returns the financialDocumentReversalDate
638: */
639: public Date getFinancialDocumentReversalDate() {
640: return financialDocumentReversalDate;
641: }
642:
643: /**
644: * Sets the financialDocumentReversalDate attribute.
645: *
646: * @param financialDocumentReversalDate The financialDocumentReversalDate to set.
647: */
648: public void setFinancialDocumentReversalDate(
649: Date financialDocumentReversalDate) {
650: this .financialDocumentReversalDate = financialDocumentReversalDate;
651: }
652:
653: /**
654: * Gets the transactionEncumbranceUpdateCode attribute.
655: *
656: * @return Returns the transactionEncumbranceUpdateCode
657: */
658: public String getTransactionEncumbranceUpdateCode() {
659: return transactionEncumbranceUpdateCode;
660: }
661:
662: /**
663: * Sets the transactionEncumbranceUpdateCode attribute.
664: *
665: * @param transactionEncumbranceUpdateCode The transactionEncumbranceUpdateCode to set.
666: */
667: public void setTransactionEncumbranceUpdateCode(
668: String transactionEncumbranceUpdateCode) {
669: this .transactionEncumbranceUpdateCode = transactionEncumbranceUpdateCode;
670: }
671:
672: /**
673: * Gets the transactionPostingDate attribute.
674: *
675: * @return Returns the transactionPostingDate
676: */
677: public Date getTransactionPostingDate() {
678: return transactionPostingDate;
679: }
680:
681: /**
682: * Sets the transactionPostingDate attribute.
683: *
684: * @param transactionPostingDate The transactionPostingDate to set.
685: */
686: public void setTransactionPostingDate(Date transactionPostingDate) {
687: this .transactionPostingDate = transactionPostingDate;
688: }
689:
690: /**
691: * Gets the transactionDateTimeStamp attribute.
692: *
693: * @return Returns the transactionDateTimeStamp
694: */
695: public Timestamp getTransactionDateTimeStamp() {
696: return transactionDateTimeStamp;
697: }
698:
699: /**
700: * Sets the transactionDateTimeStamp attribute.
701: *
702: * @param transactionDateTimeStamp The transactionDateTimeStamp to set.
703: */
704: public void setTransactionDateTimeStamp(
705: Timestamp transactionDateTimeStamp) {
706: this .transactionDateTimeStamp = transactionDateTimeStamp;
707: }
708:
709: public Account getAccount() {
710: return account;
711: }
712:
713: public void setAccount(Account account) {
714: this .account = account;
715: }
716:
717: public AccountingPeriod getAccountingPeriod() {
718: return accountingPeriod;
719: }
720:
721: public void setAccountingPeriod(AccountingPeriod accountingPeriod) {
722: this .accountingPeriod = accountingPeriod;
723: }
724:
725: public BalanceTyp getBalanceType() {
726: return balanceType;
727: }
728:
729: public void setBalanceType(BalanceTyp balanceType) {
730: this .balanceType = balanceType;
731: }
732:
733: public Chart getChart() {
734: return chart;
735: }
736:
737: public void setChart(Chart chart) {
738: this .chart = chart;
739: }
740:
741: public DocumentType getDocumentType() {
742: return documentType;
743: }
744:
745: public void setDocumentType(DocumentType documentType) {
746: this .documentType = documentType;
747: }
748:
749: public ObjectCode getFinancialObject() {
750: return financialObject;
751: }
752:
753: public void setFinancialObject(ObjectCode financialObject) {
754: this .financialObject = financialObject;
755: }
756:
757: public SubObjCd getFinancialSubObject() {
758: return financialSubObject;
759: }
760:
761: public void setFinancialSubObject(SubObjCd financialSubObject) {
762: this .financialSubObject = financialSubObject;
763: }
764:
765: public ObjectType getObjectType() {
766: return objectType;
767: }
768:
769: public void setObjectType(ObjectType objectType) {
770: this .objectType = objectType;
771: }
772:
773: public Options getOption() {
774: return option;
775: }
776:
777: public void setOption(Options option) {
778: this .option = option;
779: }
780:
781: public ProjectCode getProject() {
782: return project;
783: }
784:
785: public void setProject(ProjectCode project) {
786: this .project = project;
787: }
788:
789: public UniversityDate getReversalDate() {
790: return reversalDate;
791: }
792:
793: public void setReversalDate(UniversityDate reversalDate) {
794: this .reversalDate = reversalDate;
795: }
796:
797: public SubAccount getSubAccount() {
798: return subAccount;
799: }
800:
801: public void setSubAccount(SubAccount subAccount) {
802: this .subAccount = subAccount;
803: }
804:
805: public UniversityDate getUniversityDate() {
806: return universityDate;
807: }
808:
809: public void setUniversityDate(UniversityDate universityDate) {
810: this .universityDate = universityDate;
811: }
812:
813: /**
814: * @see org.kuali.core.bo.BusinessObjectBase#toStringMapper()
815: */
816: protected LinkedHashMap toStringMapper() {
817: LinkedHashMap m = new LinkedHashMap();
818: m.put("universityFiscalYear", this .universityFiscalYear
819: .toString());
820: m.put("chartOfAccountsCode", this .chartOfAccountsCode);
821: m.put("accountNumber", this .accountNumber);
822: m.put("subAccountNumber", this .subAccountNumber);
823: m.put("financialObjectCode", this .financialObjectCode);
824: m.put("financialSubObjectCode", this .financialSubObjectCode);
825: m
826: .put("financialBalanceTypeCode",
827: this .financialBalanceTypeCode);
828: m.put("financialObjectTypeCode", this .financialObjectTypeCode);
829: m.put("universityFiscalPeriodCode",
830: this .universityFiscalPeriodCode);
831: m.put("financialDocumentTypeCode",
832: this .financialDocumentTypeCode);
833: m.put("financialSystemOriginationCode",
834: this .financialSystemOriginationCode);
835: m
836: .put(KFSPropertyConstants.DOCUMENT_NUMBER,
837: this .documentNumber);
838: m.put("transactionLedgerEntrySequenceNumber",
839: this .transactionLedgerEntrySequenceNumber.toString());
840: return m;
841: }
842:
843: /**
844: * Gets the dummyBusinessObject attribute.
845: *
846: * @return Returns the dummyBusinessObject.
847: */
848: public TransientBalanceInquiryAttributes getDummyBusinessObject() {
849: return dummyBusinessObject;
850: }
851:
852: /**
853: * Sets the dummyBusinessObject attribute value.
854: *
855: * @param dummyBusinessObject The dummyBusinessObject to set.
856: */
857: public void setDummyBusinessObject(
858: TransientBalanceInquiryAttributes dummyBusinessObject) {
859: this .dummyBusinessObject = dummyBusinessObject;
860: }
861:
862: /**
863: * Gets the referenceDocumentType attribute.
864: *
865: * @return Returns the referenceDocumentType.
866: */
867: public DocumentType getReferenceDocumentType() {
868: return referenceDocumentType;
869: }
870:
871: /**
872: * Sets the referenceDocumentType attribute value.
873: *
874: * @param referenceDocumentType The referenceDocumentType to set.
875: */
876: public void setReferenceDocumentType(
877: DocumentType referenceDocumentType) {
878: this.referenceDocumentType = referenceDocumentType;
879: }
880: }
|