All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladsch.kotlin.jdbc.ModelPropertyProvider.kt Maven / Gradle / Ivy

Go to download

A thin library that exposes JDBC API with the convenience of Kotlin and gets out of the way when not needed.

The newest version!
package com.vladsch.kotlin.jdbc

import kotlin.reflect.KProperty

interface ModelPropertyProvider {
    val autoKey: ModelPropertyProvider
    val key: ModelPropertyProvider
    val auto: ModelPropertyProvider
    val default: ModelPropertyProvider
    fun column(columnName: String?):ModelPropertyProvider
    fun default(value:Any? = null):ModelPropertyProvider

    operator fun provideDelegate(thisRef: T, prop: KProperty<*>): ModelPropertyProvider

    operator fun  getValue(thisRef: T, property: KProperty<*>): V
    operator fun  setValue(thisRef: T, property: KProperty<*>, value: V)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy