public interface UpcastingContext
Modifier and Type | Method and Description |
---|---|
Object |
getAggregateIdentifier()
Returns the Identifier of the Aggregate to which the Event owning the object to upcast, was applied.
|
String |
getMessageIdentifier()
Returns the identifier of the message wrapping the object to upcast.
|
MetaData |
getMetaData()
Returns the meta data of the message wrapping the object being upcast.
|
Long |
getSequenceNumber()
Returns the sequence number of the event in the aggregate, or
null if the message wrapping the
object being upcast does not contain a sequence number. |
org.joda.time.DateTime |
getTimestamp()
Returns the timestamp at which the event was first created.
|
String getMessageIdentifier()
Object getAggregateIdentifier()
null
if the object being upcast was not contained in a DomainEventMessage.null
if not applicableLong getSequenceNumber()
null
if the message wrapping the
object being upcast does not contain a sequence number.org.joda.time.DateTime getTimestamp()
null
if the object being
upcastMetaData getMetaData()
null
.Copyright © 2010-2014. All Rights Reserved.