Protege 4.1.0

org.protege.editor.owl.model.hierarchy
Class AssertedClassHierarchyProvider

java.lang.Object
  extended by org.protege.editor.owl.model.hierarchy.AbstractOWLObjectHierarchyProvider<org.semanticweb.owlapi.model.OWLClass>
      extended by org.protege.editor.owl.model.hierarchy.AssertedClassHierarchyProvider
All Implemented Interfaces:
Disposable, OWLObjectHierarchyProvider<org.semanticweb.owlapi.model.OWLClass>

public class AssertedClassHierarchyProvider
extends AbstractOWLObjectHierarchyProvider<org.semanticweb.owlapi.model.OWLClass>

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 17-Jan-2007


Constructor Summary
AssertedClassHierarchyProvider(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager)
           
 
Method Summary
 boolean containsReference(org.semanticweb.owlapi.model.OWLClass object)
           
 void dispose()
           
 Set<org.semanticweb.owlapi.model.OWLClass> getChildren(org.semanticweb.owlapi.model.OWLClass object)
           
 Set<org.semanticweb.owlapi.model.OWLClass> getEquivalents(org.semanticweb.owlapi.model.OWLClass object)
           
 Set<org.semanticweb.owlapi.model.OWLClass> getParents(org.semanticweb.owlapi.model.OWLClass object)
           
 Set<org.semanticweb.owlapi.model.OWLClass> getRoots()
          Gets the objects that represent the roots of the hierarchy.
 void setOntologies(Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
          Sets the ontologies that this hierarchy provider should use in order to determine the hierarchy.
 
Methods inherited from class org.protege.editor.owl.model.hierarchy.AbstractOWLObjectHierarchyProvider
addListener, fireHierarchyChanged, fireNodeChanged, getAncestors, getDescendants, getManager, getPathsToRoot, removeListener, setFireEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertedClassHierarchyProvider

public AssertedClassHierarchyProvider(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager)
Method Detail

setOntologies

public void setOntologies(Set<org.semanticweb.owlapi.model.OWLOntology> ontologies)
Sets the ontologies that this hierarchy provider should use in order to determine the hierarchy.


dispose

public void dispose()
Specified by:
dispose in interface Disposable
Specified by:
dispose in interface OWLObjectHierarchyProvider<org.semanticweb.owlapi.model.OWLClass>
Overrides:
dispose in class AbstractOWLObjectHierarchyProvider<org.semanticweb.owlapi.model.OWLClass>

getRoots

public Set<org.semanticweb.owlapi.model.OWLClass> getRoots()
Description copied from interface: OWLObjectHierarchyProvider
Gets the objects that represent the roots of the hierarchy.


getChildren

public Set<org.semanticweb.owlapi.model.OWLClass> getChildren(org.semanticweb.owlapi.model.OWLClass object)

containsReference

public boolean containsReference(org.semanticweb.owlapi.model.OWLClass object)

getParents

public Set<org.semanticweb.owlapi.model.OWLClass> getParents(org.semanticweb.owlapi.model.OWLClass object)

getEquivalents

public Set<org.semanticweb.owlapi.model.OWLClass> getEquivalents(org.semanticweb.owlapi.model.OWLClass object)

Protege 4.1.0

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