javax.validation
public interface: Constraint [javadoc |
source]
Define the logic to validate a given constraint.
- author:
Emmanuel - Bernard
- author:
Hardy - Ferentschik
| Method from javax.validation.Constraint Detail: |
public void initialize(A constraintAnnotation)
Validator parameters for a given constraint definition
Annotations parameters are passed as key/value into parameters
This method is guaranteed to be called before any of the other Constraint implementation methods |
public boolean isValid(Object object,
ConstraintContext constraintContext)
Implement the validation constraint |