English | 简体中文

api-docs / me.liuwj.ktorm.schema / TypeReference

TypeReference

abstract class TypeReference<T> (source code)

Base class used to obtain full generic type information by subclassing.

Constructors

NameSummary

<init>

TypeReference()

Base class used to obtain full generic type information by subclassing.

Properties

NameSummary

referencedKotlinType

val referencedKotlinType: KType

The actual kotlin type argument of subclass without erased.

referencedType

val referencedType: Type

The actual type argument of subclass without erased.

Inheritors

NameSummary

BaseTable

abstract class BaseTable<E : Any> : TypeReference<E>

Base class of Ktorm’s table objects, represents relational tables in the database.

Factory

abstract class Factory<E : Entity<E>> : TypeReference<E>

Abstract factory used to create entity objects, typically declared as companion objects of entity classes.