Interface UpdateSpecification<T>

All Superinterfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UpdateSpecification<T> extends Serializable
Specification in the sense of Domain Driven Design to handle Criteria Updates.

Specifications can be composed into higher order functions from other specifications using and(UpdateSpecification), or(UpdateSpecification) or factory methods such as allOf(Iterable). Composition considers whether one or more specifications contribute to the overall predicate by returning a Predicate or null. Specifications returning null are considered to not contribute to the overall predicate and their result is not considered in the final predicate.

Since:
4.0
Author:
Mark Paluch