Class NotEmptyValidatorForMap

  • All Implemented Interfaces:
    jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,​Map<?,​?>>

    public class NotEmptyValidatorForMap
    extends Object
    implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,​Map<?,​?>>
    Description:
    • Constructor Detail

      • NotEmptyValidatorForMap

        public NotEmptyValidatorForMap()
    • Method Detail

      • isValid

        public boolean isValid​(Map<?,​?> value,
                               jakarta.validation.ConstraintValidatorContext context)
        Specified by:
        isValid in interface jakarta.validation.ConstraintValidator<jakarta.validation.constraints.NotEmpty,​Map<?,​?>>