com.formkiq.server.service.dto.ActionValidatorString Maven / Gradle / Ivy
package com.formkiq.server.service.dto;
/**
* String representation of all ActionValidator fields.
*
*/
public class ActionValidatorString implements ActionValidator {
/** Validator Message. */
private String message;
/** Validator Rule. */
private ActionValidatorRuleType rule;
/** String value. */
private String value;
/**
* default constructor.
*/
public ActionValidatorString() {
}
@Override
public String getMessage() {
return this.message;
}
/**
* @param msg String
*/
public void setMessage(final String msg) {
this.message = msg;
}
@Override
public ActionValidatorRuleType getRule() {
return this.rule;
}
/**
* @param actionRule ActionValidatorRuleType
*/
public void setRule(final ActionValidatorRuleType actionRule) {
this.rule = actionRule;
}
@Override
public String getValue() {
return this.value;
}
/**
* @param string String
*/
public void setValue(final String string) {
this.value = string;
}
}