Class AnnotationsWebService.LexicalTermMetadataValueObject
java.lang.Object
ubic.gemma.rest.AnnotationsWebService.LexicalTermMetadataValueObject
- Enclosing class:
AnnotationsWebService
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 Summary
ConstructorsConstructorDescriptionLexicalTermMetadataValueObject(List<AnnotationsWebService.TaxonValueObject> species, String cellLineType, String sex, String strainType, String problematic) Creates a newLexicalTermMetadataValueObjectinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCellosaurus cell-line category, e.g.Non-null iff the source flags this entry as problematic, carrying the reason — most oftenMisidentified/contaminated.getSex()Donor sex where stated.Every organism the entry derives from, in source order.MGI strain category, e.g.inthashCode()toString()
-
Constructor Details
-
LexicalTermMetadataValueObject
public LexicalTermMetadataValueObject(List<AnnotationsWebService.TaxonValueObject> species, @Nullable String cellLineType, @Nullable String sex, @Nullable String strainType, @Nullable String problematic) Creates a newLexicalTermMetadataValueObjectinstance.- 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 fromcellLineTypeeven 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 oftenMisidentified/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
Cellosaurus cell-line category, e.g.Cancer cell line,Hybridoma. -
getSex
Donor sex where stated. Held apart fromcellLineTypeeven though Cellosaurus packs both into one field. -
getStrainType
MGI strain category, e.g.inbred strain,congenic. -
getProblematic
Non-null iff the source flags this entry as problematic, carrying the reason — most oftenMisidentified/contaminated. Advisory: something a curator should see before picking the term, not a value to tag an experiment with. -
equals
-
hashCode
-
toString
-