com.siebel.rf.offline.data.journalentry
Class JournalEntry

java.lang.Object
  |
  +--com.siebel.rf.offline.data.journalentry.JournalEntry
All Implemented Interfaces:
Persisted

public class JournalEntry
extends java.lang.Object
implements Persisted

The JournalEntry persisted class


Field Summary
 java.lang.String applicationId
           
 java.lang.String batchId
           
 java.lang.String branchCode
           
 java.lang.String cashBoxId
           
 java.lang.String companyCode
           
 java.lang.String currencyBoxId
           
 java.lang.String customerSessionId
           
 java.lang.String entryTime
           
 java.lang.Double interimDifference
           
 java.lang.Double interimTotal
           
 java.lang.String issuedBy
           
 java.lang.String journalDate
           
 java.lang.Double journalEntryAmount
           
 java.lang.String journalEntryCurrency
           
 java.lang.String journalEntryId
           
 java.lang.String journalEntryStatus
           
 java.lang.String journalEntryType
           
 java.lang.String journalStartTime
           
static java.util.HashMap MAPPING
           
 java.lang.String negotiableInstrumentBoxId
           
 java.lang.String nextJournalEntryItemSequenceNumber
           
 java.lang.String numberOfNegotiableInstruments
           
 java.lang.String originalJournalEntryId
           
 java.lang.String originalTransactionId
           
 java.lang.String otherDetails
           
 java.lang.String otherTellerId
           
 java.lang.String ownerId
           
 java.lang.String photoIdNumber
           
 java.lang.String photoIdType
           
static java.util.ArrayList PK_ATTRBUTES
           
 java.lang.String reconciliationNarrative
           
 java.lang.String transactionCode
           
 java.lang.String transactionDate
           
 java.lang.String transactionId
           
 java.lang.String transactionMode
           
 java.lang.String userId
           
 
Constructor Summary
JournalEntry()
           
 
Method Summary
 java.util.Vector calculateGetCashAmounts(java.util.Vector currenciesVector)
          Calculates cash amounts for each JouranlEntryItem
 void createJournalEntryItem(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionJournalEntryItemVO financialTransactionJournalEntryItemVO)
          Creates JournalEntryItem
 boolean equals(java.lang.Object object)
          Compares object
 java.lang.String getApplicationId()
          Returns applicationId
 java.lang.String getBatchId()
          Returns batchId
 java.lang.String getBranchCode()
          Returns branchCode
 java.lang.String getCashBoxId()
          Returns cashBoxId
 java.lang.String getCompanyCode()
          Returns companyCode
 java.lang.String getCurrencyBoxId()
          Returns currencyBoxId
 java.lang.String getCustomerSessionId()
          Returns customerSessionId
 java.lang.String getEntryTime()
          Returns entryTime
 java.lang.Double getInterimDifference()
          Returns interimDifference
 java.lang.Double getInterimTotal()
          Returns interimTotal
 java.lang.String getIssuedBy()
          Returns issuedBy
 java.lang.String getJournalDate()
          Returns journalDate
 java.lang.Double getJournalEntryAmount()
          Returns journalEntryAmount
 java.lang.String getJournalEntryCurrency()
          Returns journalEntryCurrency
 java.lang.String getJournalEntryId()
          Returns journalEntryId
 java.lang.String getJournalEntryStatus()
          Returns journalEntryStatus
 java.lang.String getJournalEntryType()
          Returns journalEntryType
 java.lang.String getJournalStartTime()
          Returns journalStartTime
 java.util.HashMap getMapping()
          Returns attributes vs.
 java.lang.String getNegotiableInstrumentBoxId()
          Returns negotiableInstrumentBoxId
 java.lang.String getNextJournalEntryItemSequenceNumber()
          Returns nextJournalEntryItemSequenceNumber
 java.lang.String getNumberOfNegotiableInstruments()
          Returns numberOfNegotiableInstruments
 java.lang.String getOriginalJournalEntryId()
          Returns originalJournalEntryId
 java.lang.String getOriginalTransactionId()
          Returns originalTransactionId
 java.lang.String getOtherDetails()
          Returns otherDetails
 java.lang.String getOtherTellerId()
          Returns otherTellerId
 java.lang.String getOwnerId()
          Returns ownerId
 java.lang.String getPhotoIdNumber()
          Returns photoIdNumber
 java.lang.String getPhotoIdType()
          Returns photoIdType
 java.util.ArrayList getPKAttributes()
          Returns collection of primary key attributes
 java.lang.String getReconciliationNarrative()
          Returns reconciliationNarrative
 java.lang.String getTableName()
          Returns table name of JournalEntry
 java.lang.String getTransactionCode()
          Returns transactionCode
 java.lang.String getTransactionDate()
          Returns transactionDate
 java.lang.String getTransactionId()
          Returns transactionId
 java.lang.String getTransactionMode()
          Returns transactionMode
 java.lang.String getUserId()
          Returns userId
 void setApplicationId(java.lang.String applicationId)
          Sets applicationId
 void setBatchId(java.lang.String batchId)
          Sets batchId
 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 setCurrencyBoxId(java.lang.String currencyBoxId)
          Sets currencyBoxId
 void setCustomerSessionId(java.lang.String customerSessionId)
          Sets customerSessionId
 void setEntryTime(java.lang.String entryTime)
          Sets entryTime
 void setInterimDifference(java.lang.Double interimDifference)
          Sets interimDifference
 void setInterimTotal(java.lang.Double interimTotal)
          Sets interimTotal
 void setIssuedBy(java.lang.String issuedBy)
          Sets issuedBy
 void setJournalDate(java.lang.String journalDate)
          Sets journalDate
 void setJournalEntryAmount(java.lang.Double journalEntryAmount)
          Sets journalEntryAmount
 void setJournalEntryCurrency(java.lang.String journalEntryCurrency)
          Sets journalEntryCurrency
 void setJournalEntryId(java.lang.String journalEntryId)
          Sets journalEntryId
 void setJournalEntryStatus(java.lang.String journalEntryStatus)
          Sets journalEntryStatus
 void setJournalEntryType(java.lang.String journalEntryType)
          Sets journalEntryType
 void setJournalStartTime(java.lang.String journalStartTime)
          Sets journalStartTime
 void setNegotiableInstrumentBoxId(java.lang.String negotiableInstrumentBoxId)
          Sets negotiableInstrumentBoxId
 void setNextJournalEntryItemSequenceNumber(java.lang.String nextJournalEntryItemSequenceNumber)
          Sets nextJournalEntryItemSequenceNumber
 void setNumberOfNegotiableInstruments(java.lang.String numberOfNegotiableInstruments)
          Sets numberOfNegotiableInstruments
 void setOriginalJournalEntryId(java.lang.String originalJournalEntryId)
          Sets originalJournalEntryId
 void setOtherDetails(java.lang.String otherDetails)
          Sets otherDetails
 void setOtherTellerId(java.lang.String otherTellerId)
          Sets otherTellerId
 void setOwnerId(java.lang.String ownerId)
          Sets ownerId
 void setPhotoIdNumber(java.lang.String photoIdNumber)
          Sets photoIdNumber
 void setPhotoIdType(java.lang.String photoIdType)
          Sets photoIdType
 void setReconciliationNarrative(java.lang.String reconciliationNarrative)
          Sets reconciliationNarrative
 void setTransactionCode(java.lang.String transactionCode)
          Sets transactionCode
 void setTransactionDate(java.lang.String transactionDate)
          Sets transactionDate
 void setTransactionId(java.lang.String transactionId)
          Sets transactionId
 void setTransactionMode(java.lang.String transactionMode)
          Sets transactionMode
 void setUserId(java.lang.String userId)
          Sets userId
 com.bankframe.bo.DataPacket toDataPacket()
          Creates datapacket for JournalEntry
 java.lang.String toString()
          Converts DataPacket to String
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

companyCode

public java.lang.String companyCode

journalEntryId

public java.lang.String journalEntryId

journalDate

public java.lang.String journalDate

journalStartTime

public java.lang.String journalStartTime

branchCode

public java.lang.String branchCode

userId

public java.lang.String userId

journalEntryCurrency

public java.lang.String journalEntryCurrency

journalEntryAmount

public java.lang.Double journalEntryAmount

journalEntryStatus

public java.lang.String journalEntryStatus

nextJournalEntryItemSequenceNumber

public java.lang.String nextJournalEntryItemSequenceNumber

entryTime

public java.lang.String entryTime

journalEntryType

public java.lang.String journalEntryType

otherTellerId

public java.lang.String otherTellerId

numberOfNegotiableInstruments

public java.lang.String numberOfNegotiableInstruments

photoIdNumber

public java.lang.String photoIdNumber

photoIdType

public java.lang.String photoIdType

transactionDate

public java.lang.String transactionDate

cashBoxId

public java.lang.String cashBoxId

currencyBoxId

public java.lang.String currencyBoxId

transactionCode

public java.lang.String transactionCode

customerSessionId

public java.lang.String customerSessionId

interimTotal

public java.lang.Double interimTotal

interimDifference

public java.lang.Double interimDifference

transactionId

public java.lang.String transactionId

originalTransactionId

public java.lang.String originalTransactionId

batchId

public java.lang.String batchId

transactionMode

public java.lang.String transactionMode

applicationId

public java.lang.String applicationId

ownerId

public java.lang.String ownerId

negotiableInstrumentBoxId

public java.lang.String negotiableInstrumentBoxId

issuedBy

public java.lang.String issuedBy

otherDetails

public java.lang.String otherDetails

reconciliationNarrative

public java.lang.String reconciliationNarrative

originalJournalEntryId

public java.lang.String originalJournalEntryId

MAPPING

public static java.util.HashMap MAPPING

PK_ATTRBUTES

public static java.util.ArrayList PK_ATTRBUTES
Constructor Detail

JournalEntry

public JournalEntry()
Method Detail

getCompanyCode

public java.lang.String getCompanyCode()
Returns companyCode
Returns:
the value of companyCode

getJournalEntryId

public java.lang.String getJournalEntryId()
Returns journalEntryId
Returns:
the value of journalEntryId

getJournalDate

public java.lang.String getJournalDate()
Returns journalDate
Returns:
the value of journalDate

getJournalStartTime

public java.lang.String getJournalStartTime()
Returns journalStartTime
Returns:
the value of journalStartTime

getBranchCode

public java.lang.String getBranchCode()
Returns branchCode
Returns:
the value of branchCode

getUserId

public java.lang.String getUserId()
Returns userId
Returns:
the value of userId

getJournalEntryCurrency

public java.lang.String getJournalEntryCurrency()
Returns journalEntryCurrency
Returns:
the value of journalEntryCurrency

getJournalEntryAmount

public java.lang.Double getJournalEntryAmount()
Returns journalEntryAmount
Returns:
the value of journalEntryAmount

getJournalEntryStatus

public java.lang.String getJournalEntryStatus()
Returns journalEntryStatus
Returns:
the value of journalEntryStatus

getNextJournalEntryItemSequenceNumber

public java.lang.String getNextJournalEntryItemSequenceNumber()
Returns nextJournalEntryItemSequenceNumber
Returns:
the value of nextJournalEntryItemSequenceNumber

getEntryTime

public java.lang.String getEntryTime()
Returns entryTime
Returns:
the value of entryTime

getJournalEntryType

public java.lang.String getJournalEntryType()
Returns journalEntryType
Returns:
the value of journalEntryType

getOtherTellerId

public java.lang.String getOtherTellerId()
Returns otherTellerId
Returns:
the value of otherTellerId

getNumberOfNegotiableInstruments

public java.lang.String getNumberOfNegotiableInstruments()
Returns numberOfNegotiableInstruments
Returns:
the value of numberOfNegotiableInstruments

getPhotoIdNumber

public java.lang.String getPhotoIdNumber()
Returns photoIdNumber
Returns:
the value of photoIdNumber

getPhotoIdType

public java.lang.String getPhotoIdType()
Returns photoIdType
Returns:
the value of photoIdType

getTransactionDate

public java.lang.String getTransactionDate()
Returns transactionDate
Returns:
the value of transactionDate

getCashBoxId

public java.lang.String getCashBoxId()
Returns cashBoxId
Returns:
the value of cashBoxId

getCurrencyBoxId

public java.lang.String getCurrencyBoxId()
Returns currencyBoxId
Returns:
the value of currencyBoxId

getTransactionCode

public java.lang.String getTransactionCode()
Returns transactionCode
Returns:
the value of transactionCode

getCustomerSessionId

public java.lang.String getCustomerSessionId()
Returns customerSessionId
Returns:
the value of customerSessionId

getInterimTotal

public java.lang.Double getInterimTotal()
Returns interimTotal
Returns:
the value of interimTotal

getInterimDifference

public java.lang.Double getInterimDifference()
Returns interimDifference
Returns:
the value of interimDifference

getTransactionId

public java.lang.String getTransactionId()
Returns transactionId
Returns:
the value of transactionId

getOriginalTransactionId

public java.lang.String getOriginalTransactionId()
Returns originalTransactionId
Returns:
the value of originalTransactionId

getBatchId

public java.lang.String getBatchId()
Returns batchId
Returns:
the value of batchId

getTransactionMode

public java.lang.String getTransactionMode()
Returns transactionMode
Returns:
the value of transactionMode

getApplicationId

public java.lang.String getApplicationId()
Returns applicationId
Returns:
the value of applicationId

getOwnerId

public java.lang.String getOwnerId()
Returns ownerId
Returns:
the value of ownerId

getNegotiableInstrumentBoxId

public java.lang.String getNegotiableInstrumentBoxId()
Returns negotiableInstrumentBoxId
Returns:
the value of negotiableInstrumentBoxId

getIssuedBy

public java.lang.String getIssuedBy()
Returns issuedBy
Returns:
the value of issuedBy

getOtherDetails

public java.lang.String getOtherDetails()
Returns otherDetails
Returns:
the value of otherDetails

getReconciliationNarrative

public java.lang.String getReconciliationNarrative()
Returns reconciliationNarrative
Returns:
the value of reconciliationNarrative

getOriginalJournalEntryId

public java.lang.String getOriginalJournalEntryId()
Returns originalJournalEntryId
Returns:
the value of originalJournalEntryId

setCompanyCode

public void setCompanyCode(java.lang.String companyCode)
Sets companyCode
Parameters:
companyCode - String

setJournalEntryId

public void setJournalEntryId(java.lang.String journalEntryId)
Sets journalEntryId
Parameters:
journalEntryId - String

setJournalDate

public void setJournalDate(java.lang.String journalDate)
Sets journalDate
Parameters:
journalDate - String

setJournalStartTime

public void setJournalStartTime(java.lang.String journalStartTime)
Sets journalStartTime
Parameters:
journalStartTime - String

setBranchCode

public void setBranchCode(java.lang.String branchCode)
Sets branchCode
Parameters:
branchCode - String

setUserId

public void setUserId(java.lang.String userId)
Sets userId
Parameters:
userId - String

setJournalEntryCurrency

public void setJournalEntryCurrency(java.lang.String journalEntryCurrency)
Sets journalEntryCurrency
Parameters:
journalEntryCurrency - String

setJournalEntryAmount

public void setJournalEntryAmount(java.lang.Double journalEntryAmount)
Sets journalEntryAmount
Parameters:
journalEntryAmount - Double

setJournalEntryStatus

public void setJournalEntryStatus(java.lang.String journalEntryStatus)
Sets journalEntryStatus
Parameters:
journalEntryStatus - String

setNextJournalEntryItemSequenceNumber

public void setNextJournalEntryItemSequenceNumber(java.lang.String nextJournalEntryItemSequenceNumber)
Sets nextJournalEntryItemSequenceNumber
Parameters:
nextJournalEntryItemSequenceNumber - String

setEntryTime

public void setEntryTime(java.lang.String entryTime)
Sets entryTime
Parameters:
entryTime - String

setJournalEntryType

public void setJournalEntryType(java.lang.String journalEntryType)
Sets journalEntryType
Parameters:
journalEntryType - String

setOtherTellerId

public void setOtherTellerId(java.lang.String otherTellerId)
Sets otherTellerId
Parameters:
otherTellerId - String

setNumberOfNegotiableInstruments

public void setNumberOfNegotiableInstruments(java.lang.String numberOfNegotiableInstruments)
Sets numberOfNegotiableInstruments
Parameters:
numberOfNegotiableInstruments - String

setPhotoIdNumber

public void setPhotoIdNumber(java.lang.String photoIdNumber)
Sets photoIdNumber
Parameters:
photoIdNumber - String

setPhotoIdType

public void setPhotoIdType(java.lang.String photoIdType)
Sets photoIdType
Parameters:
photoIdType - String

setTransactionDate

public void setTransactionDate(java.lang.String transactionDate)
Sets transactionDate
Parameters:
transactionDate - String

setCashBoxId

public void setCashBoxId(java.lang.String cashBoxId)
Sets cashBoxId
Parameters:
cashBoxId - String

setCurrencyBoxId

public void setCurrencyBoxId(java.lang.String currencyBoxId)
Sets currencyBoxId
Parameters:
currencyBoxId - String

setTransactionCode

public void setTransactionCode(java.lang.String transactionCode)
Sets transactionCode
Parameters:
transactionCode - String

setCustomerSessionId

public void setCustomerSessionId(java.lang.String customerSessionId)
Sets customerSessionId
Parameters:
customerSessionId - String

setInterimTotal

public void setInterimTotal(java.lang.Double interimTotal)
Sets interimTotal
Parameters:
interimTotal - Double

setInterimDifference

public void setInterimDifference(java.lang.Double interimDifference)
Sets interimDifference
Parameters:
interimDifference - Double

setTransactionId

public void setTransactionId(java.lang.String transactionId)
Sets transactionId
Parameters:
transactionId - String

setBatchId

public void setBatchId(java.lang.String batchId)
Sets batchId
Parameters:
batchId - String

setTransactionMode

public void setTransactionMode(java.lang.String transactionMode)
Sets transactionMode
Parameters:
transactionMode - String

setApplicationId

public void setApplicationId(java.lang.String applicationId)
Sets applicationId
Parameters:
applicationId - String

setOwnerId

public void setOwnerId(java.lang.String ownerId)
Sets ownerId
Parameters:
ownerId - String

setNegotiableInstrumentBoxId

public void setNegotiableInstrumentBoxId(java.lang.String negotiableInstrumentBoxId)
Sets negotiableInstrumentBoxId
Parameters:
negotiableInstrumentBoxId - String

setIssuedBy

public void setIssuedBy(java.lang.String issuedBy)
Sets issuedBy
Parameters:
issuedBy - String

setOtherDetails

public void setOtherDetails(java.lang.String otherDetails)
Sets otherDetails
Parameters:
otherDetails - String

setReconciliationNarrative

public void setReconciliationNarrative(java.lang.String reconciliationNarrative)
Sets reconciliationNarrative
Parameters:
reconciliationNarrative - String

setOriginalJournalEntryId

public void setOriginalJournalEntryId(java.lang.String originalJournalEntryId)
Sets originalJournalEntryId
Parameters:
originalJournalEntryId - String

getMapping

public java.util.HashMap getMapping()
Returns attributes vs. table column name mapping
Specified by:
getMapping in interface Persisted
Returns:
the attributes vs. table column name mapping

getPKAttributes

public java.util.ArrayList getPKAttributes()
Returns collection of primary key attributes
Specified by:
getPKAttributes in interface Persisted
Returns:
the collection of primary key attributes

getTableName

public java.lang.String getTableName()
Returns table name of JournalEntry
Specified by:
getTableName in interface Persisted
Returns:
the table name

toDataPacket

public com.bankframe.bo.DataPacket toDataPacket()
Creates datapacket for JournalEntry
Specified by:
toDataPacket in interface Persisted
Returns:
DataPacket

toString

public java.lang.String toString()
Converts DataPacket to String
Overrides:
toString in class java.lang.Object
Returns:
String after converting the DataPacket to String

equals

public boolean equals(java.lang.Object object)
Compares object
Overrides:
equals in class java.lang.Object
Parameters:
object - Object
Returns:
boolean after comparing the object

createJournalEntryItem

public void createJournalEntryItem(com.bankframe.vo.retail.solutionset.impl.financialtransactions.FinancialTransactionJournalEntryItemVO financialTransactionJournalEntryItemVO)
                            throws com.bankframe.ejb.ProcessingErrorException,
                                   com.bankframe.validation.ValidationException
Creates JournalEntryItem
Parameters:
financialTransactionJournalEntryItemVO - FinancialTransactionJournalEntryItemVO
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails
com.bankframe.validation.ValidationException - This exception is thrown if validation fails

calculateGetCashAmounts

public java.util.Vector calculateGetCashAmounts(java.util.Vector currenciesVector)
                                         throws com.bankframe.ejb.ProcessingErrorException
Calculates cash amounts for each JouranlEntryItem
Parameters:
currenciesVector - Vector
Returns:
cash amounts after calculating for each JouranlEntryItem
Throws:
com.bankframe.ejb.ProcessingErrorException - This exception is thrown if processing fails