ObjectDB ObjectDB

isNegated() - JPA Predicate's method

Method
javax.persistence.criteria.Predicate
boolean isNegated()

Whether the predicate has been created from another predicate by applying the Predicate.not() method or the CriteriaBuilder.not() method.
Returns:
boolean indicating if the predicate is a negated predicate
Since:
JPA 2.0