MaterializedNamedAggregate
Represents a materialized named aggregate, providing concrete implementations of context and aggregate names.
This data class implements both NamedAggregate and Materialized, offering a fully resolved representation of an aggregate within a bounded context. It is used when the aggregate names are known at runtime and need to be stored or compared efficiently.
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.
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.
Converts this NamedAggregate to its string representation.
Converts this NamedAggregate to a string representation using the context alias.