Class DatasetsWebService.PublicationEntry

java.lang.Object
ubic.gemma.rest.DatasetsWebService.PublicationEntry
Enclosing class:
DatasetsWebService

public static class DatasetsWebService.PublicationEntry extends Object
A single publication on the DatasetsWebService.updateDatasetPublications(DatasetArg, DatasetsWebService.PublicationsUpdateRequest) wire: which paper, and why.

Identity is exactly one of pubMedId or doi. DOIs may be given bare (10.x/…), as a doi.org URL, or doi:-prefixed; a DOI not indexed by PubMed is resolved via CrossRef (covers bioRxiv / medRxiv preprints). Manual metadata entry (title/authors) is intentionally not accepted here yet.

Everything after the identity is the evidence, and it is optional in the sense that a request without it still works — but source is what decides precedence between writers, so a caller that leaves it out is recorded as curator, the highest authority. An agent must set "source": "agent" rather than let it default, or its proposals will outrank the curators they are meant to defer to.

Author:
tesarst
  • Constructor Details

    • PublicationEntry

      public PublicationEntry()
  • Method Details

    • getPubMedId

      @Nullable public String getPubMedId()
    • setPubMedId

      public void setPubMedId(@Nullable String pubMedId)
    • getDoi

      @Nullable public String getDoi()
    • setDoi

      public void setDoi(@Nullable String doi)
    • getSource

      @Nullable public String getSource()
    • setSource

      public void setSource(@Nullable String source)
    • getEvidence

      @Nullable public String getEvidence()
    • setEvidence

      public void setEvidence(@Nullable String evidence)
    • getSupportingEvidence

      @Nullable public String getSupportingEvidence()
    • setSupportingEvidence

      public void setSupportingEvidence(@Nullable String supportingEvidence)
    • getEvidenceCode

      @Nullable public String getEvidenceCode()
    • setEvidenceCode

      public void setEvidenceCode(@Nullable String evidenceCode)
    • getConfidence

      @Nullable public Double getConfidence()
    • setConfidence

      public void setConfidence(@Nullable Double confidence)
    • getAssertedBy

      @Nullable public String getAssertedBy()
    • setAssertedBy

      public void setAssertedBy(@Nullable String assertedBy)