Simple Mapper
interface SimpleMapper<I : Serializable, E : SimpleEntity<I>, M : SimpleModel<I>, D : SimpleDTO<I>> : CRUDMapper<I, E, M, M, M> , CRUDDTOMapper<I, M, D, M, M, D, D> (source)
Simple variant of CRUDMapper where create/update models are just models, which is also a CRUDDTOMapper
Parameters
I
Id type of the entity
E
Entity type of the data which is a SimpleEntity
M
Model type of the data which is a SimpleModel
D
DTO type of the data which is a SimpleDTO
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 from model to DTO
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