SimpleDomainEvent
Simple implementation of DomainEvent.
This data class provides a concrete implementation of the DomainEvent interface, representing a domain event with all required metadata and payload information.
Parameters
The type of the event body
See also
Constructors
Creates a new SimpleDomainEvent with the specified properties
Properties
Functions
Creates an AggregateId for this NamedAggregate with the specified parameters.
Finds the aggregate type class associated with this named aggregate.
Converts this NamedAggregate to its corresponding AggregateMetadata.
Generates a unique ID string for this NamedAggregate.
Gets the context alias prefix for this bounded context.
Checks if the named aggregate is available locally at runtime.
Checks if this message matches the given function for compensation purposes.
Materializes this NamedAggregate into a MaterializedNamedAggregate.
Finds the aggregate type class associated with this named aggregate, throwing an exception if not found.
Extension function to convert a NamedAggregate to an EventNamedAggregate.
Extension function to convert a domain event with error info to a DomainEventException.
Computes a grouping key for parallel processing based on the aggregate ID.
Converts this NamedAggregate to its string representation.
Converts this NamedAggregate to a string representation using the context alias.