Package main.Models

Class TransferStudentReq

java.lang.Object
main.Models.Request
main.Models.TransferStudentReq

public class TransferStudentReq extends Request
The class for requesting to transfer student to another supervisor
Since:
2023-4-13
  • Constructor Details

    • TransferStudentReq

      public TransferStudentReq(String requestID, String requesterID, String requesteeID, String requestType, requestStatus_ENUM status, String projectID, String comment, String newSupervisorID)
      Constructor of the request to transfer student
      Parameters:
      requestID - ID of the request
      requesterID - ID of the requester
      requesteeID - ID of the requestee
      requestType - type of request
      status - status of request
      projectID - ID of project
      comment - comments made
      newSupervisorID - ID of replacement supervisor
  • Method Details

    • getNewSupervisorID

      public String getNewSupervisorID()
      Gets the replacement supervisor's ID
      Returns:
      supervisor's ID
    • setNewSupervisorID

      public void setNewSupervisorID(String newSupervisorID)
      Sets the replacement supervisor's ID
      Parameters:
      newSupervisorID - replacement supervisor's ID
    • printInfo

      public void printInfo(String projectTitle, String currentSup, String replacementSup)
      prints the request's information
      Specified by:
      printInfo in class Request
      Parameters:
      projectTitle - title of project
      currentSup - current project supervisor
      replacementSup - replacement project supervisor
    • processRequest

      public void processRequest(String decision)
      approve/reject the request
      Specified by:
      processRequest in class Request
      Parameters:
      decision - approve or reject the request