/**
  * Gets all the reward types
  *
  * @return the reward
  */
 @Override
 public List<RewardType> getRewardTypes() {
   try {
     List<GenericValue> list = delegator.findAll(ENTITY);
     return fromGenericValue(list);
   } catch (GenericEntityException e) {
     String msg = "Could not load all rewards types ?!?";
     LOG.error(msg);
     throw new OfbizDataException(msg, e);
   }
 }