Package dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic
package dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic
-
ClassDescriptionAggregateRoot<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.Event<ID>Based Event type that's built to work in combination withAggregateRoot
All you need to do is to inherit from this class when building your ownEventtypes.