See: Description
| Interface | Description |
|---|---|
| Specification<T> |
A
Specification is a pattern that is able to tell if a candidate object matches some
criteria. |
| StringSpecification.Options |
Options used for comparing strings.
|
| 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.
|
| AttributeSpecification<T,V> |
A specification that restricts the application of another specification to an attribute of the
candidate object.
|
| ComparableSpecification<T extends Comparable<? super T>> |
Base class for specifications that compare their expected and candidate value.
|
| EqualSpecification<T> |
A specification satisfied only when the expected and the candidate values are equal according to
Objects.equals(Object, Object). |
| FalseSpecification<T> |
An always false specification, NOT satisfied by any candidate object.
|
| GreaterThanSpecification<T extends Comparable<? super T>> |
A specification satisfied only when the candidate value is greater than the expected value
according to
Comparable.compareTo(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. |
| LessThanSpecification<T extends Comparable<? super T>> |
A specification satisfied only when the candidate value is less than the expected value according
to
Comparable.compareTo(Object). |
| NotSpecification<T> |
A specification negating another specification.
|
| OrSpecification<T> |
A specification composing multiple specifications with a logical OR.
|
| StringEqualSpecification |
A string-specialized specification that is satisfied only when the expected and the candidate
strings are equal according to the given
StringSpecification.Options. |
| StringMatchingSpecification |
A string-specialized specification that is satisfied only when the expected and the candidate
strings are matching according to the given
StringSpecification.Options. |
| StringSpecification |
Base class for specifications that compare strings.
|
| TrueSpecification<T> |
An always true specification, satisfied by any candidate object.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.