org.enodeframework.common.utilities.ReplyMessage 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.common.utilities;
import org.enodeframework.commanding.CommandResult;
import org.enodeframework.queue.domainevent.DomainEventHandledMessage;
import java.io.Serializable;
/**
* remote reply used by vert.x
*
* @author [email protected]
*/
public class ReplyMessage implements Serializable {
private int code;
private CommandResult commandResult;
private DomainEventHandledMessage eventHandledMessage;
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public CommandResult getCommandResult() {
return commandResult;
}
public void setCommandResult(CommandResult commandResult) {
this.commandResult = commandResult;
}
public DomainEventHandledMessage getEventHandledMessage() {
return eventHandledMessage;
}
public void setEventHandledMessage(DomainEventHandledMessage eventHandledMessage) {
this.eventHandledMessage = eventHandledMessage;
}
}