notLikeRegexp

fun <T : Any> KProperty1<T, String>.notLikeRegexp(pattern: String): PredicateSpecification<T>(source)

Creates a PredicateSpecification that checks if the property does not match the given POSIX regex pattern (case-sensitive).

Return

A PredicateSpecification that checks if the property does not match the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

T

the type of the entity.


@JvmName(name = "notLikeRegexpNullable")
fun <T : Any> KProperty1<T, String?>.notLikeRegexp(pattern: String): PredicateSpecification<T>(source)

Creates a PredicateSpecification that checks if the property does not match the given POSIX regex pattern, case-sensitive (nullable version).

Return

A PredicateSpecification that checks if the property does not match the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

T

the type of the entity.


fun <ROOT : Any> NestedProperty<ROOT, String>.notLikeRegexp(pattern: String): PredicateSpecification<ROOT>(source)

Creates a PredicateSpecification that checks if the nested String property does not match the given POSIX regex pattern (case-sensitive).

Return

A PredicateSpecification that checks if the nested property does not match the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.


@JvmName(name = "nestedNotLikeRegexpNullable")
fun <ROOT : Any> NestedProperty<ROOT, String?>.notLikeRegexp(pattern: String): PredicateSpecification<ROOT>(source)

Creates a PredicateSpecification that checks if the nested nullable String property does not match the given POSIX regex pattern, case-sensitive (nullable version).

Return

A PredicateSpecification that checks if the nested property does not match the pattern.

Parameters

pattern

The POSIX regex pattern to match against.

Type Parameters

ROOT

the root entity type.