Uses of Class
dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic.AggregateRoot
-
-
Uses of AggregateRoot in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic with type parameters of type AggregateRoot Modifier and Type Class Description classAggregateRoot<ID,EVENT_TYPE extends Event<ID>,AGGREGATE_TYPE extends AggregateRoot<ID,EVENT_TYPE,AGGREGATE_TYPE>>A specialized and opinionated mutableAggregatedesign
ThisAggregateRootis designed to work with Class based Event's that inherit fromEvent.
This design is deliberate and will manage a lot of things for you as a developer at the cost of some flexibility. -
Uses of AggregateRoot in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic.state
Subclasses of AggregateRoot in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic.state Modifier and Type Class Description classAggregateRootWithState<ID,EVENT_TYPE extends Event<ID>,STATE extends AggregateState<ID,EVENT_TYPE>,AGGREGATE_TYPE extends AggregateRootWithState<ID,EVENT_TYPE,STATE,AGGREGATE_TYPE>>Variant of theAggregateRootpattern where the aggregate's state and allEventHandlerannotated methods are placed within the concreteAggregateStateobject.
When theAggregateRootWithStateis combined withAggregateState, then theAggregateRootWithStatewill contain the command methods and theAggregateStatecontains the state fields and theEventHandlerannotated methods.
-