public class OntologyTermImpl extends AbstractOntologyResource implements OntologyTerm
log| Constructor and Description |
|---|
OntologyTermImpl(com.hp.hpl.jena.ontology.OntClass resource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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 |
getLabel() |
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() |
int |
hashCode() |
boolean |
isRoot() |
boolean |
isTermObsolete()
check to see if the term is obsolete, if it is it should not be used
|
String |
toString() |
compareToclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic OntologyTermImpl(com.hp.hpl.jena.ontology.OntClass resource)
public boolean equals(Object obj)
equals in class AbstractOntologyResourcepublic Collection<String> getAlternativeIds()
getAlternativeIds in interface OntologyTermpublic Collection<AnnotationProperty> getAnnotations()
getAnnotations in interface OntologyTermpublic Collection<OntologyTerm> getChildren(boolean direct)
getChildren in interface OntologyTermpublic Collection<OntologyTerm> getChildren(boolean direct, boolean includePartOf)
getChildren in interface OntologyTermdirect - return only the immediate children; if false, return all of them down to the leaves.includePartOf - include terms matched viapublic String getComment()
getComment in interface OntologyTermpublic Collection<OntologyIndividual> getIndividuals()
getIndividuals in interface OntologyTermpublic Collection<OntologyIndividual> getIndividuals(boolean direct)
getIndividuals in interface OntologyTermpublic String getLabel()
getLabel in interface OntologyResourcepublic String getLocalName()
getLocalName in interface OntologyTermpublic Object getModel()
getModel in interface OntologyTermpublic Collection<OntologyTerm> getParents(boolean direct)
OntologyTermgetParents in interface OntologyTermpublic Collection<OntologyTerm> getParents(boolean direct, boolean includePartOf)
getParents in interface OntologyTermpublic Collection<OntologyRestriction> getRestrictions()
getRestrictions in interface OntologyTermpublic String getTerm()
getTerm in interface OntologyTermpublic String getUri()
getUri in interface OntologyResourcegetUri in interface OntologyTermgetUri in class AbstractOntologyResourcepublic int hashCode()
hashCode in class AbstractOntologyResourcepublic boolean isRoot()
isRoot in interface OntologyTermpublic boolean isTermObsolete()
OntologyTermisTermObsolete in interface OntologyTermCopyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.