Interface IExperienceMapper
public interface IExperienceMapper
Mapper class for mapping Experience entities to ExperienceDTOs.
-
Method Summary
Modifier and TypeMethodDescriptiontoExperienceDTO(callofproject.dev.repository.authentication.entity.Experience experience) Maps an Experience entity to an ExperienceDTO.default ExperiencesDTOtoExperiencesDTO(List<ExperienceDTO> experiences) Maps a list of Experience entities to an ExperiencesDTO.
-
Method Details
-
toExperienceDTO
ExperienceDTO toExperienceDTO(callofproject.dev.repository.authentication.entity.Experience experience) Maps an Experience entity to an ExperienceDTO.- Parameters:
experience- The Experience entity to be mapped.- Returns:
- An ExperienceDTO representing the mapped Experience entity.
-
toExperiencesDTO
Maps a list of Experience entities to an ExperiencesDTO.- Parameters:
experiences- The list of Experience entities to be mapped.- Returns:
- An ExperiencesDTO representing the mapped list of Experience entities.
-