ReflectionBasedClassPropertyDataMapper

class ReflectionBasedClassPropertyDataMapper<Data : Any>(val fullConcreteTypeClass: FullConcreteTypeClass<Data>, val classPropertyColumnMappings: ClassPropertyColumnMappings<Data>) : DataMapper<Data> (source)

Supports classes with nested composite class properties and multiple tables

Constructors

Link copied to clipboard
constructor(fullConcreteTypeClass: FullConcreteTypeClass<Data>, classPropertyColumnMappings: ClassPropertyColumnMappings<Data>)

Properties

Link copied to clipboard
val fullConcreteTypeClass: FullConcreteTypeClass<Data>
Link copied to clipboard
open override val neededColumns: List<Column<*>>

Functions

Link copied to clipboard
open override fun resultRowToData(resultRow: ResultRow): Data
Link copied to clipboard
open override fun setUpdateBuilder(data: Data, updateBuilder: UpdateBuilder<*>)
Link copied to clipboard
fun <Data : Any, ColumnSetT : ColumnSet> DataUpdateMapper<Data>.updateBuilderSetter(data: Data): ColumnSetT.(UpdateBuilder<*>) -> Unit