com.formkiq.server.service.dto.SaveActionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of formkiq-server Show documentation
Show all versions of formkiq-server Show documentation
Server-side integration for the FormKiQ ios application
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);
}
}