CommandMetadata

data class CommandMetadata<C>(val commandType: Class<C>, val namedAggregateGetter: NamedAggregateGetter<C>?, val name: String, val isCreate: Boolean, val allowCreate: Boolean, val isVoid: Boolean, val aggregateIdGetter: PropertyGetter<C, String>?, val tenantIdGetter: PropertyGetter<C, String>?, val aggregateVersionGetter: PropertyGetter<C, Int?>?) : Named, Metadata

Command Metadata .

Author

ahoo wang

Constructors

Link copied to clipboard
constructor(commandType: Class<C>, namedAggregateGetter: NamedAggregateGetter<C>?, name: String, isCreate: Boolean, allowCreate: Boolean, isVoid: Boolean, aggregateIdGetter: PropertyGetter<C, String>?, tenantIdGetter: PropertyGetter<C, String>?, aggregateVersionGetter: PropertyGetter<C, Int?>?)

Properties

Link copied to clipboard

Aggregate ID can be null if it is a create aggregate command.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard

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