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
|
package ru.landgrafhomyak.db.skeleton1.api.module
|
||||||
|
|
||||||
import ru.landgrafhomyak.db.skeleton1.api.DebugApi
|
import ru.landgrafhomyak.db.skeleton1.api.DebugApi
|
||||||
|
import ru.landgrafhomyak.db.skeleton1.api.ObjectOperations
|
||||||
|
|
||||||
public interface ModuleScopedObject<oUE : Any?, mUE : Any, IK : Any> {
|
public interface ModuleScopedObject<oUE : Any?, mUE : Any, IK : Any> {
|
||||||
public val uExt: oUE
|
public val uExt: oUE
|
||||||
@ -13,4 +14,7 @@ public interface ModuleScopedObject<oUE : Any?, mUE : Any, IK : Any> {
|
|||||||
|
|
||||||
@DebugApi
|
@DebugApi
|
||||||
public val namespace: Namespace<mUE, IK>
|
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
|
@DebugApi
|
||||||
@Suppress("INAPPLICABLE_JVM_NAME")
|
@Suppress("INAPPLICABLE_JVM_NAME")
|
||||||
@get:JvmName("type")
|
@get:JvmName("type")
|
||||||
public val type: DatabaseType<RT>
|
public val type: DatabaseType.ImplementationsProvider<RT>
|
||||||
|
|
||||||
@DebugApi
|
@DebugApi
|
||||||
@Suppress("INAPPLICABLE_JVM_NAME")
|
@Suppress("INAPPLICABLE_JVM_NAME")
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package ru.landgrafhomyak.db.skeleton1.api.table
|
package ru.landgrafhomyak.db.skeleton1.api.table
|
||||||
|
|
||||||
import ru.landgrafhomyak.db.skeleton1.api.DebugApi
|
import ru.landgrafhomyak.db.skeleton1.api.DebugApi
|
||||||
|
import ru.landgrafhomyak.db.skeleton1.api.ObjectOperations
|
||||||
|
|
||||||
public interface TableScopedObject<oUE : Any?, tUE : Any, IK : Any> {
|
public interface TableScopedObject<oUE : Any?, tUE : Any, IK : Any> {
|
||||||
public val uExt: oUE
|
public val uExt: oUE
|
||||||
@ -10,4 +11,7 @@ public interface TableScopedObject<oUE : Any?, tUE : Any, IK : Any> {
|
|||||||
|
|
||||||
@DebugApi
|
@DebugApi
|
||||||
public val table: Table<tUE, *, IK>
|
public val table: Table<tUE, *, IK>
|
||||||
|
|
||||||
|
@DebugApi
|
||||||
|
public val meta: ObjectOperations.ImplementationsProvider<oUE>
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user