Esempio n. 1
0
  @Override
  protected Object[] getParameterizedFieldsValues() {

    AAIRecordDataModel aAIRecordDataModel = getMyDataModel();

    Object[] object =
        new Object[] {
          aAIRecordDataModel.getEvent(),
          aAIRecordDataModel.getDescription(),
          aAIRecordDataModel.getType(),
          aAIRecordDataModel.getApp(),
          aAIRecordDataModel.getReference(),
          aAIRecordDataModel.getTranType(),
          aAIRecordDataModel.getUserDefined(),
          aAIRecordDataModel.getTranAmount(),
          aAIRecordDataModel.getDispTranRef(),
          aAIRecordDataModel.getDispCreditAc(),
          aAIRecordDataModel.getDispTranDate(),
          aAIRecordDataModel.getDispAddRef(),
          aAIRecordDataModel.getDispSqn(),
          aAIRecordDataModel.getSupTQ(),
          aAIRecordDataModel.getSupFE(),
          aAIRecordDataModel.getChargeEvent(),
          aAIRecordDataModel.getSupEFC(),
          aAIRecordDataModel.getSupTranAudTrail(),
        };

    return object;
  }
Esempio n. 2
0
  @Override
  protected Hashtable<String, AbsRecord> createHashtableRecordModel(List<AbsRecord> records) {
    Hashtable<String, AbsRecord> results = null;

    AAIRecordDataModel AAIRecordDataModel;

    if (!records.isEmpty()) {

      results = new Hashtable<String, AbsRecord>();
    } else {

      return null;
    }

    for (AbsRecord absRecord : records) {
      AAIRecordDataModel = (AAIRecordDataModel) absRecord;
      results.put(AAIRecordDataModel.getEvent(), AAIRecordDataModel);
    }

    return results;
  }