Java代写|CIT 594 Module 10 Programming Assignment

本次美国作业是一个Java数据结构和软件设计相关的java代写assignment

Learning Objectives

In completing this assignment, you will learn how to:

● convert a UML class diagram to Java code

Background

Hospitals and other medical facilities must make important decisions about equipment acquisition, resource allocation, staffing needs, etc. that affect expenditures but also patient care and satisfaction. Unfortunately, though, these medical facilities do not have the luxury of experimenting with these varying factors, as mistakes can prove financially costly and, in the worst case, can endanger patients’ lives.

Therefore, medical facilities may use software to simulate the effects of these factors, e.g. by simulating the flow of patients through a hospital Emergency Department (ED) to get an idea of how long they spend in the ED depending on the availability of resources such as clerks,nurses, doctors, rooms, and beds.

The UML class diagram below represents a model of the classes that can be used in such a simulation:

Activity

Implement the design in Java by creating classes/interfaces according to the class diagram and following these guidelines:

● You do not have to actually implement the methods, of course, but your code must compile, so have methods return any value as needed.

● You do not need to worry about any sort of main method; just represent the classes as shown above.

● All fields and methods should be ​public​ (that’s what the little plus-sign next to the method names indicates). You do not need to worry about getters and setters.

● For the Date and Queue classes, use the implementations from the java.util package.

● Use arrays to implement multiplicity for aggregation/composition. For instance, if class Puppy has a “zero or more” relationship with class Toy, represent it as a Toy[ ] field in Puppy (as opposed to, say, a List<Toy> or Set<Toy>)