UuidIdentified

interface UuidIdentified<E : Entity<E>> : Entity<E>

Inheritors

Properties

Link copied to clipboard
abstract val entityClass: KClass<E>
Link copied to clipboard
abstract var id: UUID
Link copied to clipboard
abstract val properties: Map<String, Any?>

Functions

Link copied to clipboard
abstract fun copy(): E
Link copied to clipboard
abstract fun delete(): Int
Link copied to clipboard
abstract fun discardChanges()
Link copied to clipboard
abstract operator override fun equals(other: Any?): Boolean
Link copied to clipboard
abstract fun flushChanges(): Int
Link copied to clipboard
abstract operator fun get(name: String): Any?
Link copied to clipboard
abstract override fun hashCode(): Int
Link copied to clipboard
inline fun <T> Entity<*>.lazyFetch(name: String, loader: () -> T): T
Link copied to clipboard
abstract operator fun set(name: String, value: Any?)
Link copied to clipboard
open fun setId()

Sets id to random UUID.

Link copied to clipboard
abstract override fun toString(): String