Package main.Models
Class Coordinator
java.lang.Object
main.Models.User
main.Models.Supervisor
main.Models.Coordinator
- All Implemented Interfaces:
IinitialiseProject
,IinitialiseRequest
Coordinator is a subclass of Supervisor
- Since:
- 2023-4-13
-
Field Summary
Fields inherited from class main.Models.Supervisor
countSupervising
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProjects
(int type) Method to retrieve projects of an uservoid
Method to initialise the project list of an uservoid
Method to initialize the request list of an uservoid
printProjects
(int type) Method to print the projects of an userMethods inherited from class main.Models.Supervisor
getProjectbyID, getProjects, getRequestbyID, getRequests, getSupCount, printProjects, updateProject, updateRequest
-
Constructor Details
-
Coordinator
Constructing the Coordinator class- Parameters:
name
- type of useremail
- email of user
-
-
Method Details
-
getProjects
Method to retrieve projects of an user- Parameters:
type
- mode of retrieve- Returns:
- an array list of said user
-
initialiseProject
public void initialiseProject()Method to initialise the project list of an user- Specified by:
initialiseProject
in interfaceIinitialiseProject
- Overrides:
initialiseProject
in classSupervisor
-
initialiseRequest
public void initialiseRequest()Method to initialize the request list of an user- Specified by:
initialiseRequest
in interfaceIinitialiseRequest
- Overrides:
initialiseRequest
in classSupervisor
-
printProjects
public void printProjects(int type) Method to print the projects of an user- Parameters:
type
- mode of retrieve
-