zef_ddd_core library

Classes

AggregateRoot<TId extends Id>
Represents the root of an aggregate, a cluster of domain entities and value objects.
DomainEvent
Represents the base class for all domain events in the application.
DomainEventDispatcher
Manages the dispatching of domain events to registered listener.
DomainEventListener<T extends DomainEvent>
Defines the interface for a listener that handles domain events.
Entity<TId extends Id>
An abstract base class representing a domain entity with a unique identity.
Id<T>
Represents a generic identifier for entities within the domain model.
SingleTypeValueObject<T>
A generic abstract class for creating value objects that encapsulate a single value of a specific type.
ValueObject
Represents the base class for value objects in the domain model.