remove EntityI.className && RepositoryI.entityName

This commit is contained in:
2019-10-09 22:50:04 +02:00
parent 2a738e0595
commit 21c05f72f5
2 changed files with 2 additions and 13 deletions

View File

@@ -1,15 +1,9 @@
package fr.postgresjson.repository
import fr.postgresjson.connexion.Requester
import fr.postgresjson.entity.EntityI
import kotlin.reflect.KClass
interface RepositoryI<E: EntityI> {
val entityName: KClass<E>
interface RepositoryI {
var requester: Requester
fun getClassName(): String {
return entityName.simpleName!!
}
enum class Direction {
asc,