public class ConstraintValidator extends Object
| Constructor and Description |
|---|
ConstraintValidator() |
| Modifier and Type | Method and 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 © 2013 Carrot2.org. All Rights Reserved.