|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.kfs.fp.businessobject.CurrencyDetail
public class CurrencyDetail
Represents a breakdown of currency amounts (i.e. $100, $50, $20, etc.)
Field Summary |
---|
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
CurrencyDetail()
Default constructor. |
Method Summary | |
---|---|
void |
add(CurrencyDetail detail)
This method adds the amounts from the given currency detail record to this one |
String |
getCashieringRecordSource()
Gets the cashieringRecordSource attribute. |
String |
getDocumentNumber()
Gets the documentNumber attribute. |
Integer |
getFiftyDollarCount()
Returns the actual count of fifty dollar bills |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentFiftyDollarAmount()
Gets the financialDocumentFiftyDollarAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentFiveDollarAmount()
Gets the financialDocumentFiveDollarAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentHundredDollarAmount()
Gets the financialDocumentHundredDollarAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentOneDollarAmount()
Gets the financialDocumentOneDollarAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentOtherDollarAmount()
Gets the financialDocumentOtherDollarAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentTenDollarAmount()
Gets the financialDocumentTenDollarAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentTwentyDollarAmount()
Gets the financialDocumentTwentyDollarAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentTwoDollarAmount()
Gets the financialDocumentTwoDollarAmount attribute. |
String |
getFinancialDocumentTypeCode()
Gets the financialDocumentTypeCode attribute. |
Integer |
getFiveDollarCount()
Returns the actual count of five dollar bills |
Integer |
getHundredDollarCount()
Returns the actual count of hundred dollar bills |
Integer |
getOneDollarCount()
Returns the actual count of one dollar bills |
Integer |
getTenDollarCount()
Returns the actual count of ten dollar bills |
org.kuali.rice.kns.util.KualiDecimal |
getTotalAmount()
This method calculates the total amount represented by all the currency listed in this detail record |
Integer |
getTwentyDollarCount()
Returns the actual count of twenty dollar bills |
Integer |
getTwoDollarCount()
Returns the actual count of two dollar bills |
boolean |
isEmpty()
Does this currency detail actually have any information in it? |
void |
setCashieringRecordSource(String financialDocumentColumnTypeCode)
Sets the cashieringRecordSource attribute. |
void |
setDocumentNumber(String documentNumber)
Sets the documentNumber attribute. |
void |
setFiftyDollarCount(Integer count)
This sets the count of hundred dollar bills present in the drawer |
void |
setFinancialDocumentFiftyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiftyDollarAmount)
Sets the financialDocumentFiftyDollarAmount attribute. |
void |
setFinancialDocumentFiveDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiveDollarAmount)
Sets the financialDocumentFiveDollarAmount attribute. |
void |
setFinancialDocumentHundredDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentHundredDollarAmount)
Sets the financialDocumentHundredDollarAmount attribute. |
void |
setFinancialDocumentOneDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOneDollarAmount)
Sets the financialDocumentOneDollarAmount attribute. |
void |
setFinancialDocumentOtherDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherDollarAmount)
Sets the financialDocumentOtherDollarAmount attribute. |
void |
setFinancialDocumentTenDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTenDollarAmount)
Sets the financialDocumentTenDollarAmount attribute. |
void |
setFinancialDocumentTwentyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwentyDollarAmount)
Sets the financialDocumentTwentyDollarAmount attribute. |
void |
setFinancialDocumentTwoDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwoDollarAmount)
Sets the financialDocumentTwoDollarAmount attribute. |
void |
setFinancialDocumentTypeCode(String financialDocumentTypeCode)
Sets the financialDocumentTypeCode attribute. |
void |
setFiveDollarCount(Integer count)
This sets the count of five dollar bills present in the drawer |
void |
setHundredDollarCount(Integer count)
This sets the count of hundred dollar bills present in the drawer |
void |
setOneDollarCount(Integer count)
This sets the count of one dollar bills present in the drawer |
void |
setTenDollarCount(Integer count)
This sets the count of ten dollar bills present in the drawer |
void |
setTwentyDollarCount(Integer count)
This sets the count of twenty dollar bills present in the drawer |
void |
setTwoDollarCount(Integer count)
This sets the count of two dollar bills present in the drawer |
void |
subtract(CurrencyDetail detail)
This method subtracts the given currency detail from this one |
protected LinkedHashMap |
toStringMapper()
|
void |
zeroOutAmounts()
This method sets all the amounts to zero |
void |
zeroOutUnpopulatedAmounts()
This method sets all amounts that are null to zero |
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
---|
prepareForWorkflow, toString, toStringBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject |
---|
prepareForWorkflow |
Constructor Detail |
---|
public CurrencyDetail()
Method Detail |
---|
public String getDocumentNumber()
public void setDocumentNumber(String documentNumber)
documentNumber
- The documentNumber to set.public String getFinancialDocumentTypeCode()
public void setFinancialDocumentTypeCode(String financialDocumentTypeCode)
financialDocumentTypeCode
- The financialDocumentTypeCode to set.public String getCashieringRecordSource()
public void setCashieringRecordSource(String financialDocumentColumnTypeCode)
cashieringRecordSource
- The cashieringRecordSource to set.public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentHundredDollarAmount()
public void setFinancialDocumentHundredDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentHundredDollarAmount)
financialDocumentHundredDollarAmount
- The financialDocumentHundredDollarAmount to set.public Integer getHundredDollarCount()
public void setHundredDollarCount(Integer count)
count
- the number of hundred dollar bills present in the drawerpublic org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiftyDollarAmount()
public void setFinancialDocumentFiftyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiftyDollarAmount)
financialDocumentFiftyDollarAmount
- The financialDocumentFiftyDollarAmount to set.public Integer getFiftyDollarCount()
public void setFiftyDollarCount(Integer count)
count
- the number of hundred dollar bills present in the drawerpublic org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTwentyDollarAmount()
public void setFinancialDocumentTwentyDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwentyDollarAmount)
financialDocumentTwentyDollarAmount
- The financialDocumentTwentyDollarAmount to set.public Integer getTwentyDollarCount()
public void setTwentyDollarCount(Integer count)
count
- the number of twenty dollar bills present in the drawerpublic org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTenDollarAmount()
public void setFinancialDocumentTenDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTenDollarAmount)
financialDocumentTenDollarAmount
- The financialDocumentTenDollarAmount to set.public Integer getTenDollarCount()
public void setTenDollarCount(Integer count)
count
- the number of ten dollar bills present in the drawerpublic org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentFiveDollarAmount()
public void setFinancialDocumentFiveDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiveDollarAmount)
financialDocumentFiveDollarAmount
- The financialDocumentFiveDollarAmount to set.public Integer getFiveDollarCount()
public void setFiveDollarCount(Integer count)
count
- the number of five dollar bills present in the drawerpublic org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentTwoDollarAmount()
public void setFinancialDocumentTwoDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTwoDollarAmount)
financialDocumentTwoDollarAmount
- The financialDocumentTwoDollarAmount to set.public Integer getTwoDollarCount()
public void setTwoDollarCount(Integer count)
count
- the number of two dollar bills present in the drawerpublic org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOneDollarAmount()
public void setFinancialDocumentOneDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOneDollarAmount)
financialDocumentOneDollarAmount
- The financialDocumentOneDollarAmount to set.public Integer getOneDollarCount()
public void setOneDollarCount(Integer count)
count
- the number of one dollar bills present in the drawerpublic org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentOtherDollarAmount()
public void setFinancialDocumentOtherDollarAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherDollarAmount)
financialDocumentOtherDollarAmount
- The financialDocumentOtherDollarAmount to set.public org.kuali.rice.kns.util.KualiDecimal getTotalAmount()
public void zeroOutAmounts()
public void zeroOutUnpopulatedAmounts()
public void add(CurrencyDetail detail)
detail
- the currency detail to add onto thispublic void subtract(CurrencyDetail detail)
detail
- the detail to subtractpublic boolean isEmpty()
protected LinkedHashMap toStringMapper()
toStringMapper
in class org.kuali.rice.kns.bo.BusinessObjectBase
BusinessObjectBase.toStringMapper()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |