Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AccountLoginLimitReachedException - Exception Class in jmockit.loginExample.domain.userLogin
- AccountLoginLimitReachedException() - Constructor for exception class jmockit.loginExample.domain.userLogin.AccountLoginLimitReachedException
- 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
- BusinessService - Class in java8testing
-
The Class BusinessService.
- BusinessService(Collaborator) - Constructor for class java8testing.BusinessService
-
Instantiates a new business service.
C
- Collaborator - Class in java8testing
-
The Class Collaborator.
- Collaborator() - Constructor for class java8testing.Collaborator
- 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 - Class in tutorial.persistence
-
This class is a static facade for persistence operations.
- Database() - Constructor for class petclinic.util.Database
- doBusinessOperationXyz() - Method in class tutorial.domain.MyBusinessService
- doSomething(int) - Method in class java8testing.Collaborator
-
Do something.
E
- EntityX - Class in tutorial.domain
- EntityX() - Constructor for class tutorial.domain.EntityX
- EntityX(int, String, String) - Constructor for class tutorial.domain.EntityX
- 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(Class<E>, Object) - Static method in class tutorial.persistence.Database
- find(String) - Static method in class jmockit.loginExample.domain.userAccount.UserAccount
- find(String, Object...) - Method in class petclinic.util.Database
-
Finds one or more persistent entities of a certain type in the application database.
- find(String, Object...) - Static method in class tutorial.persistence.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
- getCollaborator() - Method in class java8testing.BusinessService
-
Gets the collaborator.
- getCustomerEmail() - Method in class tutorial.domain.EntityX
- 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 jmockit.loginExample.domain.userAccount.UserAccount
- getId() - Method in class petclinic.util.BaseEntity
- getId() - Method in class tutorial.domain.EntityX
- 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
- getSomeProperty() - Method in class tutorial.domain.EntityX
- getSpecialties() - Method in class petclinic.vets.Vet
- getTelephone() - Method in class petclinic.owners.Owner
- getTotal() - Method in class tutorial.domain.EntityX
- 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
- isLoggedIn() - Method in class jmockit.loginExample.domain.userAccount.UserAccount
- isNew() - Method in class petclinic.util.BaseEntity
- isRevoked() - Method in class jmockit.loginExample.domain.userAccount.UserAccount
J
- java8testing - package java8testing
- jmockit.loginExample.domain.userAccount - package jmockit.loginExample.domain.userAccount
- jmockit.loginExample.domain.userLogin - package jmockit.loginExample.domain.userLogin
L
- lastName - Variable in class petclinic.util.Person
- login(String, String) - Method in class jmockit.loginExample.domain.userLogin.LoginService
- LoginService - Class in jmockit.loginExample.domain.userLogin
- LoginService() - Constructor for class jmockit.loginExample.domain.userLogin.LoginService
M
- MyBusinessService - Class in tutorial.domain
-
This class makes use of several idioms which would prevent unit testing with more "conventional" mocking tools.
- MyBusinessService(EntityX) - Constructor for class tutorial.domain.MyBusinessService
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
- passwordMatches(String) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
- performBusinessOperation(int) - Method in class java8testing.BusinessService
-
Perform business operation.
- persist(Object) - Static method in class tutorial.persistence.Database
- 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(Object) - Static method in class tutorial.persistence.Database
- 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
- setCustomerEmail(String) - Method in class tutorial.domain.EntityX
- 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
- setLoggedIn(boolean) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
- 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
- setPassword(String) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
- setPet(Pet) - Method in class petclinic.visits.Visit
- setRevoked(boolean) - Method in class jmockit.loginExample.domain.userAccount.UserAccount
- setSomeProperty(String) - Method in class tutorial.domain.EntityX
- setTelephone(String) - Method in class petclinic.owners.Owner
- setTotal(BigDecimal) - Method in class tutorial.domain.EntityX
- 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
T
- tutorial.domain - package tutorial.domain
- tutorial.persistence - package tutorial.persistence
U
- updatePet(Pet) - Method in class petclinic.pets.PetMaintenance
- UserAccount - Class in jmockit.loginExample.domain.userAccount
- UserAccount(String, String) - Constructor for class jmockit.loginExample.domain.userAccount.UserAccount
- UserAccountNotFoundException - Exception Class in jmockit.loginExample.domain.userLogin
- UserAccountNotFoundException() - Constructor for exception class jmockit.loginExample.domain.userLogin.UserAccountNotFoundException
- UserAccountRevokedException - Exception Class in jmockit.loginExample.domain.userLogin
- UserAccountRevokedException() - Constructor for exception class jmockit.loginExample.domain.userLogin.UserAccountRevokedException
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
All Classes and Interfaces|All Packages|Serialized Form