|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.siebel.rf.offline.data.branchcurrencytotals.BranchCurrencyTotals
The BranchCurrencyTotals persisted class
Field Summary | |
java.lang.String |
branchCode
|
java.lang.String |
companyCode
|
java.lang.String |
currency
|
java.lang.Double |
eodCoinTotal
|
java.lang.Double |
eodNotesTotal
|
java.lang.Double |
eodRunningTotal
|
static java.util.HashMap |
MAPPING
|
java.lang.Double |
permittedVariance
|
static java.util.ArrayList |
PK_ATTRBUTES
|
Constructor Summary | |
BranchCurrencyTotals()
|
Method Summary | |
void |
addTotals(java.lang.Double totalNotes,
java.lang.Double totalCoin,
java.lang.Double runningTotal)
Updates BranchCurrencyTotals object with each individual currency box total. |
java.lang.Boolean |
checkPermittedVariance(java.lang.Double amount)
Checks Permitted Variance |
void |
createBranchCurrencyTotalsSnapshot(java.lang.String snapshotType,
java.lang.String date)
Creates a snapshot of the Branch Currency Totals |
boolean |
equals(java.lang.Object object)
Compares object |
java.lang.String |
getBranchCode()
Returns branchCode |
java.lang.String |
getCompanyCode()
Returns companyCode |
java.lang.String |
getCurrency()
Returns currency |
java.lang.Double |
getEodCoinTotal()
Returns eodCoinTotal |
java.lang.Double |
getEodNotesTotal()
Returns eodNotesTotal |
java.lang.Double |
getEodRunningTotal()
Returns eodRunningTotal |
java.util.HashMap |
getMapping()
Returns attributes vs. |
java.lang.Double |
getPermittedVariance()
Returns permittedVariance |
java.util.ArrayList |
getPKAttributes()
Returns collection of primary key attributes |
java.lang.String |
getTableName()
Returns tableName of BranchCurrencyTotal |
void |
setBranchCode(java.lang.String branchCode)
Sets branchCode |
void |
setCompanyCode(java.lang.String companyCode)
Sets companyCode |
void |
setCurrency(java.lang.String currency)
Sets currency |
void |
setEodCoinTotal(java.lang.Double eodCoinTotal)
Sets eodCoinTotal |
void |
setEodNotesTotal(java.lang.Double eodNotesTotal)
Sets eodNotesTotal |
void |
setEodRunningTotal(java.lang.Double eodRunningTotal)
Sets eodRunningTotal |
void |
setPermittedVariance(java.lang.Double permittedVariance)
Sets permittedVariance |
com.bankframe.bo.DataPacket |
toDataPacket()
Creates dataPacket for BranchCurrencyTotal |
java.lang.String |
toString()
Converts DataPacket to String |
void |
updateCurrencyTotals(java.lang.Double totalNoteValue,
java.lang.Double totalCoinValue,
java.lang.Double runningTotal)
Updates Currency Totals |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.Double eodNotesTotal
public java.lang.Double eodCoinTotal
public java.lang.Double eodRunningTotal
public java.lang.String companyCode
public java.lang.String currency
public java.lang.String branchCode
public java.lang.Double permittedVariance
public static java.util.HashMap MAPPING
public static java.util.ArrayList PK_ATTRBUTES
Constructor Detail |
public BranchCurrencyTotals()
Method Detail |
public java.lang.Double getEodNotesTotal()
public java.lang.Double getEodCoinTotal()
public java.lang.Double getEodRunningTotal()
public java.lang.String getCompanyCode()
public java.lang.String getCurrency()
public java.lang.String getBranchCode()
public java.lang.Double getPermittedVariance()
public void setEodNotesTotal(java.lang.Double eodNotesTotal)
eodNotesTotal
- Doublepublic void setEodCoinTotal(java.lang.Double eodCoinTotal)
eodCoinTotal
- Doublepublic void setEodRunningTotal(java.lang.Double eodRunningTotal)
eodRunningTotal
- Doublepublic void setCompanyCode(java.lang.String companyCode)
companyCode
- Stringpublic void setCurrency(java.lang.String currency)
currency
- Stringpublic void setBranchCode(java.lang.String branchCode)
branchCodecurrency
- Stringpublic void setPermittedVariance(java.lang.Double permittedVariance)
permittedVariance
- Doublepublic java.util.HashMap getMapping()
getMapping
in interface Persisted
public java.util.ArrayList getPKAttributes()
getPKAttributes
in interface Persisted
public java.lang.String getTableName()
getTableName
in interface Persisted
public com.bankframe.bo.DataPacket toDataPacket()
toDataPacket
in interface Persisted
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- Objectpublic void updateCurrencyTotals(java.lang.Double totalNoteValue, java.lang.Double totalCoinValue, java.lang.Double runningTotal) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
totalNoteValue
- DoubletotalCoinValue
- DoublerunningTotal
- Doublecom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.lang.Boolean checkPermittedVariance(java.lang.Double amount)
amount
- Doublepublic void createBranchCurrencyTotalsSnapshot(java.lang.String snapshotType, java.lang.String date) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
snapshotType
- Stringdate
- Stringcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void addTotals(java.lang.Double totalNotes, java.lang.Double totalCoin, java.lang.Double runningTotal) throws com.bankframe.validation.ValidationException
totalNotes
- DoubletotalCoin
- DoublerunningTotal
- Doublecom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |