public interface FieldConstraintValueChecker extends FieldConstraintChecker
| Modifier and Type | Method and Description |
|---|---|
void |
checkConstraint(ConstraintValidator validator,
FieldTreeNode fieldMetadata,
Path fieldMetadataPath,
FieldConstraint constraint,
Path valuePath,
JsonDoc doc,
com.fasterxml.jackson.databind.JsonNode fieldValue)
Constraint checker function that validates the value of a field
|
void checkConstraint(ConstraintValidator validator, FieldTreeNode fieldMetadata, Path fieldMetadataPath, FieldConstraint constraint, Path valuePath, JsonDoc doc, com.fasterxml.jackson.databind.JsonNode fieldValue)
validator - The constraint validator instance from which the
implementation can access the metadata and context informationfieldMedata - The field metadatafieldMetadataPath - The path for the field metadata (i.e. may
contain *)constraint - field constraintvaluePath - The path to the current value being validateddoc - The document containing the fieldfieldValue - The field value
The function should add the field errors to validatorCopyright © 2016. All rights reserved.