01: /*
02: * Copyright 2005-2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.module.financial.document;
17:
18: import static org.kuali.kfs.KFSConstants.EMPTY_STRING;
19:
20: import org.kuali.core.document.AmountTotaling;
21: import org.kuali.core.document.Copyable;
22: import org.kuali.core.document.Correctable;
23: import org.kuali.kfs.bo.AccountingLineParser;
24: import org.kuali.kfs.document.AccountingDocumentBase;
25: import org.kuali.module.financial.bo.NonCheckDisbursementDocumentAccountingLineParser;
26:
27: /**
28: * This is the business object that represents the NonCheckDisbursementDocument in Kuali. The "Non-Check Disbursement" document is
29: * used to record charges or credits directly assessed to university bank accounts. It is used primarily by the Tax and Treasury
30: * Accounting office to record wire transfers, foreign drafts, etc.
31: */
32: public class NonCheckDisbursementDocument extends
33: AccountingDocumentBase implements Copyable, Correctable,
34: AmountTotaling {
35:
36: /**
37: * Constructs a NonCheckDisbursementDocument instance.
38: */
39: public NonCheckDisbursementDocument() {
40: }
41:
42: /**
43: * Overrides the base implementation to return "From".
44: *
45: * @see org.kuali.kfs.document.AccountingDocument#getSourceAccountingLinesSectionTitle()
46: */
47: @Override
48: public String getSourceAccountingLinesSectionTitle() {
49: return EMPTY_STRING;
50: }
51:
52: /**
53: * @see org.kuali.kfs.document.AccountingDocumentBase#getAccountingLineParser()
54: */
55: @Override
56: public AccountingLineParser getAccountingLineParser() {
57: return new NonCheckDisbursementDocumentAccountingLineParser();
58: }
59:
60: }
|