Package org.axonframework.eventhandling
Interface DomainEventData<T>
- Type Parameters:
T- The content type of the serialized data
- All Superinterfaces:
EventData<T>
- All Known Implementing Classes:
AbstractDomainEventEntry,AbstractSequencedDomainEventEntry,AbstractSnapshotEventEntry,DomainEventEntry,GenericDomainEventEntry,GrpcBackedDomainEventData,SnapshotEventEntry,TrackedDomainEventData
Interface describing the properties of serialized Domain Event Messages. Event Store implementations should have
their storage entries implement this interface.
- Since:
- 2.0
- Author:
- Allard Buijze
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Identifier of the Aggregate to which the Event was applied.longReturns the sequence number of the event in the aggregate.getType()Returns the type identifier of the aggregate.Methods inherited from interface org.axonframework.eventhandling.EventData
getEventIdentifier, getMetaData, getPayload, getTimestamp
-
Method Details
-
getType
String getType()Returns the type identifier of the aggregate.- Returns:
- the type identifier of the aggregate.
-
getAggregateIdentifier
String getAggregateIdentifier()Returns the Identifier of the Aggregate to which the Event was applied.- Returns:
- the Identifier of the Aggregate to which the Event was applied
-
getSequenceNumber
long getSequenceNumber()Returns the sequence number of the event in the aggregate.- Returns:
- the sequence number of the event in the aggregate
-