public class LintFixer extends Object
Title: Lint Fixer
Description: Contains a set of OWLAxiom's to remove and a set of OWLAxiom's to add in order to fix a lint.
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
| Constructor and Description |
|---|
LintFixer(org.semanticweb.owlapi.model.OWLAxiom axiomToRemove,
org.semanticweb.owlapi.model.OWLAxiom axiomToAdd) |
LintFixer(Set<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomsToRemove,
Set<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomsToAdd) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(org.semanticweb.owlapi.model.OWLOntologyManager manager,
org.semanticweb.owlapi.model.OWLOntology ontology)
Replace the detected OWLAxioms with a new set of OWLAxioms,
and apply the change to the given OWLOntology using the given OWLOntologyManager.
|
Set<? extends org.semanticweb.owlapi.model.OWLAxiom> |
getAxiomsToAdd() |
Set<? extends org.semanticweb.owlapi.model.OWLAxiom> |
getAxiomsToRemove() |
public LintFixer(Set<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomsToRemove, Set<? extends org.semanticweb.owlapi.model.OWLAxiom> axiomsToAdd)
public LintFixer(org.semanticweb.owlapi.model.OWLAxiom axiomToRemove,
org.semanticweb.owlapi.model.OWLAxiom axiomToAdd)
public Set<? extends org.semanticweb.owlapi.model.OWLAxiom> getAxiomsToRemove()
public Set<? extends org.semanticweb.owlapi.model.OWLAxiom> getAxiomsToAdd()
public boolean apply(org.semanticweb.owlapi.model.OWLOntologyManager manager,
org.semanticweb.owlapi.model.OWLOntology ontology)
throws org.semanticweb.owlapi.model.OWLOntologyChangeException
manager - the owl ontology managerontology - the ontology to fixtrue if:false.org.semanticweb.owlapi.model.OWLOntologyChangeException - if there is an error applying a fixCopyright © 2019. All rights reserved.