You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

 

akka.fp.Loader  [FP-Akka]

  • Parses command line options for configuring MongoDBReader and MongoDBWriter actors.
  • Instantiates and runs workflow comprising five Akka actors represented by the five class dependencies below.
  • Internally creates an instance of the nested class ScientificNameValidatorInvocation.

  • Injects fp.services.COLService into the scientificNameService field of the instantiated akka.fp.NewScientificName actor.

akka.fp.NewScientificNameValidator  [FP-Akka]

    • Akka actor for validating scientific name and authorship fields.
    • Uses the class injected into the scientificNameService field (fp.services.COLService and its parent fp.services.SciNameServiceParent) to carry out validation tasks
    • Receives individual SpecimenRecord instances from upstream MongoDBReader.
    • Disassembles the specimen records into fields.
    • Calls the validateScientificName() method implemented by fp.services.SciNameServiceParent.
    • Calls getters getCurationStatus(), getCorrectedScientificName(), getCorrectedAuthor(), getLSID(), getComment(), getServiceName() on  fp.services.SciNameServiceParent to extract validation results.
    • Builds an instance of fp.util.CurationCommentType using the results from fp.services.SciNameServiceParent.
    • Adds three fields with labels scinComment, scinStatus, and scinSource to the input specimen record using the values returned from fp.util.CurationCommentType.
    • Forwards the updated specimen record (with three new fields) to downstream actors in workflow.

fp.services.COLService [FP-KurationServices]

        • Derived from fp.services.SciNameServiceParent (to which it defers most method calls).
        • Overrides nameSearchAgainstServices() to look up scientific name and author in the Catalog of Life using the web service at http://www.catalogueoflife.org/col/webservice.

fp.services.SciNameServiceParent [FP-KurationServices]

fp.util.SciNameServiceUtil

edu.harvard.mcz.nametools.NameUsage

fp.services.GNISupportingService

org.gbif.nameparser.NameParser

org.gbif.api.model.checklistbank.ParsedName

 

 

 

 

  • No labels