Class RouteMapper
java.lang.Object
com.endurancetrio.business.tracker.mapper.RouteMapper
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RouteMapper
-
-
Method Details
-
map
Maps a Route entity to a RouteDTO.- Parameters:
entity- the Route entity to be mapped- Returns:
- the corresponding RouteDTO
-
map
Maps a RouteDTO to a Route entity.- Parameters:
dto- the RouteDTO to be mapped- Returns:
- the corresponding Route entity
-
updateEntity
Updates an existing Route entity with data from a RouteDTO.- Parameters:
dto- the RouteDTO containing updated dataentity- the Route entity to be updated
-