A - the type of the aggregate.I - the type of the identifier of the aggregate.S - the type of the selector.public interface IdentityPicker<A extends AggregateRoot<I>,I,S extends BaseSelector>
SpecificationBuilder DSL to specify the identity of an aggregate.| Modifier and Type | Method and Description |
|---|---|
OperatorPicker<A,S> |
is(I id)
Specify that the identity of the aggregate must be equal to the one passed as argument.
|
OperatorPicker<A,S> |
isNot(I id)
Specify that the identity of the aggregate must NOT be equal to the one passed as argument.
|
OperatorPicker<A,S> is(I id)
id - the identity.OperatorPicker<A,S> isNot(I id)
id - the identity.Copyright © 2013-2018–2019 SeedStack. All rights reserved.