Class AnnotationsWebService.OntologyTermSynonymValueObject
java.lang.Object
ubic.gemma.rest.AnnotationsWebService.OntologyTermSynonymValueObject
- Enclosing class:
AnnotationsWebService
A single synonym of an ontology term plus its scope.
- Author:
- tesarst
-
Constructor Summary
ConstructorsConstructorDescriptionOntologyTermSynonymValueObject(String value, String type) Creates a newOntologyTermSynonymValueObjectinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()Synonym scope, mirroring the OBO/IAO predicates and theAnnotationsWebService.MatchedViatokens:exact_synonym,narrow_synonym,broad_synonym,related_synonym,alt_label.getValue()The synonym text.inthashCode()toString()
-
Constructor Details
-
OntologyTermSynonymValueObject
Creates a newOntologyTermSynonymValueObjectinstance.- Parameters:
value- The synonym text.type- Synonym scope, mirroring the OBO/IAO predicates and theAnnotationsWebService.MatchedViatokens:exact_synonym,narrow_synonym,broad_synonym,related_synonym,alt_label. GenericoboInOwl#hasSynonym(no declared scope) is reported asrelated_synonym.
-
-
Method Details
-
getValue
The synonym text. -
getType
Synonym scope, mirroring the OBO/IAO predicates and theAnnotationsWebService.MatchedViatokens:exact_synonym,narrow_synonym,broad_synonym,related_synonym,alt_label. GenericoboInOwl#hasSynonym(no declared scope) is reported asrelated_synonym. -
equals
-
hashCode
-
toString
-