StateAggregateMetadata

data class StateAggregateMetadata<S : Any>(val aggregateType: Class<S>, val constructorAccessor: ConstructorAccessor<S>, val aggregateIdAccessor: PropertyGetter<S, String>, val sourcingFunctionRegistry: Map<Class<*>, FunctionAccessorMetadata<S, Void>>) : TypedAggregate<S> , Metadata

Constructors

Link copied to clipboard
constructor(aggregateType: Class<S>, constructorAccessor: ConstructorAccessor<S>, aggregateIdAccessor: PropertyGetter<S, String>, sourcingFunctionRegistry: Map<Class<*>, FunctionAccessorMetadata<S, Void>>)

Properties

Link copied to clipboard
open override val aggregateType: Class<S>

State Aggregation Type

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun <S : Any> StateAggregateMetadata<S>.toStateAggregate(aggregateId: AggregateId, state: S, version: Int, eventId: String = "", firstOperator: String = "", operator: String = "", firstEventTime: Long = 0, eventTime: Long = 0, deleted: Boolean = false): StateAggregate<S>
Link copied to clipboard
open override fun toString(): String