org.enodeframework.messaging.IMessage 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.messaging;
import java.util.Date;
import java.util.Map;
public interface IMessage {
/**
* Represents the unique identifier of the message.
*/
String getId();
void setId(String id);
/**
* Represents the timestamp of the message.
*/
Date getTimestamp();
void setTimestamp(Date timestamp);
/**
* Represents the extension key/values data of the message.
*/
Map getItems();
void setItems(Map items);
/**
* Merge the givens key/values into the current Items.
*/
void mergeItems(Map items);
}