- java.lang.Object
-
- io.rxmicro.validation.base.AbstractMaxConstraintValidator<Short>
-
- io.rxmicro.validation.validator.MaxShortConstraintValidator
-
- All Implemented Interfaces:
ConstraintValidator<Short>
public class MaxShortConstraintValidator extends AbstractMaxConstraintValidator<Short> implements ConstraintValidator<Short>
-
-
Constructor Summary
Constructors Constructor Description MaxShortConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxShortConstraintValidatorwith the specified parameters.MaxShortConstraintValidator(String maxValue, boolean inclusive)Creates the default instance ofMaxShortConstraintValidatorwith the specified parameters.
-
Method Summary
-
Methods inherited from class io.rxmicro.validation.base.AbstractMaxConstraintValidator
validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.rxmicro.validation.ConstraintValidator
validate, validate, validateList, validateList
-
-
-
-
Constructor Detail
-
MaxShortConstraintValidator
public MaxShortConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxShortConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
MaxShortConstraintValidator
public MaxShortConstraintValidator(String maxValue, boolean inclusive)
Creates the default instance ofMaxShortConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
-