org.enodeframework.queue.domainevent.EventStreamMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enode Show documentation
Show all versions of enode Show documentation
The enodeframework core implementation.
package org.enodeframework.queue.domainevent;
import java.util.Date;
import java.util.Map;
/**
* @author [email protected]
*/
public class EventStreamMessage {
private String id;
private String aggregateRootId;
private String aggregateRootTypeName;
private int version;
private Date timestamp;
private String commandId;
private Map events;
private Map items;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getAggregateRootId() {
return aggregateRootId;
}
public void setAggregateRootId(String aggregateRootId) {
this.aggregateRootId = aggregateRootId;
}
public String getAggregateRootTypeName() {
return aggregateRootTypeName;
}
public void setAggregateRootTypeName(String aggregateRootTypeName) {
this.aggregateRootTypeName = aggregateRootTypeName;
}
public int getVersion() {
return version;
}
public void setVersion(int version) {
this.version = version;
}
public Date getTimestamp() {
return timestamp;
}
public void setTimestamp(Date timestamp) {
this.timestamp = timestamp;
}
public String getCommandId() {
return commandId;
}
public void setCommandId(String commandId) {
this.commandId = commandId;
}
public Map getEvents() {
return events;
}
public void setEvents(Map events) {
this.events = events;
}
public Map getItems() {
return items;
}
public void setItems(Map items) {
this.items = items;
}
}