Package it.univr.passportease.helper.map
Class MapAvailability
java.lang.Object
it.univr.passportease.helper.map.MapAvailability
Map a
Request
to an Availability
object.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmapRequestToAvailability
(Request request, Office office, LocalDate localDate, LocalTime time) Map aRequest
to anAvailability
object.
-
Constructor Details
-
MapAvailability
public MapAvailability()
-
-
Method Details
-
mapRequestToAvailability
public Availability mapRequestToAvailability(Request request, Office office, LocalDate localDate, LocalTime time) Map aRequest
to anAvailability
object.- Parameters:
request
- The request to map.office
- The office to map.localDate
- The date to map.time
- The time to map.- Returns:
- The mapped
Availability
object.
-