public interface EntityConstraintChecker
| Modifier and Type | Method and Description |
|---|---|
void |
checkConstraint(ConstraintValidator validator,
EntityConstraint constraint,
JsonDoc doc)
Entity constraint checker function
|
void checkConstraint(ConstraintValidator validator, EntityConstraint constraint, JsonDoc doc)
validator - The constraint validator instance from which the
implementation can access the metadata and context informationconstraint - field constraintdoc - The document
The function should add the errors to validatorCopyright © 2015. All rights reserved.