Question: HR Department Employee Management System You are tasked with developing a program for an HR department to manage their employee records. The program will read

HR Department Employee Management System
You are tasked with developing a program for an HR department to manage their employee
records. The program will read employee information from a flat text file, sort the
employees by their employment type and other criteria, and generate a report.
The first line contains the number of employees listed in the file.
The fields below repeat for each employee record:
Employee ID (numeric)
Name (String)
Department (String)
Date of Hire (LocalDate or Date)
Employment Type (Enum)
Salary (numeric)
1) Implement EmploymentType Enum:
Define a Enum EmploymentType with possible types matching an input file. An employee can be hired full-
time, part-time, or can be a contractor or an intern.
2) Implement Employee Record:
Define a record Employee with fields for ID, name, department, date of hire, employment type, and salary.
Include a toString() method to represent the employee record as a string.
Hint: your Employees should be Comparable
3) Implement HRTest Class, which has the following:
Create an array (or an ArrayList) to store Employee records.
Implement a method to read the input file employees.csv and store data in the array/list (and test it).
Update a single record in the input file to your personal information with your actual Kean ID, first name
and last name.
Implement a method to sort the array/list by employment type and other criteria as needed (and test it).
Implement a method to format and print the report with headers and page breaks (and test it). Insert a
page break every 40 employees.
The main method should orchestrate reading the file, sorting the employees, and printing the report.
Testing: Ensure the program works with the provided employees.csv file without errors.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!