private GenericValue toGenericValue(RewardType rt) {
   Map<String, Object> map = new HashMap<String, Object>();
   map.put(ID_FIELD, rt.getId());
   map.put(NAME_FIELD, rt.getName());
   map.put(NAMEPL_FIELD, rt.getNamePluralForm());
   map.put(DESC_FIELD, rt.getDescription());
   map.put(ICON_FIELD, rt.getIconURL());
   return delegator.makeValue(ENTITY, map);
 }
 private GenericPK makePk(long id) {
   Map<String, Object> map = new HashMap<String, Object>();
   map.put(ID_FIELD, id);
   return delegator.makePK(ENTITY, map);
 }