public class MaximumLengthValidator extends PropertyValidatorBase
Constructor and Description |
---|
MaximumLengthValidator() |
Modifier and Type | Method and Description |
---|---|
void |
applyParams(HashMap<String,Object> params) |
int |
getMaximumLength() |
String |
getNegativeMessage() |
String |
getPositiveMessage() |
void |
setMaximumLength(int maximumLength) |
setNegativeMessage, setPositiveMessage, validate
public int getMaximumLength()
public void setMaximumLength(int maximumLength)
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