|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.siebel.rf.offline.data.batch.Batch
The Batch persisted class
Field Summary | |
java.lang.Double |
batchAmount
|
java.lang.String |
batchDate
|
java.lang.String |
batchId
|
java.lang.String |
batchStatus
|
java.lang.String |
branchCode
|
java.lang.String |
cashBoxId
|
java.lang.String |
companyCode
|
java.lang.String |
currency
|
java.lang.String |
documentType
|
static java.util.HashMap |
MAPPING
|
java.lang.String |
numberOfNegotiableInstruments
|
static java.util.ArrayList |
PK_ATTRIBUTES
|
java.lang.String |
userId
|
Constructor Summary | |
Batch()
|
Method Summary | |
void |
addNegotiableInstrument(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO)
Adds negotiable instrument to a batch. |
void |
close()
Sets status of the batch to Closed. |
boolean |
equals(java.lang.Object object)
Compares object. |
java.lang.Double |
getBatchAmount()
Returns batchAmount |
java.lang.String |
getBatchDate()
Returns batchDate |
java.lang.String |
getBatchId()
Returns batchId |
java.lang.String |
getBatchState()
Returns batchState. |
java.lang.String |
getBatchStatus()
Returns batchStatus |
java.lang.String |
getBranchCode()
Returns branchCode |
java.lang.String |
getCashBoxId()
Returns cashBoxId |
java.lang.String |
getCompanyCode()
Returns companyCode |
java.lang.String |
getCurrency()
Returns currency |
java.lang.String |
getDocumentType()
Returns documentType |
java.util.HashMap |
getMapping()
Returns attributes vs. |
java.lang.String |
getNumberOfNegotiableInstruments()
Returns numberOfNegotiableInstruments |
java.util.ArrayList |
getPKAttributes()
Returns collection of primary key attributes |
java.lang.String |
getTableName()
Returns tableName of Batch |
java.lang.String |
getUserId()
Returns userId |
void |
setBatchAmount(java.lang.Double batchAmount)
Sets batchAmount |
void |
setBatchDate(java.lang.String batchDate)
Sets batchDate |
void |
setBatchId(java.lang.String batchId)
Sets batchId |
void |
setBatchStatus(java.lang.String batchStatus)
Sets batchStatus |
void |
setBranchCode(java.lang.String branchCode)
Sets branchCode |
void |
setcashBoxId(java.lang.String cashBoxId)
Sets cashBoxId |
void |
setCompanyCode(java.lang.String companyCode)
Sets companyCode |
void |
setCurrency(java.lang.String currency)
Sets currency |
void |
setDocumentType(java.lang.String documentType)
Sets documentType |
void |
setNumberOfNegotiableInstruments(java.lang.String numberOfNegotiableInstruments)
Sets numberOfNegotiableInstruments |
void |
setUserId(java.lang.String userId)
Sets userId |
com.bankframe.bo.DataPacket |
toDataPacket()
Creates dataPacket of Batch |
java.lang.String |
toString()
Converts DataPacket to String. |
void |
updateBatchUserId(java.lang.String userId)
Updates userId for the batch. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String companyCode
public java.lang.String branchCode
public java.lang.String batchId
public java.lang.String batchDate
public java.lang.String cashBoxId
public java.lang.String userId
public java.lang.String numberOfNegotiableInstruments
public java.lang.Double batchAmount
public java.lang.String currency
public java.lang.String batchStatus
public java.lang.String documentType
public static java.util.HashMap MAPPING
public static java.util.ArrayList PK_ATTRIBUTES
Constructor Detail |
public Batch()
Method Detail |
public java.lang.String getCompanyCode()
public java.lang.String getBranchCode()
public java.lang.String getBatchId()
public java.lang.String getBatchDate()
public java.lang.String getCashBoxId()
public java.lang.String getUserId()
public java.lang.String getNumberOfNegotiableInstruments()
public java.lang.Double getBatchAmount()
public java.lang.String getCurrency()
public java.lang.String getBatchStatus()
public java.lang.String getDocumentType()
public void setCompanyCode(java.lang.String companyCode)
companyCode
- Stringpublic void setBranchCode(java.lang.String branchCode)
branchCode
- Stringpublic void setBatchId(java.lang.String batchId)
batchId
- Stringpublic void setcashBoxId(java.lang.String cashBoxId)
cashBoxId
- Stringpublic void setUserId(java.lang.String userId)
userId
- Stringpublic void setNumberOfNegotiableInstruments(java.lang.String numberOfNegotiableInstruments)
numberOfNegotiableInstruments
- Stringpublic void setBatchAmount(java.lang.Double batchAmount)
batchAmount
- Doublepublic void setCurrency(java.lang.String currency)
currency
- Stringpublic void setBatchStatus(java.lang.String batchStatus)
batchStatus
- Stringpublic void setBatchDate(java.lang.String batchDate)
batchDate
- Stringpublic void setDocumentType(java.lang.String documentType)
documentType
- Stringpublic 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 updateBatchUserId(java.lang.String userId) throws com.bankframe.validation.ValidationException
userId
- Stringcom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void addNegotiableInstrument(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionNegotiableInstrumentVO financialTransactionNegotiableInstrumentVO) throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
financialTransactionNegotiableInstrument
- FinancialTransactionNegotiableInstrumentcom.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic java.lang.String getBatchState() throws com.bankframe.ejb.ProcessingErrorException, com.bankframe.validation.ValidationException
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation failspublic void close() throws com.bankframe.validation.ValidationException
com.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 |