public class MinLengthConstraint extends Object implements Constraint<MinLength,String>
Constructor and Description |
---|
MinLengthConstraint() |
public boolean isValid(MinLength annotation, String parameter) throws NullPointerException
Constraint
isValid
in interface Constraint<MinLength,String>
annotation
- the annotation to matchparameter
- the value to be checkedNullPointerException