GivenInitializationCommand

data class GivenInitializationCommand(val aggregateId: AggregateId, val id: String = GlobalIdGenerator.generateAsString(), val requestId: String = GlobalIdGenerator.generateAsString(), val isCreate: Boolean = true, val allowCreate: Boolean = false, val header: Header = DefaultHeader.empty()) : CommandMessage<GivenInitialization> , NamedAggregate

Constructors

Link copied to clipboard
constructor(aggregateId: AggregateId, id: String = GlobalIdGenerator.generateAsString(), requestId: String = GlobalIdGenerator.generateAsString(), isCreate: Boolean = true, allowCreate: Boolean = false, header: Header = DefaultHeader.empty())

Properties

Link copied to clipboard
open override val aggregateId: AggregateId
Link copied to clipboard
open override val aggregateName: String
Link copied to clipboard
open override val aggregateVersion: Int? = null
Link copied to clipboard
open override val allowCreate: Boolean = false
Link copied to clipboard
open override val body: GivenInitialization
Link copied to clipboard
open override val commandId: String
Link copied to clipboard
open override val contextName: String
Link copied to clipboard
open override val createTime: Long
Link copied to clipboard
open override val header: Header
Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val isCreate: Boolean = true
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val requestId: String

Functions

Link copied to clipboard
Link copied to clipboard
open override fun isSameAggregateName(other: NamedAggregate): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard