public class MaxLengthConstraint extends Object implements Constraint<MaxLength,String>
Constructor and Description |
---|
MaxLengthConstraint() |
public boolean isValid(MaxLength annotation, String argument)
Constraint
isValid
in interface Constraint<MaxLength,String>
annotation
- the annotation to matchargument
- the value to be checked