Class BaseMapper<E,D>
java.lang.Object
org.training.transactions.model.mapper.BaseMapper<E,D>
- Direct Known Subclasses:
TransactionMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract D
convertToDto
(E entity, Object... args) convertToDto
(Collection<E> entity, Object... args) convertToDtoList
(Collection<E> entity, Object... args) abstract E
convertToEntity
(D dto, Object... args) convertToEntity
(Collection<D> dto, Object... args) convertToEntityList
(Collection<D> dto, Object... args)
-
Constructor Details
-
BaseMapper
public BaseMapper()
-
-
Method Details
-
convertToEntity
-
convertToDto
-
convertToEntity
-
convertToDto
-
convertToEntityList
-
convertToDtoList
-