org.protege.editor.owl.model.hierarchy
Class AbstractOWLPropertyHierarchyProvider<R extends org.semanticweb.owlapi.model.OWLPropertyRange,E extends org.semanticweb.owlapi.model.OWLPropertyExpression<R,E>,P extends E>
java.lang.Object
org.protege.editor.owl.model.hierarchy.AbstractOWLObjectHierarchyProvider<P>
org.protege.editor.owl.model.hierarchy.AbstractOWLPropertyHierarchyProvider<R,E,P>
- All Implemented Interfaces:
- Disposable, OWLObjectHierarchyProvider<P>
- Direct Known Subclasses:
- OWLDataPropertyHierarchyProvider, OWLObjectPropertyHierarchyProvider
public abstract class AbstractOWLPropertyHierarchyProvider<R extends org.semanticweb.owlapi.model.OWLPropertyRange,E extends org.semanticweb.owlapi.model.OWLPropertyExpression<R,E>,P extends E>
- extends AbstractOWLObjectHierarchyProvider<P>
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 23-Jan-2007
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractOWLPropertyHierarchyProvider
public AbstractOWLPropertyHierarchyProvider(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager)
dispose
public void dispose()
- Specified by:
dispose in interface Disposable- Specified by:
dispose in interface OWLObjectHierarchyProvider<P extends E>- Overrides:
dispose in class AbstractOWLObjectHierarchyProvider<P extends E>
getPropertiesReferencedInChange
protected abstract Set<P> getPropertiesReferencedInChange(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
containsReference
protected abstract boolean containsReference(org.semanticweb.owlapi.model.OWLOntology ont,
P prop)
getReferencedProperties
protected abstract Set<? extends P> getReferencedProperties(org.semanticweb.owlapi.model.OWLOntology ont)
- Gets the relevant properties in the specified ontology that are contained
within the property hierarchy. For example, for an object property hierarchy
this would constitute the set of referenced object properties in the specified
ontology.
- Parameters:
ont - The ontology
getSubPropertyAxiomForRHS
protected abstract Set<? extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom> getSubPropertyAxiomForRHS(P prop,
org.semanticweb.owlapi.model.OWLOntology ont)
getRoot
protected abstract P getRoot()
getRoots
public Set<P> getRoots()
- Gets the objects that represent the roots of the hierarchy.
setOntologies
public final void setOntologies(Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
- Sets the ontologies that this hierarchy provider should use
in order to determine the hierarchy.
containsReference
public boolean containsReference(P object)
getChildren
public Set<P> getChildren(P object)
getEquivalents
public Set<P> getEquivalents(P object)
getParents
public Set<P> getParents(P object)
Submit a bug report or feature request
For further API reference and developer documentation, see Protege 4 Developer Documentation.
Copyright © 2010 Stanford Center for Biomedical Informatics Research