getIdentityCondition

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.

Return

the logical condition.

Parameters

key

the unique identifier of the entity.


abstract fun getIdentityCondition(): LogicalCondition<? extends Expression<T>, ?>

Gets a LogicalCondition that can be used to match this entity by it's unique identifier.

Return

the logical condition.