Class MissingObjectValidator

  • All Implemented Interfaces:
    IMappingValidator

    public class MissingObjectValidator
    extends Object
    implements 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 Detail

      • MissingObjectValidator

        public MissingObjectValidator()
    • Method Detail

      • validate

        public ValidationError validate​(Mapping mapping)
        Description copied from interface: IMappingValidator
        Checks a mapping for a possible post-parsing error.
        Specified by:
        validate in interface IMappingValidator
        Parameters:
        mapping - The mapping to check.
        Returns:
        An error code, or null if the set passes the test represented by this object.