org.kuali.kfs.fp.businessobject
Class VoucherAccountingLineHelperBase

java.lang.Object
  extended by org.kuali.kfs.fp.businessobject.VoucherAccountingLineHelperBase
All Implemented Interfaces:
Serializable, VoucherAccountingLineHelper

public class VoucherAccountingLineHelperBase
extends Object
implements VoucherAccountingLineHelper

This helper class works in conjunction with the SourceAccountingLine bo to help build the UI for the Voucher. On the business object side, there is a single attribute that keeps track of this and the amount field is used to keep track of the amount. This helper class sits alongside the typical SourceAccountingLine bo... the synchronization between the two is the guaranteed order.

See Also:
Serialized Form

Constructor Summary
VoucherAccountingLineHelperBase()
          Constructs a VoucherAccountingLineHelperBase instance.
 
Method Summary
 org.kuali.rice.kns.util.KualiDecimal getCredit()
          This method retrieves the credit amount.
 org.kuali.rice.kns.util.KualiDecimal getDebit()
          This method retrieves the debit amount.
 void setCredit(org.kuali.rice.kns.util.KualiDecimal credit)
          This method sets the credit amount.
 void setDebit(org.kuali.rice.kns.util.KualiDecimal debit)
          This method sets the debit amount.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoucherAccountingLineHelperBase

public VoucherAccountingLineHelperBase()
Constructs a VoucherAccountingLineHelperBase instance.

Method Detail

getCredit

public org.kuali.rice.kns.util.KualiDecimal getCredit()
This method retrieves the credit amount.

Specified by:
getCredit in interface VoucherAccountingLineHelper
Returns:

setCredit

public void setCredit(org.kuali.rice.kns.util.KualiDecimal credit)
This method sets the credit amount.

Specified by:
setCredit in interface VoucherAccountingLineHelper
Parameters:
credit -

getDebit

public org.kuali.rice.kns.util.KualiDecimal getDebit()
This method retrieves the debit amount.

Specified by:
getDebit in interface VoucherAccountingLineHelper
Returns:

setDebit

public void setDebit(org.kuali.rice.kns.util.KualiDecimal debit)
This method sets the debit amount.

Specified by:
setDebit in interface VoucherAccountingLineHelper
Parameters:
debit -


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.