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 SummaryFieldsModifier 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 SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface main.model.request.RequestgetSplitter
- 
Field Details- 
requestTypeThe type of the request
- 
requestIDThe ID of the request
- 
requestStatusThe status of the request
- 
projectIDThe ID of the project
- 
supervisorIDThe ID of the supervisor
- 
newSupervisorIDThe ID of the new supervisor
- 
studentIDThe ID of the student
- 
coordinatorIDThe ID of the coordinator who deals with the request
 
- 
- 
Constructor Details- 
TransferStudentRequestpublic TransferStudentRequest(String requestID, String projectID, String supervisorID, String newSupervisorID, String studentID) Constructor- Parameters:
- requestID- The ID 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
 
- 
TransferStudentRequestConstructor- Parameters:
- map- The map of the request
 
 
- 
- 
Method Details- 
getProjectIDGet the ID of the project- Specified by:
- getProjectIDin interface- Request
- Returns:
- The ID of the project
 
- 
getSupervisorIDGet the ID of the supervisor- Specified by:
- getSupervisorIDin interface- Request
- Returns:
- The ID of the supervisor
 
- 
setSupervisorIDSet the ID of the supervisor- Parameters:
- supervisorID- The ID of the supervisor to be set
 
- 
getNewSupervisorIDGet the ID of the new supervisor- Returns:
- The ID of the new supervisor
 
- 
getStudentIDGet the ID of the student- Specified by:
- getStudentIDin interface- Request
- Returns:
- The ID of the student
 
- 
getCoordinatorIDGet the ID of the coordinator- Returns:
- The ID of the coordinator
 
- 
setCoordinatorIDSet the ID of the coordinator- Parameters:
- coordinatorID- The ID of the coordinator
 
- 
getIDGet the ID of the request
- 
getStatusGet the status of the request
- 
setStatusSet the status of the request
- 
getRequestTypeGet the type of the request- Specified by:
- getRequestTypein interface- Request
- Returns:
- The type of the request
 
- 
getDisplayableStringReturns a formatted string representation of the request details for display purposes.- Specified by:
- getDisplayableStringin interface- Displayable
- Returns:
- a string with formatted request details
 
 
-