public class OntologyTermSimple extends OntologyTermImpl
log
Constructor and Description |
---|
OntologyTermSimple(com.hp.hpl.jena.ontology.OntClass resource) |
OntologyTermSimple(String uri,
String term) |
OntologyTermSimple(String uri,
String term,
String description,
boolean isObsolete) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Collection<String> |
getAlternativeIds() |
Collection<AnnotationProperty> |
getAnnotations() |
Collection<OntologyTerm> |
getChildren(boolean direct) |
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<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
|
fromOntClass, toString
compareTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo
public OntologyTermSimple(com.hp.hpl.jena.ontology.OntClass resource)
public boolean equals(Object obj)
equals
in class OntologyTermImpl
public Collection<String> getAlternativeIds()
getAlternativeIds
in interface OntologyTerm
getAlternativeIds
in class OntologyTermImpl
public Collection<AnnotationProperty> getAnnotations()
getAnnotations
in interface OntologyTerm
getAnnotations
in class OntologyTermImpl
public Collection<OntologyTerm> getChildren(boolean direct)
getChildren
in interface OntologyTerm
getChildren
in class OntologyTermImpl
direct
- return only the immediate children; if false, return all of them down to the leaves.public String getComment()
getComment
in interface OntologyTerm
getComment
in class OntologyTermImpl
public Collection<OntologyIndividual> getIndividuals()
getIndividuals
in interface OntologyTerm
getIndividuals
in class OntologyTermImpl
public Collection<OntologyIndividual> getIndividuals(boolean direct)
getIndividuals
in interface OntologyTerm
getIndividuals
in class OntologyTermImpl
public String getLabel()
getLabel
in interface OntologyResource
getLabel
in class OntologyTermImpl
public String getLocalName()
getLocalName
in interface OntologyTerm
getLocalName
in class OntologyTermImpl
public Object getModel()
getModel
in interface OntologyTerm
getModel
in class OntologyTermImpl
public Collection<OntologyTerm> getParents(boolean direct)
OntologyTerm
getParents
in interface OntologyTerm
getParents
in class OntologyTermImpl
public Collection<OntologyRestriction> getRestrictions()
getRestrictions
in interface OntologyTerm
getRestrictions
in class OntologyTermImpl
public String getTerm()
getTerm
in interface OntologyTerm
getTerm
in class OntologyTermImpl
public String getUri()
getUri
in interface OntologyResource
getUri
in interface OntologyTerm
getUri
in class OntologyTermImpl
public int hashCode()
hashCode
in class OntologyTermImpl
public boolean isRoot()
isRoot
in interface OntologyTerm
isRoot
in class OntologyTermImpl
public boolean isTermObsolete()
OntologyTerm
isTermObsolete
in interface OntologyTerm
isTermObsolete
in class OntologyTermImpl
Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.