com.clarkparsia.pellint.model
Class OntologyLints

java.lang.Object
  extended by 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)
           
 
Method Summary
 void addLint(LintPattern pattern, Lint newLint)
           
 void addLints(LintPattern pattern, java.util.List<Lint> newLints)
           
 int applyFix(org.semanticweb.owl.model.OWLOntologyManager manager)
           
 org.semanticweb.owl.model.OWLOntology getOntology()
           
 org.semanticweb.owl.model.OWLOntology getRootOntology()
           
 boolean isEmpty()
           
 void setRootOntology(org.semanticweb.owl.model.OWLOntology rootOntology)
           
 int size()
           
 void sort(java.util.Comparator<? super Lint> comparator)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OntologyLints

public OntologyLints(org.semanticweb.owl.model.OWLOntology ontology)
Method Detail

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.