****/
  public static String getUnitForAsset(Inventory invAsset) {    LogisticsInventoryPG logInvPG = (LogisticsInventoryPG) invAsset.searchForPropertyGroup(LogisticsInventoryPG.class);    SupplyClassPG pg = (SupplyClassPG) logInvPG.getResource().searchForPropertyGroup(SupplyClassPG.class);    String supplyType = pg.getSupplyType();    if (supplyType.equals(SUBSISTENCE_SUPPLY_TYPE)) {      String itemId = invAsset.getItemIdentificationPG().getItemIdentification();      int idx = itemId.indexOf(':');      itemId = itemId.substring(idx + 1);      if (itemId.equals(WATER_ITEM_ID)) {        return WATER_UNIT;      } else {        return SUBSISTENCE_UNIT;      }    } else if (supplyType.equals(BULK_POL_SUPPLY_TYPE)) {      return BULK_POL_UNIT;    } else if (supplyType.equals(PACKAGED_POL_SUPPLY_TYPE)) {      return PACKAGED_POL_UNIT;    } else if (supplyType.equals(AMMUNITION_SUPPLY_TYPE)) {      return AMMUNITION_UNIT;    } else if (supplyType.equals(CONSUMABLE_SUPPLY_TYPE)) {      return CONSUMABLE_UNIT;    }    return "UNKNOWN UNIT";  }