cqrs4j-example-shared
Shared code for all demo applications and client & server.
Commands
- CreatePersonCommand - A new person should be created in the system. (Example: CreatePersonCommand.json)
Events
- PersonCreatedEvent - A new person was created in the system. (Example: PersonCreatedEvent.json)
Value Objects
- PersonId - Identifies uniquely a person aggregate.
- PersonName - Name of a person.
Supporting classes
- SharedEntityIdFactory - Factory that creates entity identifier instances based on the type.
- SharedUtils - Utilities.