Package org.cswteams.ms3.entity
Class Request
java.lang.Object
org.cswteams.ms3.control.notification.Notificable
org.cswteams.ms3.entity.Request
A request for Concrete Shift exchange.
-
Field Summary
Fields inherited from class org.cswteams.ms3.control.notification.Notificable
observer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis function creates a notification which, based on the status, can change the recipient of the notification.voidsetStatus(RequestStatus status) Set the status of the request tostatus.Methods inherited from class org.cswteams.ms3.control.notification.Notificable
attach, Notify
-
Constructor Details
-
Request
protected Request()Default constructor needed by Lombok -
Request
-
-
Method Details
-
getNotification
This function creates a notification which, based on the status, can change the recipient of the notification.- Specified by:
getNotificationin classNotificable- Returns:
- a new notification for the shift change request
-
setStatus
Set the status of the request tostatus.- Parameters:
status- new status for the request
-