UuidIdentifiedAndModificationTimestampAwareEntities

abstract class UuidIdentifiedAndModificationTimestampAwareEntities<E : UuidIdentifiedAndModificationTimestampAware<E>>(tableName: String, idColumnName: String? = null, createdAtColumnName: String? = null, updatedAtColumnName: String? = null) : Table<E> , UuidIdentifiedEntitiesBase, ModificationTimestampAwareEntitiesBase

Constructors

constructor(tableName: String, idColumnName: String? = null, createdAtColumnName: String? = null, updatedAtColumnName: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val columns: List<Column<*>>
Link copied to clipboard
open override val createdAt: Column<Instant>
Link copied to clipboard
Link copied to clipboard
open override val id: Column<UUID>
Link copied to clipboard
val primaryKeys: List<Column<*>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val updatedAt: Column<Instant>

Functions

Link copied to clipboard
open override fun aliased(alias: String): Table<E>
Link copied to clipboard
fun asExpression(): TableExpression
Link copied to clipboard
inline fun <C : Any> Column<C>.bindTo(selector: (E) -> C?): Column<C>
Link copied to clipboard
fun createEntity(row: QueryRowSet, withReferences: Boolean): E
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
operator fun get(name: String): Column<*>
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
fun <C : Any> Column<C>.primaryKey(): Column<C>
Link copied to clipboard
inline fun <C : Any, R : Entity<R>> Column<C>.references(referenceTable: Table<R>, selector: (E) -> R?): Column<C>
Link copied to clipboard
fun <C : Any> registerColumn(name: String, sqlType: SqlType<C>): Column<C>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun <C : Any, R : Any> Column<C>.transform(fromUnderlyingValue: (C) -> R, toUnderlyingValue: (R) -> C): Column<R>