isNotMember

fun <T, E, P : Collection<E>> KProperty1<T, P>.isNotMember(path: Path<T>, criteriaBuilder: CriteriaBuilder, value: E): Predicate(source)

Creates a Predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.

Receiver

T – the type of the entity.

E - the type of the element in the Collection.

P - the type of the Collection property.

Return

A Predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.

Parameters

path

The path of the entity.

criteriaBuilder

The criteria builder.

value

The element value to check for non-membership.