public class OntologyLints extends Object
Title: Ontology Lints
Description: Collects all lints found against some ontology, categorized by lint patterns.
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
| Constructor and Description |
|---|
OntologyLints(org.semanticweb.owlapi.model.OWLOntology ontology) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLint(LintPattern pattern,
Lint newLint) |
void |
addLints(LintPattern pattern,
List<Lint> newLints) |
Set<Lint> |
applyFix(org.semanticweb.owlapi.model.OWLOntologyManager manager)
Fix all reparable lints.
|
org.semanticweb.owlapi.model.OWLOntology |
getOntology() |
org.semanticweb.owlapi.model.OWLOntology |
getRootOntology() |
boolean |
isEmpty() |
void |
setRootOntology(org.semanticweb.owlapi.model.OWLOntology rootOntology) |
int |
size() |
void |
sort(Comparator<? super Lint> comparator) |
String |
toString() |
public OntologyLints(org.semanticweb.owlapi.model.OWLOntology ontology)
public org.semanticweb.owlapi.model.OWLOntology getOntology()
public void setRootOntology(org.semanticweb.owlapi.model.OWLOntology rootOntology)
public org.semanticweb.owlapi.model.OWLOntology getRootOntology()
public void addLint(LintPattern pattern, Lint newLint)
public void addLints(LintPattern pattern, List<Lint> newLints)
public void sort(Comparator<? super Lint> comparator)
public boolean isEmpty()
public int size()
public Set<Lint> applyFix(org.semanticweb.owlapi.model.OWLOntologyManager manager) throws org.semanticweb.owlapi.model.OWLOntologyChangeException
manager - org.semanticweb.owlapi.model.OWLOntologyChangeExceptionCopyright © 2019. All rights reserved.