Model

class Model(val type: AggregateType, val stateType: Class<*>, val events: (String) -> Class<*>? = { null })

One aggregate type's stateType and the class of each of its events by its current name, null for none.

Constructors

Link copied to clipboard
constructor(type: AggregateType, stateType: Class<*>, events: (String) -> Class<*>? = { null })

Properties

Link copied to clipboard
val events: (String) -> Class<*>?
Link copied to clipboard
Link copied to clipboard