public interface OntologyTerm extends OntologyResource
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAlternativeIds() |
Collection<AnnotationProperty> |
getAnnotations() |
Collection<OntologyTerm> |
getChildren(boolean direct) |
Collection<OntologyTerm> |
getChildren(boolean direct,
boolean includePartOf) |
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<OntologyTerm> |
getParents(boolean direct,
boolean includePartOf) |
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)
Collection<OntologyTerm> getChildren(boolean direct, boolean includePartOf)
direct
- return only the immediate children; if false, return all of them down to the leaves.includePartOf
- include terms matched viaString getComment()
Collection<OntologyIndividual> getIndividuals()
Collection<OntologyIndividual> getIndividuals(boolean direct)
String getLocalName()
Object getModel()
Collection<OntologyTerm> getParents(boolean direct)
direct
- Collection<OntologyTerm> getParents(boolean direct, boolean includePartOf)
Collection<OntologyRestriction> getRestrictions()
String getTerm()
String getUri()
getUri
in interface OntologyResource
boolean isRoot()
boolean isTermObsolete()
Copyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.