dev.hnaderi.example.accounts.Account
See theAccount companion enum
object Account extends DomainModel[Account, Event, Rejection]
Attributes
- Companion
- enum
- Source
- Domain.scala
- Graph
-
- Supertypes
- Self type
-
Account.type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- DomainModel
- Source
- Model.scala
- Supertypes
- Known subtypes
-
object AccountService
Inherited and Abstract types
The names of the product elements
The name of the type
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
- Domain.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
- Domain.scala
Givens
Inherited givens
Attributes
- Inherited from:
- DomainModel
- Source
- Model.scala
In this article