return "UNKNOWN UNIT"; }
SupplyClassPG pg = (SupplyClassPG) logInvPG.getResource().searchForPropertyGroup(SupplyClassPG.class); String supplyType = pg.getSupplyType();  if (supplyType.equals(SUBSISTENCE_SUPPLY_TYPE)) { 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"; }
public static String getUnitForAsset(Asset invAsset) {	SupplyClassPG pg = (SupplyClassPG)invAsset.searchForPropertyGroup(SupplyClassPG.class);String supplyType = pg.getSupplyType();if(supplyType.equals(SUBSISTENCE_SUPPLY_TYPE)) {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";}