Package main.model.request
Interface Request
- All Superinterfaces:
Displayable
,Mappable
,Model
- All Known Implementing Classes:
StudentChangeTitleRequest
,StudentDeregistrationRequest
,StudentRegistrationRequest
,TransferStudentRequest
This interface represents a request.
-
Method Summary
Modifier and TypeMethodDescriptiongetID()
Get the ID of the request.Get the ID of the project.Get the type of the request.default String
Returns the splitter used to separate different fields of the object in the formatted string representation.Get the status of the request.Get the ID of the student.Get the ID of the supervisor.void
setStatus
(RequestStatus status) Set the status of the request.Methods inherited from interface main.model.Displayable
getDisplayableString
-
Method Details
-
getID
String getID()Get the ID of the request. -
getProjectID
String getProjectID()Get the ID of the project.- Returns:
- the ID of the project.
-
getStudentID
String getStudentID()Get the ID of the student.- Returns:
- the ID of the student.
-
getStatus
RequestStatus getStatus()Get the status of the request.- Returns:
- the status of the request.
-
setStatus
Set the status of the request.- Parameters:
status
- the status of the request.
-
getRequestType
RequestType getRequestType()Get the type of the request.- Returns:
- the type of the request.
-
getSupervisorID
String getSupervisorID()Get the ID of the supervisor.- Returns:
- the ID of the supervisor.
-
getSplitter
Description copied from interface:Displayable
Returns the splitter used to separate different fields of the object in the formatted string representation.- Specified by:
getSplitter
in interfaceDisplayable
- Returns:
- the splitter used to separate different fields of the object in the formatted string representation.
-