0% found this document useful (0 votes)
4 views1 page

Uml

The document outlines a class diagram for an employee management system, including interfaces and classes for different employee types such as FullTimeEmployee, PartTimeEmployee, and Manager. It specifies methods for calculating pay, displaying information, and managing project assignments. Additionally, it includes an EmployeeManager class for handling employee records and operations.

Uploaded by

galahmadi40
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Uml

The document outlines a class diagram for an employee management system, including interfaces and classes for different employee types such as FullTimeEmployee, PartTimeEmployee, and Manager. It specifies methods for calculating pay, displaying information, and managing project assignments. Additionally, it includes an EmployeeManager class for handling employee records and operations.

Uploaded by

galahmadi40
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

<<interface >>

Payable

+calculatePay(): double

Employee

Project ProjectAssignment
-id: int
-name: String -project: Project
-email: String -id: int -employee: Employee
-name: String
-deadline: String
+getId(): int
+assign(): void
+getId(): int +unassigns(): void
+getName(): String
+getName(): String +getProjectInfo(): String
+setName(name: String): void
+getEmail(): String
+setName(name: String): void +getEmployeeInfo(): String
+setEmail(email: String): void +getDeadline(): String
+displayInfo(): void (abstract) +setDeadline(deadline: String): void

FullTimeEmployee PartTimeEmployee Manager EmployeeManager

-salary: double -hourlyRate: double -department: String -employees: List<Employee>

-bonus: double -hoursWorked: int +addEmployee(e: Employee):


-salary: double void

+calculatePay(): double +calculatePay(): double +calculatePay(): double +removeEmployee(id: int): void


+displayInfo(): void +printAll(): void
+displayInfo(): void +displayInfo(): void

You might also like