|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.fp.document.web.struts.CashManagementForm.CashDrawerSummary.CashReceiptStatistics
public static final class CashManagementForm.CashDrawerSummary.CashReceiptStatistics
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 |
---|
protected int receiptCount
protected org.kuali.rice.kns.util.KualiDecimal checkTotal
protected org.kuali.rice.kns.util.KualiDecimal currencyTotal
protected org.kuali.rice.kns.util.KualiDecimal coinTotal
Constructor Detail |
---|
public CashManagementForm.CashDrawerSummary.CashReceiptStatistics()
Method Detail |
---|
public void add(CashReceiptDocument receipt)
receipt
- public void clear()
public org.kuali.rice.kns.util.KualiDecimal getSumTotal()
public void setSumTotal(org.kuali.rice.kns.util.KualiDecimal total)
total
- total you want this method to ignorepublic org.kuali.rice.kns.util.KualiDecimal getCheckTotal()
public void setCheckTotal(org.kuali.rice.kns.util.KualiDecimal checkTotal)
checkTotal
- The checkTotal to set.public org.kuali.rice.kns.util.KualiDecimal getCoinTotal()
public void setCoinTotal(org.kuali.rice.kns.util.KualiDecimal coinTotal)
coinTotal
- The coinTotal to set.public org.kuali.rice.kns.util.KualiDecimal getCurrencyTotal()
public void setCurrencyTotal(org.kuali.rice.kns.util.KualiDecimal currencyTotal)
currencyTotal
- The currencyTotal to set.public int getReceiptCount()
public void setReceiptCount(int receiptCount)
receiptCount
- The receiptCount to set.public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |