CommandAggregateMetadata
data class CommandAggregateMetadata<C : Any>(val aggregateType: Class<C>, val namedAggregate: NamedAggregate, val constructorAccessor: ConstructorAccessor<C>, val mountedCommands: Set<Class<*>>, val commandFunctionRegistry: Map<Class<*>, FunctionAccessorMetadata<C, Mono<*>>>, val errorFunctionRegistry: Map<Class<*>, FunctionAccessorMetadata<C, Mono<*>>>) : NamedTypedAggregate<C> , NamedAggregateDecorator, Metadata, ProcessorInfo
Constructors
Link copied to clipboard
constructor(aggregateType: Class<C>, namedAggregate: NamedAggregate, constructorAccessor: ConstructorAccessor<C>, mountedCommands: Set<Class<*>>, commandFunctionRegistry: Map<Class<*>, FunctionAccessorMetadata<C, Mono<*>>>, errorFunctionRegistry: Map<Class<*>, FunctionAccessorMetadata<C, Mono<*>>>)
Properties
Functions
Link copied to clipboard
fun NamedAggregate.aggregateId(id: String = generateId(), tenantId: String = TenantId.DEFAULT_TENANT_ID): DefaultAggregateId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun toCommandFunctionRegistry(commandAggregate: CommandAggregate<C, *>): Map<Class<*>, MessageFunction<C, ServerCommandExchange<*>, Mono<DomainEventStream>>>
Link copied to clipboard
fun toErrorFunctionRegistry(commandAggregate: CommandAggregate<C, *>): Map<Class<*>, MessageFunction<C, ServerCommandExchange<*>, Mono<*>>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard