create

open override fun <S : Any> create(metadata: StateAggregateMetadata<S>, aggregateId: AggregateId): StateAggregate<S>
fun <S : Any> create(metadata: StateAggregateMetadata<S>, aggregateId: AggregateId, state: S, version: Int, eventId: String = "", firstOperator: String = "", operator: String = "", firstEventTime: Long = 0, eventTime: Long = 0, deleted: Boolean = false): StateAggregate<S>