Protege 4.1.0

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

java.lang.Object
  extended by org.protege.editor.owl.model.hierarchy.AbstractOWLObjectHierarchyProvider<P>
      extended by org.protege.editor.owl.model.hierarchy.AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.OWLObjectProperty>
          extended by org.protege.editor.owl.model.hierarchy.OWLObjectPropertyHierarchyProvider
All Implemented Interfaces:
Disposable, OWLObjectHierarchyProvider<org.semanticweb.owlapi.model.OWLObjectProperty>
Direct Known Subclasses:
InferredObjectPropertyHierarchyProvider

public class OWLObjectPropertyHierarchyProvider
extends AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.OWLObjectProperty>

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


Constructor Summary
OWLObjectPropertyHierarchyProvider(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager)
           
 
Method Summary
protected  boolean containsReference(org.semanticweb.owlapi.model.OWLOntology ont, org.semanticweb.owlapi.model.OWLObjectProperty prop)
           
protected  Set<org.semanticweb.owlapi.model.OWLObjectProperty> getPropertiesReferencedInChange(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
           
protected  Set<? extends org.semanticweb.owlapi.model.OWLObjectProperty> getReferencedProperties(org.semanticweb.owlapi.model.OWLOntology ont)
          Gets the relevant properties in the specified ontology that are contained within the property hierarchy.
protected  org.semanticweb.owlapi.model.OWLObjectProperty getRoot()
           
protected  Set<? extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom> getSubPropertyAxiomForRHS(org.semanticweb.owlapi.model.OWLObjectProperty prop, org.semanticweb.owlapi.model.OWLOntology ont)
           
 
Methods inherited from class org.protege.editor.owl.model.hierarchy.AbstractOWLPropertyHierarchyProvider
containsReference, dispose, getChildren, getEquivalents, getParents, getRoots, setOntologies
 
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

OWLObjectPropertyHierarchyProvider

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

getPropertiesReferencedInChange

protected Set<org.semanticweb.owlapi.model.OWLObjectProperty> getPropertiesReferencedInChange(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
Specified by:
getPropertiesReferencedInChange in class AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.OWLObjectProperty>

getReferencedProperties

protected Set<? extends org.semanticweb.owlapi.model.OWLObjectProperty> 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.

Specified by:
getReferencedProperties in class AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.OWLObjectProperty>
Parameters:
ont - The ontology

getSubPropertyAxiomForRHS

protected Set<? extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom> getSubPropertyAxiomForRHS(org.semanticweb.owlapi.model.OWLObjectProperty prop,
                                                                                                    org.semanticweb.owlapi.model.OWLOntology ont)
Specified by:
getSubPropertyAxiomForRHS in class AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.OWLObjectProperty>

getRoot

protected org.semanticweb.owlapi.model.OWLObjectProperty getRoot()
Specified by:
getRoot in class AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.OWLObjectProperty>

containsReference

protected boolean containsReference(org.semanticweb.owlapi.model.OWLOntology ont,
                                    org.semanticweb.owlapi.model.OWLObjectProperty prop)
Specified by:
containsReference in class AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLClassExpression,org.semanticweb.owlapi.model.OWLObjectPropertyExpression,org.semanticweb.owlapi.model.OWLObjectProperty>

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