Class EnumElement.EnumElementValidator

java.lang.Object
nablarch.core.validation.ee.EnumElement.EnumElementValidator
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<EnumElement,Object>
Enclosing class:
EnumElement

public static class EnumElement.EnumElementValidator extends Object implements jakarta.validation.ConstraintValidator<EnumElement,Object>
許容値を列挙型でバリデーションするConstraintValidatorクラス。
  • Constructor Details

    • EnumElementValidator

      public EnumElementValidator()
  • Method Details

    • initialize

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

      public boolean isValid(Object value, jakarta.validation.ConstraintValidatorContext context)
      Specified by:
      isValid in interface jakarta.validation.ConstraintValidator<EnumElement,Object>