SimpleService

fun <I : Serializable, E : SimpleEntity<I, E>, out Mapper : SimpleMapper<I, E, M, D>> SimpleService(typeName: String, clock: Clock, repository: SimpleRepository<I, E>, mapper: Mapper)(source)

Parameters

I

Id type of the data

M

Model type of the data which is a SimpleModel

E

Entity type of the data which is a SimpleEntity

D

DTO type of the data which is a SimpleDTO

Mapper

Mapper type of the data which is a SimpleMapper