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:
17: package org.kuali.module.financial.document;
18:
19: import org.kuali.core.document.AmountTotaling;
20: import org.kuali.core.document.Copyable;
21: import org.kuali.core.document.Correctable;
22: import org.kuali.kfs.KFSConstants;
23: import org.kuali.kfs.document.AccountingDocumentBase;
24:
25: /**
26: * The Distribution of Income and Expense (DI) document is used to distribute income or expense, or assets and liabilities. Amounts
27: * being distributed are usually the result of an accumulation of transactions that need to be divided up between various accounts.
28: */
29: public class DistributionOfIncomeAndExpenseDocument extends
30: AccountingDocumentBase implements Copyable, Correctable,
31: AmountTotaling {
32:
33: /**
34: * Constructs a DistributionOfIncomeAndExpenseDocument.java.
35: */
36: public DistributionOfIncomeAndExpenseDocument() {
37: super ();
38: }
39:
40: /**
41: * @see org.kuali.kfs.document.AccountingDocument#getSourceAccountingLinesSectionTitle()
42: */
43: @Override
44: public String getSourceAccountingLinesSectionTitle() {
45: return KFSConstants.FROM;
46: }
47:
48: /**
49: * @see org.kuali.kfs.document.AccountingDocument#getTargetAccountingLinesSectionTitle()
50: */
51: @Override
52: public String getTargetAccountingLinesSectionTitle() {
53: return KFSConstants.TO;
54: }
55:
56: }
|