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

Link copied to clipboard
abstract val aggregateName: String
Link copied to clipboard
open override val aggregateType: Class<C>
Link copied to clipboard
abstract val contextName: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val namedAggregate: NamedAggregate
Link copied to clipboard
open override val processorName: String
Link copied to clipboard

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
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard