com.clarkparsia.pellint.model
Class OntologyLints
java.lang.Object
com.clarkparsia.pellint.model.OntologyLints
public class OntologyLints
- extends java.lang.Object
Title: Ontology Lints
Description: Collects all lints found against some ontology, categorized by lint patterns.
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
- Author:
- Harris Lin
Constructor Summary |
OntologyLints(org.semanticweb.owl.model.OWLOntology ontology)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OntologyLints
public OntologyLints(org.semanticweb.owl.model.OWLOntology ontology)
getOntology
public org.semanticweb.owl.model.OWLOntology getOntology()
setRootOntology
public void setRootOntology(org.semanticweb.owl.model.OWLOntology rootOntology)
getRootOntology
public org.semanticweb.owl.model.OWLOntology getRootOntology()
addLint
public void addLint(LintPattern pattern,
Lint newLint)
addLints
public void addLints(LintPattern pattern,
java.util.List<Lint> newLints)
sort
public void sort(java.util.Comparator<? super Lint> comparator)
isEmpty
public boolean isEmpty()
size
public int size()
applyFix
public int applyFix(org.semanticweb.owl.model.OWLOntologyManager manager)
throws org.semanticweb.owl.model.OWLOntologyChangeException
- Throws:
org.semanticweb.owl.model.OWLOntologyChangeException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004 Evren Sirin. All Rights Reserved.