@ModelAttribute("types")
    public Collection<PetType> populatePetTypes() {
        return this.clinicService.findPetTypes();
    }
@author Juergen Hoeller
@author Ken Krebs
@author Arjen Poutsma
src/main/java/org/springframework/samples/petclinic/web/PetController.java