Simpler Mapper
interface SimplerMapper<I : Serializable, E : SimplerEntity<I, E>, M : SimplerModel<I>> : CRUDMapper<I, E, M, M, M> , CRUDDTOMapper<I, M, M, M, M, M, M> (source)
Simpler variant of CRUDMapper where create/update models and DTOs are just models, which is also a CRUDDTOMapper
Parameters
I
Id type of the entity
E
Entity type of the data which is a SimplerEntity
M
Model type of the data which is a SimplerModel
Functions
Inherited functions
Link copied to clipboard
Mapper to convert given create DTO to a create model
Link copied to clipboard
Mapper to convert given model into an entity to be created
Link copied to clipboard
Mapper to convert from given entity to model
Link copied to clipboard
Mapper to convert given update DTO to a update model
Link copied to clipboard
Applies updates contained in given update model to given entity