Interface AggregateSelector<A extends AggregateRoot<I>,I,S extends AggregateSelector<A,I,S>>
-
- Type Parameters:
A- the type of the aggregateI- the type of the identifier of the aggregate.S- the type of the selector.
- All Superinterfaces:
BaseSelector<A,S>,PropertySelector<A,S>
public interface AggregateSelector<A extends AggregateRoot<I>,I,S extends AggregateSelector<A,I,S>> extends PropertySelector<A,S>
An element of theSpecificationBuilderDSL to select the identity of the aggregate a clause will apply to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IdentityPicker<A,I,S>identity()Selects the identity of the aggregate to be the subject of a specification.-
Methods inherited from interface org.seedstack.business.specification.dsl.BaseSelector
all, none, whole
-
Methods inherited from interface org.seedstack.business.specification.dsl.PropertySelector
property
-
-
-
-
Method Detail
-
identity
IdentityPicker<A,I,S> identity()
Selects the identity of the aggregate to be the subject of a specification.- Returns:
- the next operation of the builder DSL, allowing to choose the specification.
-
-