- java.lang.Object
-
- io.rxmicro.validation.base.AbstractMaxConstraintValidator<Long>
-
- io.rxmicro.validation.validator.MaxLongConstraintValidator
-
- All Implemented Interfaces:
ConstraintValidator<Long>
public class MaxLongConstraintValidator extends AbstractMaxConstraintValidator<Long> implements ConstraintValidator<Long>
-
-
Constructor Summary
Constructors Constructor Description MaxLongConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxLongConstraintValidatorwith the specified parameters.MaxLongConstraintValidator(String maxValue, boolean inclusive)Creates the default instance ofMaxLongConstraintValidatorwith 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
-
MaxLongConstraintValidator
public MaxLongConstraintValidator(long maxValue, boolean inclusive)Creates the default instance ofMaxLongConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
MaxLongConstraintValidator
public MaxLongConstraintValidator(String maxValue, boolean inclusive)
Creates the default instance ofMaxLongConstraintValidatorwith the specified parameters.- Parameters:
maxValue- the supported max value.inclusive- whether the specified minimum is inclusive or exclusive.
-
-