Class BaseMapper<E,D>
java.lang.Object
org.training.user.service.model.mapper.BaseMapper<E,D>
- Direct Known Subclasses:
UserMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract D
convertToDto
(E entity, Object... args) convertToDto
(Collection<E> entities, Object... args) convertToDtoList
(Collection<E> entities, Object... args) convertToDtoSet
(Collection<E> entities, Object... args) abstract E
convertToEntity
(D dto, Object... args) convertToEntity
(Collection<D> dto, Object... args) convertToEntitySet
(Collection<D> dtos, Object... args) covertToEntityList
(Collection<D> dtos, Object... args)
-
Constructor Details
-
BaseMapper
public BaseMapper()
-
-
Method Details
-
convertToEntity
-
convertToDto
-
convertToEntity
-
convertToDto
-
covertToEntityList
-
convertToDtoList
-
convertToEntitySet
-
convertToDtoSet
-