https://github.com/piamacalanda/hashmap-activity-department-report
Java implementation of an Employee Management System, featuring classes for department and employee management, CSV data processing, and report generation using HashMap
https://github.com/piamacalanda/hashmap-activity-department-report
csv-reading hashmap java object-oriented-programming
Last synced: 11 months ago
JSON representation
Java implementation of an Employee Management System, featuring classes for department and employee management, CSV data processing, and report generation using HashMap
- Host: GitHub
- URL: https://github.com/piamacalanda/hashmap-activity-department-report
- Owner: PiaMacalanda
- Created: 2024-04-14T10:54:06.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T11:05:10.000Z (about 2 years ago)
- Last Synced: 2025-04-07T14:52:48.682Z (about 1 year ago)
- Topics: csv-reading, hashmap, java, object-oriented-programming
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HashMap-Activity-Department-Report
This repository contains the source code for an Department Report implemented in Java. It includes classes for managing departments, employees, and generating the overall department salary.
## Description
The Department Report System consists of the following components:
- `Department`: Represents a department within the organization. It manages employees assigned to the department and provides functionality to print department details.
- `Employee`: Represents an employee with attributes such as employee number, last name, first name, job title, and salary.
- `DepartmentDA`: Manages the loading and processing of department data from a CSV file (`deptemp.csv`). It loads department data along with employee details, assigns salaries to employees, and generates department reports.
- `EmployeeDA`: Manages the loading of employee data from a CSV file (`emp.csv`). It loads employee data and provides methods to retrieve employee objects by their employee number.
- `DepartmentReport`: Contains the main method to initiate the processing of department data and generate department reports.
## Usage
To use the Employee Management System, follow these steps:
1. Ensure you have Java installed on your system.
2. Clone this repository to your local machine.
3. Make sure the required CSV files (`deptemp.csv` and `emp.csv`) are available in the project directory with the appropriate data.
4. Compile the Java files using `javac`.
5. Run the `DepartmentReport` class to generate department reports.
## Credits
This project is part of Sir Jerry Esperanza's lab assignment 5, focusing on the implementation of HashMap data structures for managing departments and employees in an object-oriented programming paradigm.
## Programmer's Name
- [Pia V. Macalanda]