All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.enodeframework.common.utilities.ReplyMessage Maven / Gradle / Ivy

There is a newer version: 1.1.10
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy