Interface DtoToEntityMapper<D,E>
- Type Parameters:
D
- The class of the DTO.E
- The class of the entity.
- All Known Subinterfaces:
SearchCriteriaMapper
- All Known Implementing Classes:
ConditionalOperatorMapper
,ConditionalSearchCriteriaMapper
,LogicalOperatorMapper
,LogicalSearchCriteriaMapper
,OperatorMapper
public interface DtoToEntityMapper<D,E>
Interface that defines the contract for mapping between DTOs and entities.
-
Method Summary
-
Method Details
-
getEntity
Maps a DTO to an entity.- Parameters:
dto
- The DTO to map.- Returns:
- The mapped entity.
- Throws:
MappingException
- If the mapping fails.
-