Class PubMedEntrezRecord

java.lang.Object
org.eclipse.pass.loader.nihms.entrez.PubMedEntrezRecord

public class PubMedEntrezRecord extends Object
Class is instantiated by passing in a JSONObject from Entrez representing a PubMed article record. Using getters you can then pull fields from that JSONObject
Author:
Karen Hanson
  • Constructor Summary

    Constructors
    Constructor
    Description
    PubMedEntrezRecord(org.json.JSONObject entrezJson)
    Instantiate a PubMedRecord by passing in a JSONObject representing a single result from the PubMed database of the Entrez API.
  • Method Summary

    Modifier and Type
    Method
    Description
    Extract DOI from Entrez JSON as https://doi.org/10....
    Extracts ESSN from Entrez JSON record and returns it
    Extracts ISSN from Entrez JSON record and returns it
    Extracts issue from Entrez JSON record and returns it
    Extracts PMID from Entrez JSON record and returns it
    Extracts title from Entrez JSON record and returns it
    Extracts volume from Entrez JSON record and returns it

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getDoi

      public String getDoi()
      Extract DOI from Entrez JSON as https://doi.org/10....
      Returns:
      the doi
    • getPmid

      public String getPmid()
      Extracts PMID from Entrez JSON record and returns it
      Returns:
      the title
    • getTitle

      public String getTitle()
      Extracts title from Entrez JSON record and returns it
      Returns:
      the title
    • getVolume

      public String getVolume()
      Extracts volume from Entrez JSON record and returns it
      Returns:
      the volume
    • getIssue

      public String getIssue()
      Extracts issue from Entrez JSON record and returns it
      Returns:
      the issue
    • getIssn

      public String getIssn()
      Extracts ISSN from Entrez JSON record and returns it
      Returns:
      the ISSN
    • getEssn

      public String getEssn()
      Extracts ESSN from Entrez JSON record and returns it
      Returns:
      the ESSN