org.qi4j.library.eventsourcing.application.api
Interface ApplicationEvent
- All Superinterfaces:
- Composite, Identity, Value, ValueComposite
public interface ApplicationEvent
- extends ValueComposite, Identity
Representation of an application-event. An application event is triggered by calling a method
that is of the form:
void someName(ApplicationEvent event, SomeParam param);
The "event" argument should be invoked with null, as it will be created during
the method call. If it is not null, then the method call is a replay of previously
created events.
usecase
Property<String> usecase()
name
Property<String> name()
on
Property<Date> on()
parameters
Property<String> parameters()
version
Property<String> version()