Protege 4.1.0

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

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.OWLDataRange,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.semanticweb.owlapi.model.OWLDataProperty>
          extended by org.protege.editor.owl.model.hierarchy.OWLDataPropertyHierarchyProvider
All Implemented Interfaces:
Disposable, OWLObjectHierarchyProvider<org.semanticweb.owlapi.model.OWLDataProperty>

public class OWLDataPropertyHierarchyProvider
extends AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLDataRange,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.semanticweb.owlapi.model.OWLDataProperty>

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


Constructor Summary
OWLDataPropertyHierarchyProvider(org.semanticweb.owlapi.model.OWLOntologyManager owlOntologyManager)
           
 
Method Summary
protected  boolean containsReference(org.semanticweb.owlapi.model.OWLOntology ont, org.semanticweb.owlapi.model.OWLDataProperty prop)
           
protected  Set<org.semanticweb.owlapi.model.OWLDataProperty> getPropertiesReferencedInChange(List<? extends org.semanticweb.owlapi.model.OWLOntologyChange> changes)
           
protected  Set<? extends org.semanticweb.owlapi.model.OWLDataProperty> 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.OWLDataProperty getRoot()
           
protected  Set<? extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom<org.semanticweb.owlapi.model.OWLDataPropertyExpression>> getSubPropertyAxiomForRHS(org.semanticweb.owlapi.model.OWLDataProperty 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

OWLDataPropertyHierarchyProvider

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

getPropertiesReferencedInChange

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

getReferencedProperties

protected Set<? extends org.semanticweb.owlapi.model.OWLDataProperty> 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.OWLDataRange,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.semanticweb.owlapi.model.OWLDataProperty>
Parameters:
ont - The ontology

containsReference

protected boolean containsReference(org.semanticweb.owlapi.model.OWLOntology ont,
                                    org.semanticweb.owlapi.model.OWLDataProperty prop)
Specified by:
containsReference in class AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLDataRange,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.semanticweb.owlapi.model.OWLDataProperty>

getSubPropertyAxiomForRHS

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

getRoot

protected org.semanticweb.owlapi.model.OWLDataProperty getRoot()
Specified by:
getRoot in class AbstractOWLPropertyHierarchyProvider<org.semanticweb.owlapi.model.OWLDataRange,org.semanticweb.owlapi.model.OWLDataPropertyExpression,org.semanticweb.owlapi.model.OWLDataProperty>

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