|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.gl.businessobject.LedgerEntry
public class LedgerEntry
A representation of LedgerEntries, which are summaries that show up on Ledger Reports created by the scrubber and poster.
Constructor Summary | |
---|---|
LedgerEntry()
Constructs a LedgerEntry.java. |
|
LedgerEntry(Integer fiscalYear,
String period,
String balanceType,
String originCode)
Constructs a LedgerEntry.java. |
|
LedgerEntry(Integer fiscalYear,
String period,
String balanceType,
String originCode,
String debitCreditCode,
org.kuali.rice.kns.util.KualiDecimal amount,
int count)
Constructs a LedgerEntry.java. |
Method Summary | |
---|---|
void |
add(LedgerEntry addend)
Add the amounts of the given ledger entry into those of current ledger entry, and update the counts of corresponding fields |
static LedgerEntry |
buildLedgerEntry(Object[] entrySummary)
create or update a ledger entry with the array of information from the given entry summary object |
String |
getBalanceType()
Gets the balanceType attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getCreditAmount()
Gets the creditAmount attribute. |
int |
getCreditCount()
Gets the creditCount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getDebitAmount()
Gets the debitAmount attribute. |
int |
getDebitCount()
Gets the debitCount attribute. |
Integer |
getFiscalYear()
Gets the fiscalYear attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getNoDCAmount()
Gets the noDCAmount attribute. |
int |
getNoDCCount()
Gets the noDCCount attribute. |
String |
getOriginCode()
Gets the originCode attribute. |
String |
getPeriod()
Gets the period attribute. |
int |
getRecordCount()
Gets the recordCount attribute. |
void |
setBalanceType(String balanceType)
Sets the balanceType attribute value. |
void |
setCreditAmount(org.kuali.rice.kns.util.KualiDecimal creditAmount)
Sets the creditAmount attribute value. |
void |
setCreditCount(int creditCount)
Sets the creditCount attribute value. |
void |
setDebitAmount(org.kuali.rice.kns.util.KualiDecimal debitAmount)
Sets the debitAmount attribute value. |
void |
setDebitCount(int debitCount)
Sets the debitCount attribute value. |
void |
setFiscalYear(Integer fiscalYear)
Sets the fiscalYear attribute value. |
void |
setNoDCAmount(org.kuali.rice.kns.util.KualiDecimal noDCAmount)
Sets the noDCAmount attribute value. |
void |
setNoDCCount(int noDCCount)
Sets the noDCCount attribute value. |
void |
setOriginCode(String originCode)
Sets the originCode attribute value. |
void |
setPeriod(String period)
Sets the period attribute value. |
void |
setRecordCount(int recordCount)
Sets the recordCount attribute value. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LedgerEntry()
public LedgerEntry(Integer fiscalYear, String period, String balanceType, String originCode)
fiscalYear
- period
- balanceType
- originCode
- public LedgerEntry(Integer fiscalYear, String period, String balanceType, String originCode, String debitCreditCode, org.kuali.rice.kns.util.KualiDecimal amount, int count)
fiscalYear
- period
- balanceType
- originCode
- debitCreditCode
- amount
- count
- Method Detail |
---|
public void add(LedgerEntry addend)
addend
- the given ledger entry to be added into current onepublic static LedgerEntry buildLedgerEntry(Object[] entrySummary)
entrySummary
- an entry summary to turn into a ledger entry
public String getBalanceType()
public void setBalanceType(String balanceType)
balanceType
- The balanceType to set.public org.kuali.rice.kns.util.KualiDecimal getCreditAmount()
public void setCreditAmount(org.kuali.rice.kns.util.KualiDecimal creditAmount)
creditAmount
- The creditAmount to set.public int getCreditCount()
public void setCreditCount(int creditCount)
creditCount
- The creditCount 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 getDebitCount()
public void setDebitCount(int debitCount)
debitCount
- The debitCount to set.public Integer getFiscalYear()
public void setFiscalYear(Integer fiscalYear)
fiscalYear
- The fiscalYear to set.public org.kuali.rice.kns.util.KualiDecimal getNoDCAmount()
public void setNoDCAmount(org.kuali.rice.kns.util.KualiDecimal noDCAmount)
noDCAmount
- The noDCAmount to set.public int getNoDCCount()
public void setNoDCCount(int noDCCount)
noDCCount
- The noDCCount to set.public String getOriginCode()
public void setOriginCode(String originCode)
originCode
- The originCode to set.public String getPeriod()
public void setPeriod(String period)
period
- The period to set.public int getRecordCount()
public void setRecordCount(int recordCount)
recordCount
- The recordCount 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 |