IdentifiableEntity

Defines the contract of a Persistable object can be identified using a key.

Inheritors

Functions

Link copied to clipboard
abstract fun getIdentityCondition(): LogicalCondition<? extends Expression<T>, ?>
Gets a LogicalCondition that can be used to match this entity by it's unique identifier.
abstract fun getIdentityCondition(key: T): LogicalCondition<? extends Expression<T>, ?>
Gets a LogicalCondition that can be used to match an entity by it's unique identifier.
Link copied to clipboard
abstract fun getKey(): T
Gets the unique identifier of the entity.