@Override
 public PetType parse(String text, Locale locale) throws ParseException {
   Collection<PetType> findPetTypes = this.clinicService.findPetTypes();
   for (PetType type : findPetTypes) {
     if (type.getName().equals(text)) {
       return type;
     }
   }
   throw new ParseException("type not found: " + text, 0);
 }
 @Override
 public String print(PetType petType, Locale locale) {
   return petType.getName();
 }