Interface PredicateFactory


public interface PredicateFactory
Since:
0.0.9
Author:
Mislav Milicevic
  • Method Summary

    Modifier and Type
    Method
    Description
    <ENTITY> jakarta.persistence.criteria.Predicate
    createPredicate(Criteria<ENTITY,?> criteria, SpeedmentPredicate<ENTITY> speedmentPredicate)
    Creates and returns a JPA Predicate with the SpeedmentPredicate serving as the model.
  • Method Details

    • createPredicate

      <ENTITY> jakarta.persistence.criteria.Predicate createPredicate(Criteria<ENTITY,?> criteria, SpeedmentPredicate<ENTITY> speedmentPredicate)
      Creates and returns a JPA Predicate with the SpeedmentPredicate serving as the model. The JPA Predicate is created using the provided criteria
      Type Parameters:
      ENTITY - root entity used in the Speedment Predicate
      Parameters:
      criteria - used to create the JPA Predicate
      speedmentPredicate - used as a model for the JPA Predicate that is being created
      Returns:
      JPA Predicate