Class NotEmptyLocalizationValidator
- java.lang.Object
-
- de.xima.fc.validation.constraintvalidators.NotEmptyLocalizationValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<NotEmptyLocalization,ILocalizationViewModel>
public final class NotEmptyLocalizationValidator extends Object implements javax.validation.ConstraintValidator<NotEmptyLocalization,ILocalizationViewModel>
Validator implementation for theNotEmptyLocalization
constraint, see their for more details.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description NotEmptyLocalizationValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(NotEmptyLocalization constraintAnnotation)
boolean
isValid(ILocalizationViewModel value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
initialize
public void initialize(NotEmptyLocalization constraintAnnotation)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<NotEmptyLocalization,ILocalizationViewModel>
-
isValid
public boolean isValid(ILocalizationViewModel value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<NotEmptyLocalization,ILocalizationViewModel>
-
-