org.kuali.kfs.fp.document.web.struts
Class CashManagementForm.CashDrawerSummary.CashReceiptStatistics

java.lang.Object
  extended by org.kuali.kfs.fp.document.web.struts.CashManagementForm.CashDrawerSummary.CashReceiptStatistics
All Implemented Interfaces:
Serializable
Enclosing class:
CashManagementForm.CashDrawerSummary

public static final class CashManagementForm.CashDrawerSummary.CashReceiptStatistics
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
protected  org.kuali.rice.kns.util.KualiDecimal checkTotal
           
protected  org.kuali.rice.kns.util.KualiDecimal coinTotal
           
protected  org.kuali.rice.kns.util.KualiDecimal currencyTotal
           
protected  int receiptCount
           
 
Constructor Summary
CashManagementForm.CashDrawerSummary.CashReceiptStatistics()
          Constructs a SubSummary.
 
Method Summary
 void add(CashReceiptDocument receipt)
          Increments the counter by 1, and the various totals by the amounts in the given CashReceiptDocument
 void clear()
          Zeros counter and totals.
 org.kuali.rice.kns.util.KualiDecimal getCheckTotal()
           
 org.kuali.rice.kns.util.KualiDecimal getCoinTotal()
           
 org.kuali.rice.kns.util.KualiDecimal getCurrencyTotal()
           
 int getReceiptCount()
           
 org.kuali.rice.kns.util.KualiDecimal getSumTotal()
          Returns total of all check, coin, and currency totals
 void setCheckTotal(org.kuali.rice.kns.util.KualiDecimal checkTotal)
          Sets the checkTotal attribute value.
 void setCoinTotal(org.kuali.rice.kns.util.KualiDecimal coinTotal)
          Sets the coinTotal attribute value.
 void setCurrencyTotal(org.kuali.rice.kns.util.KualiDecimal currencyTotal)
          Sets the currencyTotal attribute value.
 void setReceiptCount(int receiptCount)
          Sets the receiptCount attribute value.
 void setSumTotal(org.kuali.rice.kns.util.KualiDecimal total)
          This method doesn't do anything but appease the demands of POJO form population...I mean...er...this sets the sum total, now doesn't it?
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

receiptCount

protected int receiptCount

checkTotal

protected org.kuali.rice.kns.util.KualiDecimal checkTotal

currencyTotal

protected org.kuali.rice.kns.util.KualiDecimal currencyTotal

coinTotal

protected org.kuali.rice.kns.util.KualiDecimal coinTotal
Constructor Detail

CashManagementForm.CashDrawerSummary.CashReceiptStatistics

public CashManagementForm.CashDrawerSummary.CashReceiptStatistics()
Constructs a SubSummary.

Method Detail

add

public void add(CashReceiptDocument receipt)
Increments the counter by 1, and the various totals by the amounts in the given CashReceiptDocument

Parameters:
receipt -

clear

public void clear()
Zeros counter and totals.


getSumTotal

public org.kuali.rice.kns.util.KualiDecimal getSumTotal()
Returns total of all check, coin, and currency totals


setSumTotal

public void setSumTotal(org.kuali.rice.kns.util.KualiDecimal total)
This method doesn't do anything but appease the demands of POJO form population...I mean...er...this sets the sum total, now doesn't it?

Parameters:
total - total you want this method to ignore

getCheckTotal

public org.kuali.rice.kns.util.KualiDecimal getCheckTotal()
Returns:
current value of checkTotal.

setCheckTotal

public void setCheckTotal(org.kuali.rice.kns.util.KualiDecimal checkTotal)
Sets the checkTotal attribute value.

Parameters:
checkTotal - The checkTotal to set.

getCoinTotal

public org.kuali.rice.kns.util.KualiDecimal getCoinTotal()
Returns:
current value of coinTotal.

setCoinTotal

public void setCoinTotal(org.kuali.rice.kns.util.KualiDecimal coinTotal)
Sets the coinTotal attribute value.

Parameters:
coinTotal - The coinTotal to set.

getCurrencyTotal

public org.kuali.rice.kns.util.KualiDecimal getCurrencyTotal()
Returns:
current value of currencyTotal.

setCurrencyTotal

public void setCurrencyTotal(org.kuali.rice.kns.util.KualiDecimal currencyTotal)
Sets the currencyTotal attribute value.

Parameters:
currencyTotal - The currencyTotal to set.

getReceiptCount

public int getReceiptCount()
Returns:
current value of receiptCount.

setReceiptCount

public void setReceiptCount(int receiptCount)
Sets the receiptCount attribute value.

Parameters:
receiptCount - The receiptCount to set.

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


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