Creation

enum class Creation : Enum<Creation>

How a command relates to its aggregate's existence, as @CreateAggregate and @AllowCreate declare it. The Manifest states it in its own vocabulary (Creation of wow-manifest), which a test of that module keeps in step.

Entries

Link copied to clipboard

The aggregate must exist.

Link copied to clipboard

The command creates the aggregate: it must not exist yet.

Link copied to clipboard

The command creates the aggregate when it does not exist, and acts on it when it does.

Companion properties

Link copied to clipboard

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Companion functions

Link copied to clipboard
fun valueOf(value: String): Creation

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.