|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.eventstore.jpa.AbstractEventEntryData<byte[]> org.axonframework.eventstore.jpa.AbstractEventEntry
@MappedSuperclass public abstract class AbstractEventEntry
Data needed by different types of event logs.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.axonframework.eventstore.jpa.AbstractEventEntryData |
---|
AbstractEventEntryData.PK |
Constructor Summary | |
---|---|
protected |
AbstractEventEntry()
Default constructor, as required by JPA specification. |
protected |
AbstractEventEntry(String type,
DomainEventMessage event,
org.joda.time.DateTime timestamp,
SerializedObject<byte[]> payload,
SerializedObject<byte[]> metaData)
Initialize an Event entry for the given event . |
protected |
AbstractEventEntry(String type,
DomainEventMessage event,
SerializedObject<byte[]> payload,
SerializedObject<byte[]> metaData)
Initialize an Event entry for the given event . |
Method Summary | |
---|---|
SerializedObject<byte[]> |
getMetaData()
Returns the serialized data of the MetaData of the serialized Event. |
SerializedObject<byte[]> |
getPayload()
Returns the serialized data of the Event Message's payload. |
Methods inherited from class org.axonframework.eventstore.jpa.AbstractEventEntryData |
---|
getAggregateIdentifier, getEventIdentifier, getPayloadType, getSequenceNumber, getTimestamp, getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractEventEntry(String type, DomainEventMessage event, SerializedObject<byte[]> payload, SerializedObject<byte[]> metaData)
event
.
type
- The type identifier of the aggregate root the event belongs toevent
- The event to store in the EventStorepayload
- The serialized payload of the EventmetaData
- The serialized metaData of the Eventprotected AbstractEventEntry(String type, DomainEventMessage event, org.joda.time.DateTime timestamp, SerializedObject<byte[]> payload, SerializedObject<byte[]> metaData)
event
.
type
- The type identifier of the aggregate root the event belongs toevent
- The event to store in the EventStoretimestamp
- The timestamp to storepayload
- The serialized payload of the EventmetaData
- The serialized metaData of the Eventprotected AbstractEventEntry()
Method Detail |
---|
public SerializedObject<byte[]> getPayload()
SerializedDomainEventData
public SerializedObject<byte[]> getMetaData()
SerializedDomainEventData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |