Class AlphaNumericConstraint

    • Constructor Detail

      • AlphaNumericConstraint

        public AlphaNumericConstraint()
    • Method Detail

      • initialize

        public void initialize​(AlphaNumeric field)
        Specified by:
        initialize in interface javax.validation.ConstraintValidator<AlphaNumeric,​Object>
      • hasError

        protected boolean hasError​(Object field,
                                   javax.validation.ConstraintValidatorContext cxt)
        Specified by:
        hasError in class AbstractConstraint