logger.debug("RepairParts: parsing results for MEI nsn: " + mei_nsn); typeid = "NSN/"+(String) row[1];
if (logger.isDebugEnabled()) { logger.debug("RepairParts: parsing results for MEI nsn: " + mei_nsn); } typeid = "NSN/" + (String) row[1];
  protected HashMap parseResults (Vector result) {    String mei_nsn, typeid, optempo;    double dcr;    Asset newAsset;    ArrayList spareParts = new ArrayList();    ArrayList rates = new ArrayList();    Enumeration results = result.elements();    Object row[];    for (int i=0; results.hasMoreElements() && (i < MAX_PARTS); i++) {      row = (Object [])results.nextElement();      mei_nsn = (String) row[0];      logger.debug("RepairParts: parsing results for MEI nsn: " + mei_nsn);      typeid = "NSN/"+(String) row[1];      newAsset = parentPlugin.getPrototype(typeid);      if (newAsset != null) {	optempo = (String) row[2]; // Query only retrieves HIGH optempo, ignore	dcr = ((BigDecimal) row[3]).doubleValue();	spareParts.add(newAsset);	rates.add(new Double(dcr));	logger.debug("parseResult() for part "+i+" "+newAsset+", MEI "+mei_nsn+		     ", DCR "+dcr+", Optempo "+optempo);      } else {	logger.debug("parseResult() could not getPrototype for "+typeid+", "+supplyType);      }    }    HashMap ratesMap = new HashMap();    ratesMap.put(PARTS, spareParts);    ratesMap.put(RATES, rates);    return ratesMap;  } // parseResults