Interface QueryCriteria

  • All Known Implementing Classes:
    SimpleQueryCriteria

    public interface QueryCriteria
    Criteria is a simplified representation of conditions the entities targeted by a query have to satisfy and that constrains the query of such entities.

    Instead of providing a full representation of a criteria API by which criterion objects can be composing programmatically and that wraps each underlying persistence-specific criteria API we use, we prefer to let the developers provide their own implementation of the criteria by extending this interface and by adapting it to their purpose.

    Author:
    mmoquillon