Class AnnotationsWebService.AnnotationCategoryValueObject
java.lang.Object
ubic.gemma.rest.AnnotationsWebService.AnnotationCategoryValueObject
- Enclosing class:
AnnotationsWebService
Wire shape for
GET /annotations/categories — carries the ontology term info
plus a preferred-prefix list per category (config-driven via
annotation.category.prefixes). Curation-ui passes the listed prefixes as
?prefixes= on a downstream /annotations/search when the curator
scopes the search to this category. Empty list = no preference; client decides.
excludedPrefixes is the other half and a different KIND of statement: a preference
only reorders, an exclusion says the namespace is categorically impossible and its hits leave
data for negativeEvidence.ruledOut. It is published because consumers were
hand-rolling their own category→namespace tables and getting them wrong — CAB hand-wrote one
to audit gold and 20 of its 26 flags were the table's error, not the data's. A client that
reads this cannot silently disagree with the server about what is possible.
- Author:
- tesarst
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AnnotationCategoryValueObject
-
-
Method Details
-
getUri
-
getLabel
-
getPreferredPrefixes
-
getExcludedPrefixes
-
equals
-
hashCode
-
toString
-