SYMBOL INDEX (251 symbols across 45 files) FILE: src/main/java/org/springframework/samples/petclinic/PetClinicApplication.java class PetClinicApplication (line 28) | @SpringBootApplication method main (line 32) | public static void main(String[] args) { FILE: src/main/java/org/springframework/samples/petclinic/PetClinicRuntimeHints.java class PetClinicRuntimeHints (line 25) | public class PetClinicRuntimeHints implements RuntimeHintsRegistrar { method registerHints (line 27) | @Override FILE: src/main/java/org/springframework/samples/petclinic/model/BaseEntity.java class BaseEntity (line 32) | @MappedSuperclass method getId (line 39) | public Integer getId() { method setId (line 43) | public void setId(Integer id) { method isNew (line 47) | public boolean isNew() { FILE: src/main/java/org/springframework/samples/petclinic/model/NamedEntity.java class NamedEntity (line 30) | @MappedSuperclass method getName (line 37) | public String getName() { method setName (line 41) | public void setName(String name) { method toString (line 45) | @Override FILE: src/main/java/org/springframework/samples/petclinic/model/Person.java class Person (line 27) | @MappedSuperclass method getFirstName (line 38) | public String getFirstName() { method setFirstName (line 42) | public void setFirstName(String firstName) { method getLastName (line 46) | public String getLastName() { method setLastName (line 50) | public void setLastName(String lastName) { FILE: src/main/java/org/springframework/samples/petclinic/owner/Owner.java class Owner (line 47) | @Entity method getAddress (line 69) | public String getAddress() { method setAddress (line 73) | public void setAddress(String address) { method getCity (line 77) | public String getCity() { method setCity (line 81) | public void setCity(String city) { method getTelephone (line 85) | public String getTelephone() { method setTelephone (line 89) | public void setTelephone(String telephone) { method getPets (line 93) | public List getPets() { method addPet (line 97) | public void addPet(Pet pet) { method getPet (line 108) | public Pet getPet(String name) { method getPet (line 117) | public Pet getPet(Integer id) { method getPet (line 135) | public Pet getPet(String name, boolean ignoreNew) { method toString (line 147) | @Override method addVisit (line 164) | public void addVisit(Integer petId, Visit visit) { FILE: src/main/java/org/springframework/samples/petclinic/owner/OwnerController.java class OwnerController (line 48) | @Controller method OwnerController (line 55) | public OwnerController(OwnerRepository owners) { method setAllowedFields (line 59) | @InitBinder method findOwner (line 64) | @ModelAttribute("owner") method initCreationForm (line 72) | @GetMapping("/owners/new") method processCreationForm (line 77) | @PostMapping("/owners/new") method initFindForm (line 89) | @GetMapping("/owners/find") method processFindForm (line 94) | @GetMapping("/owners") method addPaginationModel (line 121) | private String addPaginationModel(int page, Model model, Page p... method findPaginatedForOwnersLastName (line 130) | private Page findPaginatedForOwnersLastName(int page, String la... method initUpdateOwnerForm (line 136) | @GetMapping("/owners/{ownerId}/edit") method processUpdateOwnerForm (line 141) | @PostMapping("/owners/{ownerId}/edit") method showOwner (line 166) | @GetMapping("/owners/{ownerId}") FILE: src/main/java/org/springframework/samples/petclinic/owner/OwnerRepository.java type OwnerRepository (line 36) | public interface OwnerRepository extends JpaRepository { method findByLastNameStartingWith (line 45) | Page findByLastNameStartingWith(String lastName, Pageable pagea... method findById (line 60) | Optional findById(Integer id); FILE: src/main/java/org/springframework/samples/petclinic/owner/Pet.java class Pet (line 44) | @Entity method setBirthDate (line 61) | public void setBirthDate(LocalDate birthDate) { method getBirthDate (line 65) | public LocalDate getBirthDate() { method getType (line 69) | public PetType getType() { method setType (line 73) | public void setType(PetType type) { method getVisits (line 77) | public Collection getVisits() { method addVisit (line 81) | public void addVisit(Visit visit) { FILE: src/main/java/org/springframework/samples/petclinic/owner/PetController.java class PetController (line 46) | @Controller method PetController (line 56) | public PetController(OwnerRepository owners, PetTypeRepository types) { method populatePetTypes (line 61) | @ModelAttribute("types") method findOwner (line 66) | @ModelAttribute("owner") method findPet (line 74) | @ModelAttribute("pet") method initOwnerBinder (line 88) | @InitBinder("owner") method initPetBinder (line 93) | @InitBinder("pet") method initCreationForm (line 98) | @GetMapping("/pets/new") method processCreationForm (line 105) | @PostMapping("/pets/new") method initUpdateForm (line 128) | @GetMapping("/pets/{petId}/edit") method processUpdateForm (line 133) | @PostMapping("/pets/{petId}/edit") method updatePetDetails (line 166) | private void updatePetDetails(Owner owner, Pet pet) { FILE: src/main/java/org/springframework/samples/petclinic/owner/PetType.java class PetType (line 26) | @Entity FILE: src/main/java/org/springframework/samples/petclinic/owner/PetTypeFormatter.java class PetTypeFormatter (line 36) | @Component method PetTypeFormatter (line 41) | public PetTypeFormatter(PetTypeRepository types) { method print (line 45) | @Override method parse (line 51) | @Override FILE: src/main/java/org/springframework/samples/petclinic/owner/PetTypeRepository.java type PetTypeRepository (line 30) | public interface PetTypeRepository extends JpaRepository cacheC... FILE: src/main/java/org/springframework/samples/petclinic/system/CrashController.java class CrashController (line 28) | @Controller method triggerException (line 31) | @GetMapping("/oups") FILE: src/main/java/org/springframework/samples/petclinic/system/WebConfiguration.java class WebConfiguration (line 23) | @Configuration method localeResolver (line 32) | @Bean method localeChangeInterceptor (line 44) | @Bean method addInterceptors (line 55) | @Override FILE: src/main/java/org/springframework/samples/petclinic/system/WelcomeController.java class WelcomeController (line 22) | @Controller method welcome (line 25) | @GetMapping("/") FILE: src/main/java/org/springframework/samples/petclinic/vet/Specialty.java class Specialty (line 28) | @Entity FILE: src/main/java/org/springframework/samples/petclinic/vet/Vet.java class Vet (line 43) | @Entity method getSpecialtiesInternal (line 52) | protected Set getSpecialtiesInternal() { method getSpecialties (line 59) | @XmlElement method getNrOfSpecialties (line 66) | public int getNrOfSpecialties() { method addSpecialty (line 70) | public void addSpecialty(Specialty specialty) { FILE: src/main/java/org/springframework/samples/petclinic/vet/VetController.java class VetController (line 35) | @Controller method VetController (line 40) | public VetController(VetRepository vetRepository) { method showVetList (line 44) | @GetMapping("/vets.html") method addPaginationModel (line 54) | private String addPaginationModel(int page, Page paginated, Model... method findPaginated (line 63) | private Page findPaginated(int page) { method showResourcesVetList (line 69) | @GetMapping({ "/vets" }) FILE: src/main/java/org/springframework/samples/petclinic/vet/VetRepository.java type VetRepository (line 38) | public interface VetRepository extends Repository { method findAll (line 44) | @Transactional(readOnly = true) method findAll (line 54) | @Transactional(readOnly = true) FILE: src/main/java/org/springframework/samples/petclinic/vet/Vets.java class Vets (line 30) | @XmlRootElement method getVetList (line 35) | @XmlElement FILE: src/main/resources/db/h2/schema.sql type vets (line 10) | CREATE TABLE vets ( type vets_last_name (line 15) | CREATE INDEX vets_last_name ON vets (last_name) type specialties (line 17) | CREATE TABLE specialties ( type specialties_name (line 21) | CREATE INDEX specialties_name ON specialties (name) type vet_specialties (line 23) | CREATE TABLE vet_specialties ( type types (line 30) | CREATE TABLE types ( type types_name (line 34) | CREATE INDEX types_name ON types (name) type owners (line 36) | CREATE TABLE owners ( type owners_last_name (line 44) | CREATE INDEX owners_last_name ON owners (last_name) type pets (line 46) | CREATE TABLE pets ( type pets_name (line 55) | CREATE INDEX pets_name ON pets (name) type visits (line 57) | CREATE TABLE visits ( type visits_pet_id (line 64) | CREATE INDEX visits_pet_id ON visits (pet_id) FILE: src/main/resources/db/mysql/schema.sql type vets (line 1) | CREATE TABLE IF NOT EXISTS vets ( type specialties (line 8) | CREATE TABLE IF NOT EXISTS specialties ( type vet_specialties (line 14) | CREATE TABLE IF NOT EXISTS vet_specialties ( type types (line 22) | CREATE TABLE IF NOT EXISTS types ( type owners (line 28) | CREATE TABLE IF NOT EXISTS owners ( type pets (line 38) | CREATE TABLE IF NOT EXISTS pets ( type visits (line 49) | CREATE TABLE IF NOT EXISTS visits ( FILE: src/main/resources/db/postgres/schema.sql type vets (line 1) | CREATE TABLE IF NOT EXISTS vets ( type vets (line 6) | CREATE INDEX ON vets (last_name) type specialties (line 8) | CREATE TABLE IF NOT EXISTS specialties ( type specialties (line 12) | CREATE INDEX ON specialties (name) type vet_specialties (line 14) | CREATE TABLE IF NOT EXISTS vet_specialties ( type types (line 20) | CREATE TABLE IF NOT EXISTS types ( type types (line 24) | CREATE INDEX ON types (name) type owners (line 26) | CREATE TABLE IF NOT EXISTS owners ( type owners (line 34) | CREATE INDEX ON owners (last_name) type pets (line 36) | CREATE TABLE IF NOT EXISTS pets ( type pets (line 43) | CREATE INDEX ON pets (name) type pets (line 44) | CREATE INDEX ON pets (owner_id) type visits (line 46) | CREATE TABLE IF NOT EXISTS visits ( type visits (line 52) | CREATE INDEX ON visits (pet_id) FILE: src/test/java/org/springframework/samples/petclinic/MySqlIntegrationTests.java class MySqlIntegrationTests (line 41) | @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT) method findAll (line 61) | @Test method ownerDetails (line 67) | @Test FILE: src/test/java/org/springframework/samples/petclinic/MysqlTestApplication.java class MysqlTestApplication (line 32) | @Configuration method container (line 35) | @ServiceConnection method main (line 42) | public static void main(String[] args) { FILE: src/test/java/org/springframework/samples/petclinic/PetClinicIntegrationTests.java class PetClinicIntegrationTests (line 34) | @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties ... method findAll (line 46) | @Test method ownerDetails (line 52) | @Test method ownerList (line 59) | @Test method main (line 66) | public static void main(String[] args) { FILE: src/test/java/org/springframework/samples/petclinic/PostgresIntegrationTests.java class PostgresIntegrationTests (line 51) | @SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties ... method available (line 66) | @BeforeAll method main (line 71) | public static void main(String[] args) { method findAll (line 81) | @Test method ownerDetails (line 87) | @Test class PropertiesLogger (line 94) | static class PropertiesLogger implements ApplicationListener> findPropertiesPropertySour... FILE: src/test/java/org/springframework/samples/petclinic/model/ValidatorTests.java class ValidatorTests (line 35) | class ValidatorTests { method createValidator (line 37) | private Validator createValidator() { method shouldNotValidateWhenFirstNameEmpty (line 43) | @Test FILE: src/test/java/org/springframework/samples/petclinic/owner/OwnerControllerTests.java class OwnerControllerTests (line 58) | @WebMvcTest(OwnerController.class) method george (line 71) | private Owner george() { method setup (line 90) | @BeforeEach method initCreationForm (line 104) | @Test method processCreationFormSuccess (line 112) | @Test method processCreationFormHasErrors (line 123) | @Test method initFindForm (line 134) | @Test method processFindFormSuccess (line 142) | @Test method processFindFormByLastName (line 149) | @Test method processFindFormNoOwnersFound (line 158) | @Test method initUpdateOwnerForm (line 170) | @Test method processUpdateOwnerFormSuccess (line 183) | @Test method processUpdateOwnerFormUnchangedSuccess (line 195) | @Test method processUpdateOwnerFormHasErrors (line 202) | @Test method showOwner (line 216) | @Test method processUpdateOwnerFormWithIdMismatch (line 231) | @Test FILE: src/test/java/org/springframework/samples/petclinic/owner/PetControllerTests.java class PetControllerTests (line 48) | @WebMvcTest(value = PetController.class, method setup (line 67) | @BeforeEach method initCreationForm (line 86) | @Test method processCreationFormSuccess (line 94) | @Test class ProcessCreationFormHasErrors (line 104) | @Nested method processCreationFormWithBlankName (line 107) | @Test method processCreationFormWithDuplicateName (line 120) | @Test method processCreationFormWithMissingPetType (line 133) | @Test method processCreationFormWithInvalidBirthDate (line 146) | @Test method initUpdateForm (line 162) | @Test method processUpdateFormSuccess (line 172) | @Test class ProcessUpdateFormHasErrors (line 182) | @Nested method processUpdateFormWithInvalidBirthDate (line 185) | @Test method processUpdateFormWithBlankName (line 197) | @Test FILE: src/test/java/org/springframework/samples/petclinic/owner/PetTypeFormatterTests.java class PetTypeFormatterTests (line 41) | @ExtendWith(MockitoExtension.class) method setup (line 50) | @BeforeEach method testPrint (line 55) | @Test method shouldParse (line 63) | @Test method shouldThrowParseException (line 70) | @Test method makePetTypes (line 82) | private List makePetTypes() { FILE: src/test/java/org/springframework/samples/petclinic/owner/PetValidatorTests.java class PetValidatorTests (line 39) | @ExtendWith(MockitoExtension.class) method setUp (line 57) | @BeforeEach method validate (line 65) | @Test class ValidateHasErrors (line 77) | @Nested method validateWithInvalidPetName (line 80) | @Test method validateWithInvalidPetType (line 92) | @Test method validateWithInvalidBirthDate (line 103) | @Test FILE: src/test/java/org/springframework/samples/petclinic/owner/VisitControllerTests.java class VisitControllerTests (line 43) | @WebMvcTest(VisitController.class) method init (line 58) | @BeforeEach method initNewVisitForm (line 67) | @Test method processNewVisitFormSuccess (line 74) | @Test method processNewVisitFormHasErrors (line 84) | @Test FILE: src/test/java/org/springframework/samples/petclinic/service/ClinicServiceTests.java class ClinicServiceTests (line 70) | @DataJpaTest method shouldFindOwnersByLastName (line 87) | @Test method shouldFindSingleOwnerWithPet (line 96) | @Test method shouldInsertOwner (line 107) | @Test method shouldUpdateOwner (line 126) | @Test method shouldFindAllPetTypes (line 145) | @Test method shouldInsertPetIntoDatabaseAndGenerateId (line 155) | @Test method shouldUpdatePetName (line 183) | @Test method shouldFindVets (line 204) | @Test method shouldAddNewVisitForPet (line 215) | @Test method shouldFindVisitsByPetId (line 235) | @Test FILE: src/test/java/org/springframework/samples/petclinic/service/EntityUtils.java class EntityUtils (line 33) | public abstract class EntityUtils { method getById (line 43) | public static T getById(Collection entities,... FILE: src/test/java/org/springframework/samples/petclinic/system/CrashControllerIntegrationTests.java class CrashControllerIntegrationTests (line 50) | @SpringBootTest(webEnvironment = RANDOM_PORT, method triggerExceptionJson (line 61) | @Test method triggerExceptionHtml (line 77) | @Test class TestConfiguration (line 95) | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, FILE: src/test/java/org/springframework/samples/petclinic/system/CrashControllerTests.java class CrashControllerTests (line 31) | class CrashControllerTests { method triggerException (line 35) | @Test FILE: src/test/java/org/springframework/samples/petclinic/system/I18nPropertiesSyncTest.java class I18nPropertiesSyncTest (line 25) | public class I18nPropertiesSyncTest { method checkNonInternationalizedStrings (line 39) | @Test method checkI18nPropertyFilesAreInSync (line 86) | @Test FILE: src/test/java/org/springframework/samples/petclinic/vet/VetControllerTests.java class VetControllerTests (line 43) | @WebMvcTest(VetController.class) method james (line 54) | private Vet james() { method helen (line 62) | private Vet helen() { method setup (line 74) | @BeforeEach method showVetListHtml (line 82) | @Test method showResourcesVetList (line 92) | @Test FILE: src/test/java/org/springframework/samples/petclinic/vet/VetTests.java class VetTests (line 26) | class VetTests { method serialization (line 28) | @Test