public class OriginEntryTotals extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected org.kuali.rice.core.api.util.type.KualiDecimal | creditAmount | 
| protected org.kuali.rice.core.api.util.type.KualiDecimal | debitAmount | 
| protected int | numCreditEntries | 
| protected int | numDebitEntries | 
| protected int | numOtherEntries | 
| protected org.kuali.rice.core.api.util.type.KualiDecimal | otherAmount | 
| Constructor and Description | 
|---|
| OriginEntryTotals() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addToTotals(Iterator<OriginEntryFull> entries)This method adds amount from origin entries and increments number totals for the appropriate type
 (i.e. | 
| void | addToTotals(OriginEntryFull originEntry)This method adds amount from origin entry and increments number totals for the appropriate type (i.e. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getCreditAmount()Gets the creditAmount attribute. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getDebitAmount()Gets the debitAmount attribute. | 
| int | getNumCreditEntries()Gets the numCreditEntries attribute. | 
| int | getNumDebitEntries()Gets the numDebitEntries attribute. | 
| int | getNumOtherEntries()Gets the numOtherEntries attribute. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getOtherAmount()Gets the otherAmount attribute. | 
| void | incorporateTotals(OriginEntryTotals anotherTotals)Adds up the values in the parameter totals object to the corresponding fields in this object | 
| void | setCreditAmount(org.kuali.rice.core.api.util.type.KualiDecimal creditAmount)Sets the creditAmount attribute value. | 
| void | setDebitAmount(org.kuali.rice.core.api.util.type.KualiDecimal debitAmount)Sets the debitAmount attribute value. | 
| void | setNumCreditEntries(int numCreditEntries)Sets the numCreditEntries attribute value. | 
| void | setNumDebitEntries(int numDebitEntries)Sets the numDebitEntries attribute value. | 
| void | setNumOtherEntries(int numOtherEntries)Sets the numOtherEntries attribute value. | 
| void | setOtherAmount(org.kuali.rice.core.api.util.type.KualiDecimal otherAmount)Sets the otherAmount attribute value. | 
protected org.kuali.rice.core.api.util.type.KualiDecimal creditAmount
protected org.kuali.rice.core.api.util.type.KualiDecimal debitAmount
protected org.kuali.rice.core.api.util.type.KualiDecimal otherAmount
protected int numCreditEntries
protected int numDebitEntries
protected int numOtherEntries
public OriginEntryTotals()
public org.kuali.rice.core.api.util.type.KualiDecimal getCreditAmount()
public void setCreditAmount(org.kuali.rice.core.api.util.type.KualiDecimal creditAmount)
creditAmount - The creditAmount to set.public org.kuali.rice.core.api.util.type.KualiDecimal getDebitAmount()
public void setDebitAmount(org.kuali.rice.core.api.util.type.KualiDecimal debitAmount)
debitAmount - The debitAmount to set.public int getNumCreditEntries()
public void setNumCreditEntries(int numCreditEntries)
numCreditEntries - The numCreditEntries to set.public int getNumDebitEntries()
public void setNumDebitEntries(int numDebitEntries)
numDebitEntries - The numDebitEntries to set.public int getNumOtherEntries()
public void setNumOtherEntries(int numOtherEntries)
numOtherEntries - The numOtherEntries to set.public org.kuali.rice.core.api.util.type.KualiDecimal getOtherAmount()
public void setOtherAmount(org.kuali.rice.core.api.util.type.KualiDecimal otherAmount)
otherAmount - The otherAmount to set.public void addToTotals(Iterator<OriginEntryFull> entries)
entries - public void addToTotals(OriginEntryFull originEntry)
entry - public void incorporateTotals(OriginEntryTotals anotherTotals)
anotherTotals - another OriginEntryTotals to add to this OriginEntryTotals totalsCopyright © 2004–2015 The Kuali Foundation. All rights reserved.