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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.api.entity.Identity
Identity.IdentityMixin
 
Method Summary
 Property<String> name()
           
 Property<Date> on()
           
 Property<String> parameters()
           
 Property<String> usecase()
           
 Property<String> version()
           
 
Methods inherited from interface org.qi4j.api.value.Value
buildWith, state, toJSON
 
Methods inherited from interface org.qi4j.api.composite.Composite
metaInfo, type
 
Methods inherited from interface org.qi4j.api.entity.Identity
identity
 

Method Detail

usecase

Property<String> usecase()

name

Property<String> name()

on

Property<Date> on()

parameters

Property<String> parameters()

version

Property<String> version()