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 uservoidMethod to initialise the project list of an uservoidMethod to initialize the request list of an uservoidprintProjects(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:
initialiseProjectin interfaceIinitialiseProject- Overrides:
initialiseProjectin classSupervisor
-
initialiseRequest
public void initialiseRequest()Method to initialize the request list of an user- Specified by:
initialiseRequestin interfaceIinitialiseRequest- Overrides:
initialiseRequestin classSupervisor
-
printProjects
public void printProjects(int type) Method to print the projects of an user- Parameters:
type- mode of retrieve
-