Your task will be to design and develop a programming solution to a problem using JAVA programming
Question:
Your task will be to design and develop a programming solution to a problem using JAVA programming language. KENT institute needs a new system to keep track of vaccination status for their students and staffs. You need to develop an application to support the admins to keep track of the vaccinations. The admins need to enter student details, staff details, vaccine details and vaccination record for the students and staff. The application should also provide vaccination status when being enquired with Student/Staff ID and Vaccine ID.
Requirement 1: Class Diagram This section expects you to create a class diagram after reading the coding requirements. Your class diagram should have proper relationships between classes, all possible attributes, constructors and methods that your class files will have. You need to use correct notation which is discussed in class.
Requirement 2: Coding
2.1 Create a vaccination records (Parent) class with following details: a) This class should have basic attributes such as Vaccination ID and Vaccine Name. b) A constructor with parameters which assign values to each instance variable. Note that the values to initialise in the objects should be passed in using arguments when the constructor is called. c) Write get and set methods for your classes for instance variables where appropriate.
2.2 Create a sub class (child) for Student Vaccination Record with following details: a) This class should have basic attributes such as Student details and Vaccination Date. b) You need to write proper toString() method to display the details of Student Vaccination Record. c) A constructor with parameters which assign values to each instance variable. Note that the values to initialise in the objects should be passed in using arguments when the constructor is called. d) Write get and set methods for your classes for instance variables where appropriate. e) This class should have a method to allow checking if a specific student has had a specific vaccine (using student ID and Vaccine Name as parameters) and it should return true or false.
2.3 Create a sub class (child) for Staff Vaccination Record with following details: a) This class should have basic attributes such as Staff/Employee details and Vaccination Date. b) You need to write proper toString() method to display the details of Staff Vaccination Record. c) A constructor with parameters which assign values to each instance variable. Should use constructor of the parent class using super keyword. Note that the values to initialise in the objects should be passed in using arguments when the constructor is called. d) Write get and set methods for your classes for instance variables where appropriate. e) This class should have a method to allow checking if a specific staff has had a specific vaccine (using staff ID and Vaccine Name as parameters) and it should return true or false.
2.4 Create a driver class with following details. a) The driver class will ask the user to enter Student/Staff and Vaccination details using a menu system. b) Create new vaccination record for student and staff using child classes if selected from the menu with the help of an arraylist. c) Display entered vaccination records in a tabular format on the screen. d) The program will ask the user to check for vaccination record for a specific student or Staff using the built-in method and display student/staff details and vaccination status on the screen. e) The menu system should return after each activity. f) The program should exit only if the exit option on the menu is selected. 2.5 Document all methods in your code using comments and by following proper coding
Systems Analysis and Design in a Changing World
ISBN: 978-1305117204
7th edition
Authors: John W. Satzinger, Robert B. Jackson, Stephen D. Burd