Class MissingObjectValidator
java.lang.Object
org.incenp.obofoundry.sssom.checks.MissingObjectValidator
- All Implemented Interfaces:
IMappingValidator
Checks that a mapping has an object.
The object is represented either by the object_id slot, or by the
object_label slot iff the object type is set to
EntityType.RDFS_LITERAL (i.e. if the mapping is a “literal mapping”).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks a mapping for a possible post-parsing error.
-
Constructor Details
-
MissingObjectValidator
public MissingObjectValidator()
-
-
Method Details
-
validate
Description copied from interface:IMappingValidatorChecks a mapping for a possible post-parsing error.- Specified by:
validatein interfaceIMappingValidator- Parameters:
mapping- The mapping to check.- Returns:
- An error code, or
nullif the set passes the test represented by this object.
-