|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.batch.service.impl.OriginEntryTotals
public class OriginEntryTotals
This class holds information about the sums of a list of origin entries. This information includes total credit amount, debit amount, other amount, number of credit entries, number of debit entries, and number of "other" entries
Field Summary | |
---|---|
protected org.kuali.rice.kns.util.KualiDecimal |
creditAmount
|
protected org.kuali.rice.kns.util.KualiDecimal |
debitAmount
|
protected int |
numCreditEntries
|
protected int |
numDebitEntries
|
protected int |
numOtherEntries
|
protected org.kuali.rice.kns.util.KualiDecimal |
otherAmount
|
Constructor Summary | |
---|---|
OriginEntryTotals()
|
Method Summary | |
---|---|
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.kns.util.KualiDecimal |
getCreditAmount()
Gets the creditAmount attribute. |
org.kuali.rice.kns.util.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.kns.util.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.kns.util.KualiDecimal creditAmount)
Sets the creditAmount attribute value. |
void |
setDebitAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal otherAmount)
Sets the otherAmount attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.kuali.rice.kns.util.KualiDecimal creditAmount
protected org.kuali.rice.kns.util.KualiDecimal debitAmount
protected org.kuali.rice.kns.util.KualiDecimal otherAmount
protected int numCreditEntries
protected int numDebitEntries
protected int numOtherEntries
Constructor Detail |
---|
public OriginEntryTotals()
Method Detail |
---|
public org.kuali.rice.kns.util.KualiDecimal getCreditAmount()
public void setCreditAmount(org.kuali.rice.kns.util.KualiDecimal creditAmount)
creditAmount
- The creditAmount to set.public org.kuali.rice.kns.util.KualiDecimal getDebitAmount()
public void setDebitAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal getOtherAmount()
public void setOtherAmount(org.kuali.rice.kns.util.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 totals
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |