Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

        • Implements date validation methods called by akka.fp.InternalDateValidator.
        • Most of name validation logic is defined in validateDate() method which calls methods on other objects and services.
        • validateDate() calls the private parseDate() method to check internal consistency of fields.
        • Then uses the checkWithAuthorSolr() method to to validate the collector and and collection date with the Filteredpush entomologists list (in a Solr server) and sets curationStatus to UNABLED_CURATED if collection date is not within the life span of the collector.
        • Although there there is a checkWithAuthorHarvard() method that validates collector and collection date against the Harvard List of Botanists, the code is hardwired only to use the  checkWithAuthorSolr().
        • It appears that validation of collector with respect to collection date is meaningfully performed only for entomologists--not for botanists or other collectors.

akka.fp.GEORefValidator  [FP-Akka module] 

...