Class NegatedPredicate

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.NegatedPredicate
All Implemented Interfaces:
IExpression<Boolean>, IPredicate, ISelection<Boolean>, jakarta.persistence.criteria.Expression<Boolean>, jakarta.persistence.criteria.Predicate, jakarta.persistence.criteria.Selection<Boolean>, jakarta.persistence.TupleElement<Boolean>

@Internal public final class NegatedPredicate extends AbstractPredicate
The negated predicate implementation.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

  • Method Details

    • getNegated

      public IExpression<Boolean> getNegated()
    • isNegated

      public boolean isNegated()
      Specified by:
      isNegated in interface jakarta.persistence.criteria.Predicate
      Overrides:
      isNegated in class AbstractPredicate
    • not

      public jakarta.persistence.criteria.Predicate not()
      Specified by:
      not in interface jakarta.persistence.criteria.Predicate
      Overrides:
      not in class AbstractPredicate
    • visitPredicate

      public void visitPredicate(PredicateVisitor predicateVisitor)
      Description copied from interface: IPredicate
      Visit predicate.
      Parameters:
      predicateVisitor - The visitor
    • toString

      public String toString()
      Overrides:
      toString in class Object