public class MaxValidatorForNumber extends Object implements ConstraintValidator<Max,Number>
Constructor and Description |
---|
MaxValidatorForNumber() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Max maxValue) |
boolean |
isValid(Number value,
ConstraintValidatorContext constraintValidatorContext) |
public void initialize(Max maxValue)
initialize
in interface ConstraintValidator<Max,Number>
public boolean isValid(Number value, ConstraintValidatorContext constraintValidatorContext)
isValid
in interface ConstraintValidator<Max,Number>
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved