Class NumericValidator

    • Constructor Detail

      • NumericValidator

        public NumericValidator​(String attribute)
    • Method Detail

      • validate

        public void validate​(Validatable validatable)
        Description copied from interface: Validator
        Called by framework when validation is required
        Parameters:
        validatable - map being validated.
      • setMin

        public void setMin​(Double min)
      • setMax

        public void setMax​(Double max)
      • setAllowNull

        public void setAllowNull​(Boolean allowNull)
      • setOnlyInteger

        public void setOnlyInteger​(boolean onlyInteger)