|
||||||||||
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.CoinDetail
public class CoinDetail
This class contains the coin breakdown for coin inserted into a cash drawer
Field Summary |
---|
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
CoinDetail()
Default constructor. |
Method Summary | |
---|---|
void |
add(CoinDetail detail)
|
String |
getCashieringRecordSource()
Gets the cashieringRecordSource attribute. |
String |
getDocumentNumber()
Gets the documentNumber attribute. |
Integer |
getFiftyCentCount()
Returns the number of half-cent coins in the drawer |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentFiftyCentAmount()
Gets the financialDocumentFiftyCentAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentFiveCentAmount()
Gets the financialDocumentFiveCentAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentHundredCentAmount()
Gets the financialDocumentHundredCentAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentOneCentAmount()
Gets the financialDocumentOneCentAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentOtherCentAmount()
Gets the financialDocumentOtherCentAmount attribute. |
org.kuali.rice.kns.util.KualiDecimal |
getFinancialDocumentTenCentAmount()
Gets the financialDocumentTenCentAmount attribute. |
org.kuali.rice.kns.util.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.kns.util.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 |
setCashieringRecordSource(String financialDocumentColumnTypeCode)
Sets the cashieringRecordSource 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.kns.util.KualiDecimal financialDocumentFiftyCentAmount)
Sets the financialDocumentFiftyCentAmount attribute. |
void |
setFinancialDocumentFiveCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentFiveCentAmount)
Sets the financialDocumentFiveCentAmount attribute. |
void |
setFinancialDocumentHundredCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentHundredCentAmount)
Sets the financialDocumentHundredCentAmount attribute. |
void |
setFinancialDocumentOneCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOneCentAmount)
Sets the financialDocumentOneCentAmount attribute. |
void |
setFinancialDocumentOtherCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherCentAmount)
Sets the financialDocumentOtherCentAmount attribute. |
void |
setFinancialDocumentTenCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentTenCentAmount)
Sets the financialDocumentTenCentAmount attribute. |
void |
setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.kns.util.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()
|
void |
zeroOutAmounts()
This method sets all amounts in this record 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 CoinDetail()
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 getFinancialDocumentFiftyCentAmount()
public void setFinancialDocumentFiftyCentAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal getFinancialDocumentTwentyFiveCentAmount()
public void setFinancialDocumentTwentyFiveCentAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal getFinancialDocumentTenCentAmount()
public void setFinancialDocumentTenCentAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal getFinancialDocumentFiveCentAmount()
public void setFinancialDocumentFiveCentAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal getFinancialDocumentOneCentAmount()
public void setFinancialDocumentOneCentAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal getFinancialDocumentOtherCentAmount()
public void setFinancialDocumentOtherCentAmount(org.kuali.rice.kns.util.KualiDecimal financialDocumentOtherCentAmount)
financialDocumentOtherCentAmount
- The financialDocumentOtherCentAmount to set.public org.kuali.rice.kns.util.KualiDecimal getFinancialDocumentHundredCentAmount()
public void setFinancialDocumentHundredCentAmount(org.kuali.rice.kns.util.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.kns.util.KualiDecimal getTotalAmount()
public void zeroOutAmounts()
public void zeroOutUnpopulatedAmounts()
public void add(CoinDetail detail)
public void subtract(CoinDetail detail)
public 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 |