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