public class MinimumLengthValidator extends PropertyValidatorBase
Constructor and Description |
---|
MinimumLengthValidator() |
Modifier and Type | Method and Description |
---|---|
void |
applyParams(HashMap<String,Object> params) |
int |
getMinimumLength() |
String |
getNegativeMessage() |
String |
getPositiveMessage() |
void |
setMinimumLength(int minimumLength) |
setNegativeMessage, setPositiveMessage, validate
public int getMinimumLength()
public void setMinimumLength(int minimumLength)
public String getNegativeMessage()
getNegativeMessage
in interface PropertyValidator
getNegativeMessage
in class PropertyValidatorBase
public String getPositiveMessage()
getPositiveMessage
in interface PropertyValidator
getPositiveMessage
in class PropertyValidatorBase
public void applyParams(HashMap<String,Object> params)
applyParams
in class PropertyValidatorBase