Class CheckCountryCode

java.lang.Object
com.github.mizool.core.validation.CheckCountryCode
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<CountryCode,Object>

public class CheckCountryCode extends Object implements jakarta.validation.ConstraintValidator<CountryCode,Object>
  • Constructor Details

    • CheckCountryCode

      public CheckCountryCode()
  • Method Details

    • initialize

      public void initialize(CountryCode countryCode)
      Specified by:
      initialize in interface jakarta.validation.ConstraintValidator<CountryCode,Object>
    • isValid

      public boolean isValid(Object validationObject, jakarta.validation.ConstraintValidatorContext constraintValidatorContext)
      Specified by:
      isValid in interface jakarta.validation.ConstraintValidator<CountryCode,Object>