Package org.training.fundtransfer.mapper
Class FundTransferMapper
java.lang.Object
org.training.fundtransfer.mapper.BaseMapper<FundTransfer,FundTransferDto>
org.training.fundtransfer.mapper.FundTransferMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDto
(FundTransfer entity, Object... args) Converts the given FundTransfer entity to a FundTransferDto object.convertToEntity
(FundTransferDto dto, Object... args) Converts a FundTransferDto object to a FundTransfer entity.Methods inherited from class org.training.fundtransfer.mapper.BaseMapper
convertToDto, convertToDtoList, convertToEntity, convertToEntitySet, covertToEntityList
-
Constructor Details
-
FundTransferMapper
public FundTransferMapper()
-
-
Method Details
-
convertToEntity
Converts a FundTransferDto object to a FundTransfer entity.- Specified by:
convertToEntity
in classBaseMapper<FundTransfer,
FundTransferDto> - Parameters:
dto
- the FundTransferDto object to be convertedargs
- additional arguments (not used in this function)- Returns:
- the converted FundTransfer entity
-
convertToDto
Converts the given FundTransfer entity to a FundTransferDto object.- Specified by:
convertToDto
in classBaseMapper<FundTransfer,
FundTransferDto> - Parameters:
entity
- the FundTransfer entity to be convertedargs
- additional arguments (optional)- Returns:
- the converted FundTransferDto object
-