Index

A B C D E F G H I L O P R S U V 
All Classes and Interfaces|All Packages|Serialized Form

A

addPet(Pet) - Method in class petclinic.owners.Owner
 
addVisit(Visit) - Method in class petclinic.pets.Pet
 

B

BaseEntity - Class in petclinic.util
Base class for all entity types, containing the id property, which is automatically generated.
BaseEntity() - Constructor for class petclinic.util.BaseEntity
 

C

create(Pet, Visit) - Method in class petclinic.visits.VisitMaintenance
 
createOrUpdate(Owner) - Method in class petclinic.owners.OwnerMaintenance
 
createOrUpdateOwner() - Method in class petclinic.owners.OwnerScreen
 
createOrUpdatePet() - Method in class petclinic.pets.PetScreen
 
createOrUpdateVisit() - Method in class petclinic.visits.VisitScreen
 
createPet(Owner, Pet) - Method in class petclinic.pets.PetMaintenance
 

D

Database - Class in petclinic.util
Provides access to the application database, allowing transient instances of entity classes to be persisted, and persistent instances to be recovered or removed from the database.
Database() - Constructor for class petclinic.util.Database
 

E

equals(Object) - Method in class petclinic.util.BaseEntity
 

F

find(int, String, Object...) - Method in class petclinic.util.Database
Finds one or more persistent entities of a certain type in the application database, up to a given maximum number of entities.
find(String, Object...) - Method in class petclinic.util.Database
Finds one or more persistent entities of a certain type in the application database.
findAll() - Method in class petclinic.vets.VetMaintenance
 
findById(int) - Method in class petclinic.owners.OwnerMaintenance
 
findById(int) - Method in class petclinic.pets.PetMaintenance
 
findById(int) - Method in class petclinic.visits.VisitMaintenance
 
findById(Class<E>, int) - Method in class petclinic.util.Database
Finds an entity in the application database given its class and unique id.
findByLastName(String) - Method in class petclinic.owners.OwnerMaintenance
Finds the owners whose last name starts with the given name.
findByPetId(int) - Method in class petclinic.visits.VisitMaintenance
 
findOwners() - Method in class petclinic.owners.OwnerScreen
 
findPetTypes() - Method in class petclinic.pets.PetMaintenance
Finds all pet types.
firstName - Variable in class petclinic.util.Person
 

G

getAddress() - Method in class petclinic.owners.Owner
 
getBirthDate() - Method in class petclinic.pets.Pet
 
getCity() - Method in class petclinic.owners.Owner
 
getDate() - Method in class petclinic.visits.Visit
 
getDescription() - Method in class petclinic.visits.Visit
 
getFirstName() - Method in class petclinic.util.Person
 
getId() - Method in class petclinic.util.BaseEntity
 
getLastName() - Method in class petclinic.owners.OwnerScreen
 
getLastName() - Method in class petclinic.util.Person
 
getName() - Method in class petclinic.pets.Pet
 
getName() - Method in class petclinic.pets.PetType
 
getName() - Method in class petclinic.vets.Specialty
 
getNrOfSpecialties() - Method in class petclinic.vets.Vet
 
getOwner() - Method in class petclinic.owners.OwnerScreen
 
getOwner() - Method in class petclinic.pets.Pet
 
getOwners() - Method in class petclinic.owners.OwnerScreen
 
getPet() - Method in class petclinic.pets.PetScreen
 
getPet() - Method in class petclinic.visits.Visit
 
getPet() - Method in class petclinic.visits.VisitScreen
 
getPet(String) - Method in class petclinic.owners.Owner
Return the Pet with the given name, or null if none found for this Owner.
getPets() - Method in class petclinic.owners.Owner
 
getSpecialties() - Method in class petclinic.vets.Vet
 
getTelephone() - Method in class petclinic.owners.Owner
 
getType() - Method in class petclinic.pets.Pet
 
getTypes() - Method in class petclinic.pets.PetScreen
 
getVets() - Method in class petclinic.vets.VetScreen
 
getVisit() - Method in class petclinic.visits.VisitScreen
 
getVisits() - Method in class petclinic.pets.Pet
 
getVisits() - Method in class petclinic.visits.VisitScreen
 

H

hashCode() - Method in class petclinic.util.BaseEntity
 

I

id - Variable in class petclinic.util.BaseEntity
 
isNew() - Method in class petclinic.util.BaseEntity
 

L

lastName - Variable in class petclinic.util.Person
 

O

Owner - Class in petclinic.owners
A pet owner.
Owner() - Constructor for class petclinic.owners.Owner
 
OwnerMaintenance - Class in petclinic.owners
A domain service class for Owner-related business operations.
OwnerMaintenance() - Constructor for class petclinic.owners.OwnerMaintenance
 
OwnerScreen - Class in petclinic.owners
An application service class that handles Owner-related operations from the owner screen.
OwnerScreen() - Constructor for class petclinic.owners.OwnerScreen
 

P

Person - Class in petclinic.util
A person having a first and a last name.
Person() - Constructor for class petclinic.util.Person
 
Pet - Class in petclinic.pets
A pet.
Pet() - Constructor for class petclinic.pets.Pet
 
petclinic - package petclinic
A re-creation of the Spring PetClinic Sample Application, using Java EE 7 for UI controllers and business classes.
petclinic.owners - package petclinic.owners
 
petclinic.pets - package petclinic.pets
 
petclinic.util - package petclinic.util
 
petclinic.vets - package petclinic.vets
 
petclinic.visits - package petclinic.visits
 
PetMaintenance - Class in petclinic.pets
A domain service class for Pet-related business operations.
PetMaintenance() - Constructor for class petclinic.pets.PetMaintenance
 
PetScreen - Class in petclinic.pets
An application service class that handles Pet-related operations from the pet screen.
PetScreen() - Constructor for class petclinic.pets.PetScreen
 
PetType - Class in petclinic.pets
The type of a Pet (for example, "Dog").
PetType() - Constructor for class petclinic.pets.PetType
 

R

remove(BaseEntity) - Method in class petclinic.util.Database
Removes a given persistent entity from the application database.
requestNewOwner() - Method in class petclinic.owners.OwnerScreen
 
requestNewPet() - Method in class petclinic.pets.PetScreen
 
requestNewVisit() - Method in class petclinic.visits.VisitScreen
 

S

save(BaseEntity) - Method in class petclinic.util.Database
Saves the state of a given entity to the application database, whether it is new (still transient, with no id) or already persisted (with an id).
selectOwner(int) - Method in class petclinic.owners.OwnerScreen
 
selectOwner(int) - Method in class petclinic.pets.PetScreen
 
selectPet(int) - Method in class petclinic.pets.PetScreen
 
selectPet(int) - Method in class petclinic.visits.VisitScreen
 
selectVisit(int) - Method in class petclinic.visits.VisitScreen
 
setAddress(String) - Method in class petclinic.owners.Owner
 
setBirthDate(Date) - Method in class petclinic.pets.Pet
 
setCity(String) - Method in class petclinic.owners.Owner
 
setDate(Date) - Method in class petclinic.visits.Visit
 
setDescription(String) - Method in class petclinic.visits.Visit
 
setFirstName(String) - Method in class petclinic.util.Person
 
setId(Integer) - Method in class petclinic.util.BaseEntity
 
setLastName(String) - Method in class petclinic.owners.OwnerScreen
 
setLastName(String) - Method in class petclinic.util.Person
 
setName(String) - Method in class petclinic.pets.Pet
 
setName(String) - Method in class petclinic.pets.PetType
 
setName(String) - Method in class petclinic.vets.Specialty
 
setOwner(Owner) - Method in class petclinic.pets.Pet
 
setPet(Pet) - Method in class petclinic.visits.Visit
 
setTelephone(String) - Method in class petclinic.owners.Owner
 
setType(PetType) - Method in class petclinic.pets.Pet
 
showVetList() - Method in class petclinic.vets.VetScreen
 
showVisits() - Method in class petclinic.visits.VisitScreen
 
Specialty - Class in petclinic.vets
A Vet's specialty (for example, "Dentistry").
Specialty() - Constructor for class petclinic.vets.Specialty
 

U

updatePet(Pet) - Method in class petclinic.pets.PetMaintenance
 

V

Vet - Class in petclinic.vets
A veterinarian.
Vet() - Constructor for class petclinic.vets.Vet
 
VetMaintenance - Class in petclinic.vets
A domain service class for Vet-related business operations.
VetMaintenance() - Constructor for class petclinic.vets.VetMaintenance
 
VetScreen - Class in petclinic.vets
An application service class that handles Vet-related operations from the vet screen.
VetScreen() - Constructor for class petclinic.vets.VetScreen
 
Visit - Class in petclinic.visits
A visit from a pet and its owner to the clinic.
Visit() - Constructor for class petclinic.visits.Visit
Creates a new instance of Visit for the current date.
VisitMaintenance - Class in petclinic.visits
A domain service class for Visit-related business operations.
VisitMaintenance() - Constructor for class petclinic.visits.VisitMaintenance
 
VisitScreen - Class in petclinic.visits
An application service class that handles Visit-related operations from the visit screen.
VisitScreen() - Constructor for class petclinic.visits.VisitScreen
 
A B C D E F G H I L O P R S U V 
All Classes and Interfaces|All Packages|Serialized Form