Package model.validation
Class SectionExistsByNameValidator
- java.lang.Object
-
- model.validation.SectionExistsByNameValidator
-
- All Implemented Interfaces:
ConstraintValidator<SectionExists,String>
public class SectionExistsByNameValidator extends Object implements ConstraintValidator<SectionExists,String>
-
-
Constructor Summary
Constructors Constructor Description SectionExistsByNameValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(SectionExists constraintAnnotation)
boolean
isValid(String value, ConstraintValidatorContext context)
-
-
-
Constructor Detail
-
SectionExistsByNameValidator
public SectionExistsByNameValidator()
-
-
Method Detail
-
initialize
public void initialize(SectionExists constraintAnnotation)
- Specified by:
initialize
in interfaceConstraintValidator<SectionExists,String>
-
isValid
public boolean isValid(String value, ConstraintValidatorContext context)
- Specified by:
isValid
in interfaceConstraintValidator<SectionExists,String>
-
-