toPredicate(javax.persistence.criteria.Root<T> root,
javax.persistence.criteria.CriteriaQuery<?> query,
javax.persistence.criteria.CriteriaBuilder builder)
Creates a WHERE clause for a query of the referenced entity in form of a
Predicate for the given Root and CriteriaQuery.