public static class EnumElement.EnumElementValidator extends java.lang.Object implements javax.validation.ConstraintValidator<EnumElement,java.lang.Object>
ConstraintValidator
クラス。Constructor and Description |
---|
EnumElementValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(EnumElement constraintAnnotation) |
boolean |
isValid(java.lang.Object value,
javax.validation.ConstraintValidatorContext context) |
public void initialize(EnumElement constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<EnumElement,java.lang.Object>
public boolean isValid(java.lang.Object value, javax.validation.ConstraintValidatorContext context)
isValid
in interface javax.validation.ConstraintValidator<EnumElement,java.lang.Object>