Package main.Models
Class RegisterProjectReq
java.lang.Object
main.Models.Request
main.Models.RegisterProjectReq
The class that handles the student's registration of a project
- Since:
- 2023-04-13
-
Constructor Summary
ConstructorsConstructorDescriptionRegisterProjectReq
(String requestID, String requesterID, String requesteeID, String requestType, requestStatus_ENUM status, String projectID, String comment) constructor of RegisterProjectReq -
Method Summary
Methods inherited from class main.Models.Request
getComments, getProjectID, getRequesteeID, getRequesterID, getRequestID, getRequestStatus, getRequestType, setComments, setProjectID, setRequesteeID, setRequesterID, setRequestID, setRequestStatus, setRequestType
-
Constructor Details
-
RegisterProjectReq
public RegisterProjectReq(String requestID, String requesterID, String requesteeID, String requestType, requestStatus_ENUM status, String projectID, String comment) constructor of RegisterProjectReq- Parameters:
requestID
- Id of the request itselfrequesterID
- Id of the student who requested the registrationrequesteeID
- Id of the coordinator to process the requestrequestType
- the type of the requeststatus
- the status of the requestprojectID
- the Id of the selected project the student wants to register forcomment
- any comments added by requester/requestee
-
-
Method Details
-
printInfo
prints the information of the request -
processRequest
approve/reject the request and update the student, supervisor and project- Specified by:
processRequest
in classRequest
- Parameters:
decision
- approve or reject the request
-