Question: Company name String Project name: String - id:int 0. Project Id: Employee Name: Manager Engineer Employee name: String .getSalaryo : String Detail: Projects GetProjects Add

 Company name String Project name: String - id:int 0. Project Id:

Company name String Project name: String - id:int 0. Project Id: Employee Name: Manager Engineer Employee name: String .getSalaryo : String Detail: Projects GetProjects Add Manager - bonus : double getsalaryo : double Engineer - yearsInService: int getsalaryo : double Consider the information system for a company. You can add a new employee to a project by specifying the project id, type of instance and detail (bonus or yearsin Service depending on the type) and pressing Add button. The employee is added in to the appropriate project based on the id and also to the company collection of employees. Implement a thread called "EmployeeMonitor that continuously scans Company for new employee. When it detects that a new Employee was added, it will add it in the employee.txt file accordingly. The file will store the employees in the following format: (where detail is bonus or years in service) Also implement a class Map Utility" with a static method called to Map that receives a Company object and returns a Map in which the keys are the name of the instances of employees ("Manager", "Engineer") and the values are the number of each instance. 1. Implement the listener for add button. 2. Implement EmployeeMonitor thread 3. Implement MapUtility class. Company name String Project name: String - id:int 0. Project Id: Employee Name: Manager Engineer Employee name: String .getSalaryo : String Detail: Projects GetProjects Add Manager - bonus : double getsalaryo : double Engineer - yearsInService: int getsalaryo : double Consider the information system for a company. You can add a new employee to a project by specifying the project id, type of instance and detail (bonus or yearsin Service depending on the type) and pressing Add button. The employee is added in to the appropriate project based on the id and also to the company collection of employees. Implement a thread called "EmployeeMonitor that continuously scans Company for new employee. When it detects that a new Employee was added, it will add it in the employee.txt file accordingly. The file will store the employees in the following format: (where detail is bonus or years in service) Also implement a class Map Utility" with a static method called to Map that receives a Company object and returns a Map in which the keys are the name of the instances of employees ("Manager", "Engineer") and the values are the number of each instance. 1. Implement the listener for add button. 2. Implement EmployeeMonitor thread 3. Implement MapUtility class

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!