public class Message
extends java.lang.Object
| Constructor and Description |
|---|
Message() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAggregation()
Retrieve the name of the parent aggregation
|
Event |
getEvent()
Retrieve the
Event that was added to the stream |
java.lang.String |
getStreamId()
Retrieve the
EventStream identifier |
Message |
setAggregation(java.lang.String aggregation)
Inform the name of the parent aggregation
|
Message |
setEvent(Event event)
Inform the
Event that was added to the stream |
Message |
setStreamId(java.lang.String streamId)
Inform the
EventStream identifier |
public Message setAggregation(java.lang.String aggregation)
aggregation - The parent Aggregationpublic Message setStreamId(java.lang.String streamId)
EventStream identifierstreamId - The EventStream identifierpublic Message setEvent(Event event)
Event that was added to the streamevent - The added eventpublic Event getEvent()
Event that was added to the streampublic java.lang.String getAggregation()
public java.lang.String getStreamId()
EventStream identifier