public class ConstraintValidator extends Object
| Constructor | Description |
|---|---|
ConstraintValidator() |
| Modifier and Type | Method | Description |
|---|---|---|
static Annotation[] |
isMet(Object value,
Annotation... constraintAnnotations) |
Checks whether the
value meets the constraints defined by the
provided constraintAnnotations. |
public static Annotation[] isMet(Object value, Annotation... constraintAnnotations)
value meets the constraints defined by the
provided constraintAnnotations.value - the value to be checkedconstraintAnnotations - constraint annotations defining the constraints to be
checked.Copyright © 2018 Carrot2.org. All rights reserved.