Interface IMappingValidator
-
- All Known Implementing Classes:
DuplicatedRecordIdValidator,MissingJustificationValidator,MissingObjectValidator,MissingPredicateValidator,MissingRecordIdValidator,MissingReviewerValidator,MissingSubjectValidator,PredicateTypeValidator
public interface IMappingValidatorRepresents a single check for a possible post-parsing error that can make an individual mapping invalid.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValidationErrorvalidate(Mapping mapping)Checks a mapping for a possible post-parsing error.
-
-
-
Method Detail
-
validate
ValidationError validate(Mapping mapping)
Checks a mapping for a possible post-parsing error.- Parameters:
mapping- The mapping to check.- Returns:
- An error code, or
nullif the set passes the test represented by this object.
-
-