public class MinLengthConstraint extends AbstractStringPropertyConstraint implements Serializable
Constructor and Description |
---|
MinLengthConstraint() |
MinLengthConstraint(Integer minLength) |
Modifier and Type | Method and Description |
---|---|
protected void |
doValidate(String propertyValue) |
Integer |
getMinLength() |
void |
setMinLength(Integer minLength) |
initialize, validate
validate
public MinLengthConstraint(Integer minLength)
public MinLengthConstraint()
protected void doValidate(String propertyValue) throws ConstraintViolationException
doValidate
in class AbstractStringPropertyConstraint
ConstraintViolationException
public Integer getMinLength()
public void setMinLength(Integer minLength)
Copyright © 2017. All rights reserved.