StateEventData
Data class implementation of StateEvent that wraps a DomainEventStream with state information.
Parameters
the domain event stream being wrapped
the state of the aggregate
the first operator (default: from delegate header)
the first event time (default: from delegate)
whether the aggregate is deleted (default: false)
Constructors
Properties
The aggregate ID this event stream belongs to
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.
Creates a copy of this StateEventData with a copied delegate.
Generates a unique ID string for this NamedAggregate.
Gets the context alias prefix for this bounded context.
Determines if this event stream should be ignored during event sourcing.
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.
Computes a grouping key for parallel processing based on the aggregate ID.
Converts this NamedAggregate to its string representation.
Converts a DomainEventStream to a StateEvent using the state from a ReadOnlyStateAggregate.
Converts a DomainEventStream to a StateEvent with the given state.
Converts this NamedAggregate to a string representation using the context alias.