org.kuali.kfs.gl.businessobject
Class PosterOutputSummaryTotal

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.TransientBusinessObjectBase
          extended by org.kuali.kfs.gl.businessobject.PosterOutputSummaryTotal
All Implemented Interfaces:
Serializable, PosterOutputSummaryAmountHolder, org.kuali.rice.kns.bo.BusinessObject
Direct Known Subclasses:
PosterOutputSummaryBalanceTypeTotal

public class PosterOutputSummaryTotal
extends org.kuali.rice.kns.bo.TransientBusinessObjectBase
implements PosterOutputSummaryAmountHolder

See Also:
Serialized Form

Constructor Summary
PosterOutputSummaryTotal()
           
 
Method Summary
 void addAmount(PosterOutputSummaryEntry entry)
          Adds the totals from the entry to the totals this total line carries
 void addAmount(String debitCreditCode, String objectTypeCode, org.kuali.rice.kns.util.KualiDecimal amount)
          This method sets the amounts for this poster output summary entry.
 org.kuali.rice.kns.util.KualiDecimal getBudgetAmount()
           
 org.kuali.rice.kns.util.KualiDecimal getCreditAmount()
           
 org.kuali.rice.kns.util.KualiDecimal getDebitAmount()
           
 org.kuali.rice.kns.util.KualiDecimal getNetAmount()
           
 String getObjectTypeCode()
           
 String getSummary()
           
 void setObjectTypeCode(String objectTypeCode)
           
protected  LinkedHashMap toStringMapper()
          A map of the "keys" of this transient business object
 
Methods inherited from class org.kuali.rice.kns.bo.TransientBusinessObjectBase
refresh
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PosterOutputSummaryTotal

public PosterOutputSummaryTotal()
Method Detail

addAmount

public void addAmount(String debitCreditCode,
                      String objectTypeCode,
                      org.kuali.rice.kns.util.KualiDecimal amount)
This method sets the amounts for this poster output summary entry.

Specified by:
addAmount in interface PosterOutputSummaryAmountHolder
Parameters:
debitCreditCode - credit code used to determine whether amounts is debit or credit
objectTypeCode - object type code associated with amount
amount - amount to add

addAmount

public void addAmount(PosterOutputSummaryEntry entry)
Adds the totals from the entry to the totals this total line carries

Parameters:
entry - the entry to add totals from

getBudgetAmount

public org.kuali.rice.kns.util.KualiDecimal getBudgetAmount()

getCreditAmount

public org.kuali.rice.kns.util.KualiDecimal getCreditAmount()

getDebitAmount

public org.kuali.rice.kns.util.KualiDecimal getDebitAmount()

getNetAmount

public org.kuali.rice.kns.util.KualiDecimal getNetAmount()

getObjectTypeCode

public String getObjectTypeCode()

setObjectTypeCode

public void setObjectTypeCode(String objectTypeCode)

getSummary

public String getSummary()
Returns:
a summary of this total line

toStringMapper

protected LinkedHashMap toStringMapper()
A map of the "keys" of this transient business object

Specified by:
toStringMapper in class org.kuali.rice.kns.bo.BusinessObjectBase
See Also:
BusinessObjectBase.toStringMapper()


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