Class DecimalMaxValidator<T>

  • All Implemented Interfaces:
    jakarta.validation.ConstraintValidator<jakarta.validation.constraints.DecimalMax,​T>
    Direct Known Subclasses:
    DecimalMaxValidator.ForNumber, DecimalMaxValidator.ForString

    public abstract class DecimalMaxValidator<T>
    extends Object
    implements jakarta.validation.ConstraintValidator<jakarta.validation.constraints.DecimalMax,​T>
    • Constructor Detail

      • DecimalMaxValidator

        public DecimalMaxValidator()
    • Method Detail

      • initialize

        public void initialize​(jakarta.validation.constraints.DecimalMax annotation)
        Specified by:
        initialize in interface jakarta.validation.ConstraintValidator<jakarta.validation.constraints.DecimalMax,​T>
      • isValid

        protected boolean isValid​(BigDecimal value)