|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.gae.eventstore.EventEntry
public class EventEntry
Class that represents an event to store in the google app engine data store.
Method Summary | |
---|---|
Object |
getAggregateIdentifier()
Returns the Identifier of the Aggregate to which the Event was applied. |
List<DomainEventMessage> |
getDomainEvent(Object actualAggregateIdentifier,
Serializer serializer,
UpcasterChain upcasterChain,
boolean skipUnknownTypes)
Returns the actual DomainEvent from the EventEntry using the provided Serializer. |
String |
getEventIdentifier()
Returns the identifier of the serialized event. |
SerializedObject<String> |
getMetaData()
Returns the serialized data of the MetaData of the serialized Event. |
SerializedObject<String> |
getPayload()
Returns the serialized data of the Event Message's payload. |
long |
getSequenceNumber()
getter for the sequence number of the event. |
org.joda.time.DateTime |
getTimestamp()
Returns the timestamp at which the event was first created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public List<DomainEventMessage> getDomainEvent(Object actualAggregateIdentifier, Serializer serializer, UpcasterChain upcasterChain, boolean skipUnknownTypes)
actualAggregateIdentifier
- The actual aggregate identifier instance used to perform the lookupserializer
- Serializer used to de-serialize the stored DomainEventupcasterChain
- Set of upcasters to use when an event needs upcasting before de-serializationskipUnknownTypes
- Whether to skip unknown event types
public String getEventIdentifier()
SerializedDomainEventData
getEventIdentifier
in interface SerializedDomainEventData<String>
public Object getAggregateIdentifier()
SerializedDomainEventData
getAggregateIdentifier
in interface SerializedDomainEventData<String>
public long getSequenceNumber()
getSequenceNumber
in interface SerializedDomainEventData<String>
public org.joda.time.DateTime getTimestamp()
SerializedDomainEventData
getTimestamp
in interface SerializedDomainEventData<String>
public SerializedObject<String> getMetaData()
SerializedDomainEventData
getMetaData
in interface SerializedDomainEventData<String>
public SerializedObject<String> getPayload()
SerializedDomainEventData
getPayload
in interface SerializedDomainEventData<String>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |