this.date = date;
this.accountNumberInteger = accountId;
}
protected void execute(PrevalentSystem system) throws BusinessException {
ExtractBankItem extract = new ExtractBankItem(bankOperationNumber, description, value, date);
extract.setAccount(getAccount(system));
extract.setAccountNumber(accountNumberStr);
if(relatedOperationId != null) {
extract.setRelatedOperation(system.getOperations().get(relatedOperationId));
}
if(relatedIncomingId != null) {
extract.setRelatedIncoming(system.getIncoming().get(relatedIncomingId));
}
if(relatedExpenditureId != null) {
extract.setRelatedExpenditure(system.getExpenditure().get(relatedExpenditureId));
}
system.getExtractItemMap().put(extract.getId(), extract);
}