See: Description
| Interface | Description |
|---|---|
| Specification<T> |
A
Specification is a pattern that is able to tell if a candidate object matches some
criteria. |
| SubstitutableSpecification<T> |
Specifications that can be substituted by another specification without changing the
satisfaction result should implement this interface.
|
| Class | Description |
|---|---|
| AndSpecification<T> |
A specification composing multiple specifications with a logical AND.
|
| FalseSpecification<T> |
An always false specification, NOT satisfied by any candidate object.
|
| IdentitySpecification<A extends AggregateRoot<I>,I> |
A specification that can only be applied to
AggregateRoots and that is satisfied only if
the candidate aggregate has an identifier equal to the expected one. |
| NotSpecification<T> |
A specification negating another specification.
|
| OrSpecification<T> |
A specification composing multiple specifications with a logical OR.
|
| TrueSpecification<T> |
An always true specification, satisfied by any candidate object.
|
Copyright © 2013-2017–2017 SeedStack. All rights reserved.