TestDomain

tests.TestDomain$
object TestDomain extends DomainModel[Int, Int, String]

Attributes

Source:
TestDomain.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Inherited classlikes

trait Service[C, N]

Attributes

Inherited from:
DomainModel
Source:
Model.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

Initial or empty value for this domain model

Initial or empty value for this domain model

for any aggregate, it is either created and have a history, or is in initial state

Attributes

Source:
TestDomain.scala

A function that defines how this model transitions in response to events; it is like an event handler, but is pure.

A function that defines how this model transitions in response to events; it is like an event handler, but is pure.

An event that can't be applied results in a rejection or conflict, based on whether it is read from journal or applied for decision

Attributes

Source:
TestDomain.scala

Givens

Inherited givens