Class HeatmapDataValueObject.GeneRef

java.lang.Object
ubic.gemma.rest.HeatmapDataValueObject.GeneRef
Enclosing class:
HeatmapDataValueObject

public static class HeatmapDataValueObject.GeneRef extends Object
Compact gene reference: official symbol + full name + Gemma ID + NCBI gene ID. The Gemma ID is what the client uses to build a link to the gene page (e.g. /gene/{geneId}); the NCBI ID is what it uses to link out (e.g. NCBI Gene, or any external resource keyed by Entrez ID). Every field is individually optional — producers ship whatever they have.
Author:
claude
  • Constructor Details

    • GeneRef

      public GeneRef()
    • GeneRef

      public GeneRef(@Nullable Long id, @Nullable String officialSymbol, @Nullable String name, @Nullable Integer ncbiId)
  • Method Details

    • getId

      @Nullable public Long getId()
    • getOfficialSymbol

      @Nullable public String getOfficialSymbol()
    • getName

      @Nullable public String getName()
      Full gene name, e.g. "breast cancer 1, early onset".
    • getNcbiId

      @Nullable public Integer getNcbiId()
      NCBI (Entrez) gene ID. Null for the genes Gemma tracks without one.
    • setId

      public void setId(@Nullable Long id)
    • setOfficialSymbol

      public void setOfficialSymbol(@Nullable String officialSymbol)
    • setName

      public void setName(@Nullable String name)
      Full gene name, e.g. "breast cancer 1, early onset".
    • setNcbiId

      public void setNcbiId(@Nullable Integer ncbiId)
      NCBI (Entrez) gene ID. Null for the genes Gemma tracks without one.