DeleteAggregate

@Description(value = "Marks the aggregate deleted; its events stay in the log.")
class DeleteAggregate

Marks the aggregate deleted (AggregateDeleted). A deleted aggregate refuses every command but RestoreAggregate; its events stay in the log.

Fields may be added, each a constructor parameter with a default. It has no companion object on purpose: with one, a bare DeleteAggregate would compile as that object, a value equal to no DeleteAggregate, and as a when branch too; without one the compiler refuses it and names each place to write DeleteAggregate().

Constructors

Link copied to clipboard
constructor()

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
open override fun toString(): String