Types and scoped objects now use implementation providers in reflection instead of constructors
This commit is contained in:
parent
b14f10ca72
commit
0fbafe9d12
@ -1,6 +1,7 @@
|
||||
package ru.landgrafhomyak.db.skeleton1.api.module
|
||||
|
||||
import ru.landgrafhomyak.db.skeleton1.api.DebugApi
|
||||
import ru.landgrafhomyak.db.skeleton1.api.ObjectOperations
|
||||
|
||||
public interface ModuleScopedObject<oUE : Any?, mUE : Any, IK : Any> {
|
||||
public val uExt: oUE
|
||||
@ -13,4 +14,7 @@ public interface ModuleScopedObject<oUE : Any?, mUE : Any, IK : Any> {
|
||||
|
||||
@DebugApi
|
||||
public val namespace: Namespace<mUE, IK>
|
||||
|
||||
@DebugApi
|
||||
public val meta: ObjectOperations.ImplementationsProvider<oUE>
|
||||
}
|
@ -13,7 +13,7 @@ public interface Column<RT, tUE : Any, IK : Any> {
|
||||
@DebugApi
|
||||
@Suppress("INAPPLICABLE_JVM_NAME")
|
||||
@get:JvmName("type")
|
||||
public val type: DatabaseType<RT>
|
||||
public val type: DatabaseType.ImplementationsProvider<RT>
|
||||
|
||||
@DebugApi
|
||||
@Suppress("INAPPLICABLE_JVM_NAME")
|
||||
|
@ -1,6 +1,7 @@
|
||||
package ru.landgrafhomyak.db.skeleton1.api.table
|
||||
|
||||
import ru.landgrafhomyak.db.skeleton1.api.DebugApi
|
||||
import ru.landgrafhomyak.db.skeleton1.api.ObjectOperations
|
||||
|
||||
public interface TableScopedObject<oUE : Any?, tUE : Any, IK : Any> {
|
||||
public val uExt: oUE
|
||||
@ -10,4 +11,7 @@ public interface TableScopedObject<oUE : Any?, tUE : Any, IK : Any> {
|
||||
|
||||
@DebugApi
|
||||
public val table: Table<tUE, *, IK>
|
||||
|
||||
@DebugApi
|
||||
public val meta: ObjectOperations.ImplementationsProvider<oUE>
|
||||
}
|
Loading…
Reference in New Issue
Block a user