Package main.model.request
Class TransferStudentRequest
java.lang.Object
main.model.request.TransferStudentRequest
- All Implemented Interfaces:
Displayable,Model,Request,Mappable
A class that represents a transfer student request
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe ID of the coordinator who deals with the requestprivate StringThe ID of the new supervisorprivate StringThe ID of the projectprivate StringThe ID of the requestprivate RequestStatusThe status of the requestprivate final RequestTypeThe type of the requestprivate StringThe ID of the studentprivate StringThe ID of the supervisor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the ID of the coordinatorReturns a formatted string representation of the request details for display purposes.getID()Get the ID of the requestGet the ID of the new supervisorGet the ID of the projectGet the type of the requestGet the status of the requestGet the ID of the studentGet the ID of the supervisorvoidsetCoordinatorID(String coordinatorID) Set the ID of the coordinatorvoidsetStatus(RequestStatus status) Set the status of the requestvoidsetSupervisorID(String supervisorID) Set the ID of the supervisorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface main.model.request.Request
getSplitter
-
Field Details
-
requestType
The type of the request -
requestID
The ID of the request -
requestStatus
The status of the request -
projectID
The ID of the project -
supervisorID
The ID of the supervisor -
newSupervisorID
The ID of the new supervisor -
studentID
The ID of the student -
coordinatorID
The ID of the coordinator who deals with the request
-
-
Constructor Details
-
TransferStudentRequest
public TransferStudentRequest(String requestID, String projectID, String supervisorID, String newSupervisorID, String studentID) Constructor- Parameters:
requestID- The ID of the requestprojectID- The ID of the projectsupervisorID- The ID of the supervisornewSupervisorID- The ID of the new supervisorstudentID- The ID of the student
-
TransferStudentRequest
Constructor- Parameters:
map- The map of the request
-
-
Method Details
-
getProjectID
Get the ID of the project- Specified by:
getProjectIDin interfaceRequest- Returns:
- The ID of the project
-
getSupervisorID
Get the ID of the supervisor- Specified by:
getSupervisorIDin interfaceRequest- Returns:
- The ID of the supervisor
-
setSupervisorID
Set the ID of the supervisor- Parameters:
supervisorID- The ID of the supervisor to be set
-
getNewSupervisorID
Get the ID of the new supervisor- Returns:
- The ID of the new supervisor
-
getStudentID
Get the ID of the student- Specified by:
getStudentIDin interfaceRequest- Returns:
- The ID of the student
-
getCoordinatorID
Get the ID of the coordinator- Returns:
- The ID of the coordinator
-
setCoordinatorID
Set the ID of the coordinator- Parameters:
coordinatorID- The ID of the coordinator
-
getID
Get the ID of the request -
getStatus
Get the status of the request -
setStatus
Set the status of the request -
getRequestType
Get the type of the request- Specified by:
getRequestTypein interfaceRequest- Returns:
- The type of the request
-
getDisplayableString
Returns a formatted string representation of the request details for display purposes.- Specified by:
getDisplayableStringin interfaceDisplayable- Returns:
- a string with formatted request details
-