Versions Compared

Key

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

...

    • 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 to with labels scinComment, scinStatus, and scinSource to the input specimen record using the values returned from fp.util.CurationCommentType:CurationCommentType. getDetails() -> scinComment
    • CurationCommentType. getStatus() -> scinStatus
    • CurationCommentType. getSource() -> scinSource

fp.services.COLService

fp.services.SciNameServiceParent

...