public interface OntologyTerm extends OntologyResource
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAlternativeIds() |
Collection<AnnotationProperty> |
getAnnotations() |
Collection<OntologyTerm> |
getChildren(boolean direct) |
String |
getComment() |
Collection<OntologyIndividual> |
getIndividuals() |
Collection<OntologyIndividual> |
getIndividuals(boolean direct) |
String |
getLocalName() |
Object |
getModel() |
Collection<OntologyTerm> |
getParents(boolean direct)
Note that any restriction superclasses are not returned, unless they are has_proper_part
|
Collection<OntologyRestriction> |
getRestrictions() |
String |
getTerm() |
String |
getUri() |
boolean |
isRoot() |
boolean |
isTermObsolete()
check to see if the term is obsolete, if it is it should not be used
|
getLabel
compareTo
Collection<String> getAlternativeIds()
Collection<AnnotationProperty> getAnnotations()
Collection<OntologyTerm> getChildren(boolean direct)
direct
- return only the immediate children; if false, return all of them down to the leaves.String getComment()
Collection<OntologyIndividual> getIndividuals()
Collection<OntologyIndividual> getIndividuals(boolean direct)
String getLocalName()
Object getModel()
Collection<OntologyTerm> getParents(boolean direct)
direct
- Collection<OntologyRestriction> getRestrictions()
String getTerm()
String getUri()
getUri
in interface OntologyResource
boolean isRoot()
boolean isTermObsolete()
Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.