View Javadoc
1   /*
2    * Copyright 2006 The Kuali Foundation
3    * 
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    * http://www.opensource.org/licenses/ecl2.php
9    * 
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.ole.fp.businessobject;
17  
18  import java.io.Serializable;
19  
20  import org.kuali.rice.core.api.util.type.KualiDecimal;
21  
22  /**
23   * Interface to aid voucher documents for handling debit/credit amounts.
24   */
25  public interface VoucherAccountingLineHelper extends Serializable {
26      /**
27       * This method retrieves the credit amount.
28       * 
29       * @return KualiDecimal
30       */
31      public KualiDecimal getCredit();
32  
33      /**
34       * This method sets the credit amount.
35       * 
36       * @param credit
37       */
38      public void setCredit(KualiDecimal credit);
39  
40      /**
41       * This method retrieves the debit amount.
42       * 
43       * @return KualiDecimal
44       */
45      public KualiDecimal getDebit();
46  
47      /**
48       * This method sets the debit amount.
49       * 
50       * @param debit
51       */
52      public void setDebit(KualiDecimal debit);
53  }