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

com.formkiq.server.service.dto.SaveActionResponse Maven / Gradle / Ivy

There is a newer version: 0.6.1
Show newest version
package com.formkiq.server.service.dto;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * The result from an Save Action.
 *
 */
public class SaveActionResponse {

    /** Any message. */
    private String message;

    /** Action Validators. */
    private Map> validators;

    /**
     * constructor.
     */
    public SaveActionResponse() {
        this.message = "";
        this.validators = new HashMap>();
    }

    /**
     * @return {@link String}
     */
    public String getMessage() {
        return this.message;
    }

    /**
     * @param msg String
     */
    public void setMessage(final String msg) {
        this.message = msg;
    }

    /**
     * @return Map<String, List<ActionValidator>>
     */
    public Map> getValidators() {
        return this.validators;
    }

    /**
     * @param map Map<String, List<ActionValidator>
     */
    public void putValidators(final Map> map) {
        this.validators.putAll(map);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy