Interface AggregateSelector<A extends AggregateRoot<I>,​I,​S extends AggregateSelector<A,​I,​S>>

  • Type Parameters:
    A - the type of the aggregate
    I - 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 the SpecificationBuilder DSL to select the identity of the aggregate a clause will apply to.
    • 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.