public EquipmentListFacadeImpl(List<Equipment> list) {
   equipmentList = new ArrayList<>(list);
   quantityMap = new HashMap<>();
   for (Equipment equipment : list) {
     quantityMap.put(equipment, equipment.getQty().intValue());
   }
 }
 /**
  * Refresh the equipment list facade with the supplied data.
  *
  * @param list The new list of equipment.
  */
 public void refresh(List<Equipment> list) {
   equipmentList = new ArrayList<>(list);
   quantityMap = new HashMap<>();
   for (Equipment equipment : list) {
     quantityMap.put(equipment, equipment.getQty().intValue());
   }
   fireElementsChanged(this);
 }