- 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>
-
-
Field Summary
-
Fields inherited from class io.rxmicro.validation.base.AbstractMaxConstraintValidator
inclusive, maxValue
-
-
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
-
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, validateIterable, validateIterable, validateMapValues, validateMapValues
-
-
-
-
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.
-
-