public class NotEmptyStringConstraint extends Object implements Constraint<NotEmpty,String>
Constructor and Description |
---|
NotEmptyStringConstraint() |
public boolean isValid(NotEmpty annotation, String value)
Constraint
isValid
in interface Constraint<NotEmpty,String>
annotation
- the annotation to matchvalue
- the value to be checked