public class CoinDetail extends org.kuali.rice.krad.bo.PersistableBusinessObjectBase
Constructor and Description |
---|
CoinDetail()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(CoinDetail detail) |
String |
getCashieringStatus()
Gets the cashieringStatus attribute.
|
String |
getDocumentNumber()
Gets the documentNumber attribute.
|
Integer |
getFiftyCentCount()
Returns the number of half-cent coins in the drawer
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiftyCentAmount()
Gets the financialDocumentFiftyCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentFiveCentAmount()
Gets the financialDocumentFiveCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentHundredCentAmount()
Gets the financialDocumentHundredCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOneCentAmount()
Gets the financialDocumentOneCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentOtherCentAmount()
Gets the financialDocumentOtherCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTenCentAmount()
Gets the financialDocumentTenCentAmount attribute.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getFinancialDocumentTwentyFiveCentAmount()
Gets the financialDocumentTwentyFiveCentAmount attribute.
|
String |
getFinancialDocumentTypeCode()
Gets the financialDocumentTypeCode attribute.
|
Integer |
getFiveCentCount()
Returns the number of nickels in the drawer
|
Integer |
getHundredCentCount()
Returns the number of dollar coins--Sacajawea, Susan B.
|
Integer |
getOneCentCount()
Returns the number of pennies in the drawer
|
Integer |
getTenCentCount()
Returns the number of dimes in the drawer
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalAmount()
Returns the total amount represented by this coin detail record.
|
Integer |
getTwentyFiveCentCount()
Returns the number of quarters in the drawer
|
boolean |
isEmpty()
Is this coin detail empty of any value?
|
void |
setCashieringStatus(String financialDocumentColumnTypeCode)
Sets the cashieringStatus attribute.
|
void |
setDocumentNumber(String documentNumber)
Sets the documentNumber attribute.
|
void |
setFiftyCentCount(Integer count)
Sets the number of fifty cent coins in the drawer.
|
void |
setFinancialDocumentFiftyCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiftyCentAmount)
Sets the financialDocumentFiftyCentAmount attribute.
|
void |
setFinancialDocumentFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiveCentAmount)
Sets the financialDocumentFiveCentAmount attribute.
|
void |
setFinancialDocumentHundredCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentHundredCentAmount)
Sets the financialDocumentHundredCentAmount attribute.
|
void |
setFinancialDocumentOneCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOneCentAmount)
Sets the financialDocumentOneCentAmount attribute.
|
void |
setFinancialDocumentOtherCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherCentAmount)
Sets the financialDocumentOtherCentAmount attribute.
|
void |
setFinancialDocumentTenCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTenCentAmount)
Sets the financialDocumentTenCentAmount attribute.
|
void |
setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwentyFiveCentAmount)
Sets the financialDocumentTwentyFiveCentAmount attribute.
|
void |
setFinancialDocumentTypeCode(String financialDocumentTypeCode)
Sets the financialDocumentTypeCode attribute.
|
void |
setFiveCentCount(Integer count)
Sets the number of nickels in the drawer
|
void |
setHundredCentCount(Integer count)
Sets the number of hundred cent coins in the drawer
|
void |
setOneCentCount(Integer count)
Sets the number of pennies in the drawer
|
void |
setTenCentCount(Integer count)
Sets the number of dimes in the drawer
|
void |
setTwentyFiveCentCount(Integer count)
Sets the number of quarters in the drawer
|
void |
subtract(CoinDetail detail) |
protected LinkedHashMap |
toStringMapper_RICE20_REFACTORME() |
void |
zeroOutAmounts()
This method sets all amounts in this record 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 CoinDetail()
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 getFinancialDocumentFiftyCentAmount()
public void setFinancialDocumentFiftyCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiftyCentAmount)
financialDocumentFiftyCentAmount
- The financialDocumentFiftyCentAmount to set.public Integer getFiftyCentCount()
public void setFiftyCentCount(Integer count)
count
- the number of fifty cent coins present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentTwentyFiveCentAmount()
public void setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTwentyFiveCentAmount)
financialDocumentTwentyFiveCentAmount
- The financialDocumentTwentyFiveCentAmount to set.public Integer getTwentyFiveCentCount()
public void setTwentyFiveCentCount(Integer count)
count
- the number of quarters present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentTenCentAmount()
public void setFinancialDocumentTenCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentTenCentAmount)
financialDocumentTenCentAmount
- The financialDocumentTenCentAmount to set.public Integer getTenCentCount()
public void setTenCentCount(Integer count)
count
- the number of dimes present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentFiveCentAmount()
public void setFinancialDocumentFiveCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentFiveCentAmount)
financialDocumentFiveCentAmount
- The financialDocumentFiveCentAmount to set.public Integer getFiveCentCount()
public void setFiveCentCount(Integer count)
count
- the number of nickels present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentOneCentAmount()
public void setFinancialDocumentOneCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOneCentAmount)
financialDocumentOneCentAmount
- The financialDocumentOneCentAmount to set.public Integer getOneCentCount()
public void setOneCentCount(Integer count)
count
- the number of pennies present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentOtherCentAmount()
public void setFinancialDocumentOtherCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentOtherCentAmount)
financialDocumentOtherCentAmount
- The financialDocumentOtherCentAmount to set.public org.kuali.rice.core.api.util.type.KualiDecimal getFinancialDocumentHundredCentAmount()
public void setFinancialDocumentHundredCentAmount(org.kuali.rice.core.api.util.type.KualiDecimal financialDocumentHundredCentAmount)
financialDocumentHundredCentAmount
- The financialDocumentHundredCentAmount to set.public Integer getHundredCentCount()
public void setHundredCentCount(Integer count)
count
- the number of hundred cent coins present in the drawerpublic org.kuali.rice.core.api.util.type.KualiDecimal getTotalAmount()
public void zeroOutAmounts()
public void zeroOutUnpopulatedAmounts()
public void add(CoinDetail detail)
public void subtract(CoinDetail detail)
public boolean isEmpty()
protected LinkedHashMap toStringMapper_RICE20_REFACTORME()
org.kuali.rice.krad.bo.BusinessObjectBase#toStringMapper()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.