Class AnnotationsWebService.LexicalTermMetadataValueObject

java.lang.Object
ubic.gemma.rest.AnnotationsWebService.LexicalTermMetadataValueObject
Enclosing class:
AnnotationsWebService

public static final class AnnotationsWebService.LexicalTermMetadataValueObject extends Object
Wire shape for LexicalTermMetadata.

🛑 Gemma does NOT filter these vocabularies by species — every cell line is searchable whatever organism it came from. Restricting the catalogue to the taxa Gemma currently supports was considered and rejected, because a baked-in scope silently drops hits the day the project widens and the failure looks like a broken resolver rather than a policy. Any species scoping belongs to the CALLER, which is why ncbiTaxonId is reported and not just a name.

Author:
tesarst
  • Constructor Details

    • LexicalTermMetadataValueObject

      public LexicalTermMetadataValueObject(List<AnnotationsWebService.TaxonValueObject> species, @Nullable String cellLineType, @Nullable String sex, @Nullable String strainType, @Nullable String problematic)
      Creates a new LexicalTermMetadataValueObject instance.
      Parameters:
      species - Every organism the entry derives from, in source order. A LIST because hybridomas and hybrid cell lines genuinely derive from more than one — collapsing them to a single taxon would invent a fact. Empty when the source does not say.
      cellLineType - Cellosaurus cell-line category, e.g. Cancer cell line, Hybridoma.
      sex - Donor sex where stated. Held apart from cellLineType even though Cellosaurus packs both into one field.
      strainType - MGI strain category, e.g. inbred strain, congenic.
      problematic - Non-null iff the source flags this entry as problematic, carrying the reason — most often Misidentified/contaminated. Advisory: something a curator should see before picking the term, not a value to tag an experiment with.
  • Method Details

    • getSpecies

      Every organism the entry derives from, in source order. A LIST because hybridomas and hybrid cell lines genuinely derive from more than one — collapsing them to a single taxon would invent a fact. Empty when the source does not say.
    • getCellLineType

      @Nullable public String getCellLineType()
      Cellosaurus cell-line category, e.g. Cancer cell line, Hybridoma.
    • getSex

      @Nullable public String getSex()
      Donor sex where stated. Held apart from cellLineType even though Cellosaurus packs both into one field.
    • getStrainType

      @Nullable public String getStrainType()
      MGI strain category, e.g. inbred strain, congenic.
    • getProblematic

      @Nullable public String getProblematic()
      Non-null iff the source flags this entry as problematic, carrying the reason — most often Misidentified/contaminated. Advisory: something a curator should see before picking the term, not a value to tag an experiment with.
    • 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