public class GenericDomainEventEntry<T> extends AbstractDomainEventEntry<T>
Constructor and Description |
---|
GenericDomainEventEntry(String type,
String aggregateIdentifier,
long sequenceNumber,
String eventIdentifier,
Object timestamp,
String payloadType,
String payloadRevision,
T payload,
T metaData)
Reconstruct an event entry from a stored object.
|
getAggregateIdentifier, getSequenceNumber, getType
getEventIdentifier, getMetaData, getPayload, getTimestamp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventIdentifier, getMetaData, getPayload, getTimestamp
public GenericDomainEventEntry(String type, String aggregateIdentifier, long sequenceNumber, String eventIdentifier, Object timestamp, String payloadType, String payloadRevision, T payload, T metaData)
type
- The type of aggregate that published this eventaggregateIdentifier
- The identifier of the aggregate that published this eventsequenceNumber
- The sequence number of the event in the aggregateeventIdentifier
- The identifier of the eventtimestamp
- The time at which the event was originally createdpayloadType
- The fully qualified class name or alias of the event payloadpayloadRevision
- The revision of the event payloadpayload
- The serialized payloadmetaData
- The serialized metadataCopyright © 2010–2020. All rights reserved.