Class CustomLightRequestEvent<E extends CustomLightSetupPayload>
java.lang.Object
application.presenter.event.model.automation.request.customlight.CustomLightRequestEvent<E>
- Type Parameters:
E
- the type of the event payload.
- All Implemented Interfaces:
Event<E>
public class CustomLightRequestEvent<E extends CustomLightSetupPayload>
extends Object
implements Event<E>
Custom light setup request event.
This is the event with which a doctor request a custom light setup inside the Operating Room.
-
Constructor Summary
ConstructorDescriptionCustomLightRequestEvent
(String key, E data, String dateTime) Default constructor. -
Method Summary
-
Constructor Details
-
CustomLightRequestEvent
Default constructor.- Parameters:
key
- the key of the event.data
- the data payload of the event.dateTime
- the datetime of the event.
-
-
Method Details
-
getKey
Description copied from interface:Event
Get the key of the event.- Specified by:
getKey
in interfaceEvent<E extends CustomLightSetupPayload>
- Returns:
- the key.
-
getData
Description copied from interface:Event
Get the data payload of the event.- Specified by:
getData
in interfaceEvent<E extends CustomLightSetupPayload>
- Returns:
- the data payload.
-
getDateTime
Description copied from interface:Event
Get the date time in string format.- Specified by:
getDateTime
in interfaceEvent<E extends CustomLightSetupPayload>
- Returns:
- the string of date time.
-