Class AbstractNumberValidator

java.lang.Object
ch.tocco.nice2.model.base.unmarshal.validate.AbstractValidator<Number>
ch.tocco.nice2.model.base.unmarshal.validate.AbstractNumberValidator
All Implemented Interfaces:
Validator
Direct Known Subclasses:
Not0Validator, PositiveValidator, RangeValidator

public abstract class AbstractNumberValidator extends AbstractValidator<Number>
  • Constructor Details

    • AbstractNumberValidator

      protected AbstractNumberValidator()
  • Method Details

    • validate

      protected boolean validate(Number value, String param)
      Specified by:
      validate in class AbstractValidator<Number>
    • validate

      protected abstract boolean validate(double value, String param)
    • validate

      protected abstract boolean validate(long value, String param)