public class EqualIgnoreCase<T> extends PathSpecification<T>
Filters with equal where-clause (e.g. where firstName = "Homer").
Supports multiple field types: strings, numbers, booleans, enums, dates.
If the field type is string or enum, the where-clause is case insensitive
| Modifier and Type | Field and Description |
|---|---|
protected String |
expectedValue |
path| Constructor and Description |
|---|
EqualIgnoreCase(QueryContext queryContext,
String path,
String[] httpParamValues,
Converter converter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
javax.persistence.criteria.Predicate |
toPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaQuery<?> query,
javax.persistence.criteria.CriteriaBuilder cb) |
String |
toString() |
pathprotected String expectedValue
public EqualIgnoreCase(QueryContext queryContext, String path, String[] httpParamValues, Converter converter)
public javax.persistence.criteria.Predicate toPredicate(javax.persistence.criteria.Root<T> root, javax.persistence.criteria.CriteriaQuery<?> query, javax.persistence.criteria.CriteriaBuilder cb)
public boolean equals(Object o)
equals in class PathSpecification<T>public int hashCode()
hashCode in class PathSpecification<T>Copyright © 2014–2020. All rights reserved.