public class CurrencyDetail extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
Constructor and Description |
---|
CurrencyDetail()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(CurrencyDetail detail)
This method adds the amounts from the given currency detail record to this one
|
String |
getCashieringStatus()
Gets the cashieringStatus attribute.
|
String |
getDocumentNumber()
Gets the documentNumber attribute.
|
Integer |
getFiftyDollarCount()
Returns the actual count of fifty dollar bills
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiftyDollarAmount()
Gets the financialDocumentFiftyDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiveDollarAmount()
Gets the financialDocumentFiveDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentHundredDollarAmount()
Gets the financialDocumentHundredDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOneDollarAmount()
Gets the financialDocumentOneDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOtherDollarAmount()
Gets the financialDocumentOtherDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTenDollarAmount()
Gets the financialDocumentTenDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTwentyDollarAmount()
Gets the financialDocumentTwentyDollarAmount attribute.
|
org.kuali.rice.core.api.util.type.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.core.api.util.type.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 |
setCashieringStatus(String financialDocumentColumnTypeCode)
Sets the cashieringStatus 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.core.api.util.type.KualiDecimal financialDocumentFiftyDollarAmount)
Sets the financialDocumentFiftyDollarAmount attribute.
|
void |
setFinancialDocumentFiveDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiveDollarAmount)
Sets the financialDocumentFiveDollarAmount attribute.
|
void |
setFinancialDocumentHundredDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentHundredDollarAmount)
Sets the financialDocumentHundredDollarAmount attribute.
|
void |
setFinancialDocumentOneDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOneDollarAmount)
Sets the financialDocumentOneDollarAmount attribute.
|
void |
setFinancialDocumentOtherDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherDollarAmount)
Sets the financialDocumentOtherDollarAmount attribute.
|
void |
setFinancialDocumentTenDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTenDollarAmount)
Sets the financialDocumentTenDollarAmount attribute.
|
void |
setFinancialDocumentTwentyDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwentyDollarAmount)
Sets the financialDocumentTwentyDollarAmount attribute.
|
void |
setFinancialDocumentTwoDollarAmount(org.kuali.rice.core.api.util.type.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_RICE20_REFACTORME() |
void |
zeroOutAmounts()
This method sets all the amounts to zero
|
void |
zeroOutUnpopulatedAmounts()
This method sets all amounts that are null to zero
|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
public CurrencyDetail()
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 getCashieringStatus()
public void setCashieringStatus(String financialDocumentColumnTypeCode)
cashieringStatus
- The cashieringStatus to set.public org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentHundredDollarAmount()
public void setFinancialDocumentHundredDollarAmount(org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getFinancialDocumentFiftyDollarAmount()
public void setFinancialDocumentFiftyDollarAmount(org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getFinancialDocumentTwentyDollarAmount()
public void setFinancialDocumentTwentyDollarAmount(org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getFinancialDocumentTenDollarAmount()
public void setFinancialDocumentTenDollarAmount(org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getFinancialDocumentFiveDollarAmount()
public void setFinancialDocumentFiveDollarAmount(org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getFinancialDocumentTwoDollarAmount()
public void setFinancialDocumentTwoDollarAmount(org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getFinancialDocumentOneDollarAmount()
public void setFinancialDocumentOneDollarAmount(org.kuali.rice.core.api.util.type.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.core.api.util.type.KualiDecimal getFinancialDocumentOtherDollarAmount()
public void setFinancialDocumentOtherDollarAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherDollarAmount)
financialDocumentOtherDollarAmount
- The financialDocumentOtherDollarAmount to set.public org.kuali.rice.core.api.util.type.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_RICE20_REFACTORME()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
Copyright © 2004–2016 The Kuali Foundation. All rights reserved.