Class DatasetsWebService.DatasetSearchHitValueObject

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

public static final class DatasetsWebService.DatasetSearchHitValueObject extends Object
Thin dataset projection for the typeahead /datasets/search endpoint. Carries only the fields the curation-UI browser import dialog needs to render a result chip (short name + title + taxon + score), to keep the payload small enough for keystroke-rate fetching.
Author:
tesarst
  • Constructor Details

  • Method Details

    • getId

      public Long getId()
    • getShortName

      @Nullable public String getShortName()
    • getName

      @Nullable public String getName()
    • getAccession

      @Nullable public String getAccession()
    • getTaxon

      @Nullable public String getTaxon()
      Common name of the taxon, suitable for a typeahead chip.
    • getTaxonId

      @Nullable public Long getTaxonId()
    • getScore

      @Nullable public Double getScore()
      Search relevance score; higher is better. May be null if the hit was not directly scored.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object