I developed a Java-Project which contains three packages with the following names:
– interfaces
– classes
– tests
Task Description
the task is to program a simulation of an animal clinic or ”veterinary”.
User Stories
formulated some user stories to help you get an idea of what the processes in the veterinary look
like that your code needs to represent:
• When a new patient arrives, they need to be registered and then get into the queue in the anteroom.
• Once it is their turn, the patient will be examined by a doctor who has the necessary qualification for
the kind of animal the patient is. With the help of some assistants, the patient will be diagnosed and
treated, which will take a certain amount of time.
• For a smooth process, there always should be one assistant present in the anteroom. If there are less
assistants present in the veterinary than doctors, all treatments will take double the time.
• The clinic will also take emergency cases, which take priority over normal cases.
Required Classes
• Animal
• Assistant
• Case
• Doctor
• Person
• List
• Node
• Veterinary
• AnimalKind
which can take the following values:
– dog, cat, bird, reptile, rodent
treatment which can take the following values:
– vaccination, injury, diagnostics, emergency