public class GreetingConstraintValidatorForInteger extends Object implements javax.validation.ConstraintValidator<GreetingConstraint,Integer>
| Constructor and Description |
|---|
GreetingConstraintValidatorForInteger(Greeter greeter) |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(GreetingConstraint constraintAnnotation) |
boolean |
isValid(Integer value,
javax.validation.ConstraintValidatorContext context) |
@Inject public GreetingConstraintValidatorForInteger(Greeter greeter)
public void initialize(GreetingConstraint constraintAnnotation)
initialize in interface javax.validation.ConstraintValidator<GreetingConstraint,Integer>public boolean isValid(Integer value, javax.validation.ConstraintValidatorContext context)
isValid in interface javax.validation.ConstraintValidator<GreetingConstraint,Integer>Copyright © 2008–2014. All rights reserved.