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 org.kuali.core.document.AmountTotaling;
19: import org.kuali.core.document.Copyable;
20: import org.kuali.core.document.Correctable;
21: import org.kuali.kfs.KFSConstants;
22: import org.kuali.kfs.document.AccountingDocumentBase;
23:
24: /**
25: * The Transfer of Funds (TF) document is used to transfer funds (cash) between accounts. There are two kinds of transfer
26: * transactions, mandatory and non-mandatory. Mandatory transfers are required to meet contractual agreements. Specific object codes
27: * are used to identify these transactions. Examples of these are: moving dedicated student fees to the retirement of indebtedness
28: * fund group for principal and interest payments on bonds. Non-mandatory transfers are allocations of unrestricted cash between
29: * fund groups which are not required either by the terms of a loan or by other external agreements. These transfers are the most
30: * commonly used throughout the university.
31: */
32: public class TransferOfFundsDocument extends AccountingDocumentBase
33: implements Copyable, Correctable, AmountTotaling {
34: private static final long serialVersionUID = -3871133713027969492L;
35:
36: /**
37: * Initializes the array lists and some basic info.
38: */
39: public TransferOfFundsDocument() {
40: super ();
41: }
42:
43: /**
44: * Overrides the base implementation to return "From".
45: *
46: * @see org.kuali.kfs.document.AccountingDocument#getSourceAccountingLinesSectionTitle()
47: */
48: public String getSourceAccountingLinesSectionTitle() {
49: return KFSConstants.FROM;
50: }
51:
52: /**
53: * Overrides the base implementation to return "To".
54: *
55: * @see org.kuali.kfs.document.AccountingDocument#getTargetAccountingLinesSectionTitle()
56: */
57: public String getTargetAccountingLinesSectionTitle() {
58: return KFSConstants.TO;
59: }
60: }
|