public interface ConstraintResolver
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
resolveForProperty(String property,
Class<?> clazz)
Resolves and returns the constraints for the given
property on the given
clazz . |
List<Constraint> resolveForProperty(String property, Class<?> clazz)
property
on the given
clazz
. If there are no constraints, an empty list is returned.property
- the propertyclazz
- the classnull