Class MissingLicenseValidator

  • All Implemented Interfaces:
    IMappingSetValidator

    public class MissingLicenseValidator
    extends Object
    implements IMappingSetValidator
    Checks that a mapping set has a license.

    The license slot is officially considered as required at the set level, though historically both SSSOM-Py and SSSOM-Java have been lenient on that requirement.

    • Constructor Detail

      • MissingLicenseValidator

        public MissingLicenseValidator()
    • Method Detail

      • validate

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