org.qi4j.library.eventsourcing.application.api
Interface TransactionApplicationEvents

All Superinterfaces:
Composite, Value, ValueComposite

public interface TransactionApplicationEvents
extends ValueComposite

List of events for a single transaction. Events must always be consumed in transaction units, in order to ensure that the result is consistent with what happened in that transaction.


Method Summary
 Property<List<ApplicationEvent>> events()
           
 Property<Long> timestamp()
           
 
Methods inherited from interface org.qi4j.api.value.Value
buildWith, state, toJSON
 
Methods inherited from interface org.qi4j.api.composite.Composite
metaInfo, type
 

Method Detail

timestamp

Property<Long> timestamp()

events

@UseDefaults
Property<List<ApplicationEvent>> events()