|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.clarkparsia.pellint.model.Lint
public class Lint
Title: Lint
Description: Encaptulates all the information related to a lint found.
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
Lint(LintPattern lintPattern,
org.semanticweb.owl.model.OWLOntology participatingOntology)
|
Method Summary | |
---|---|
void |
addAllParticipatingAxioms(java.util.Collection<? extends org.semanticweb.owl.model.OWLClassAxiom> a)
|
void |
addAllParticipatingClasses(java.util.Collection<? extends org.semanticweb.owl.model.OWLClass> c)
|
void |
addParticipatingAxiom(org.semanticweb.owl.model.OWLClassAxiom a)
|
void |
addParticipatingClass(org.semanticweb.owl.model.OWLClass c)
|
boolean |
applyFix(org.semanticweb.owl.model.OWLOntologyManager manager)
Apply LintFixer to the source OWLOntology where
this Lint was found, using the given
OWLOntologyManager. |
LintFixer |
getLintFixer()
|
java.util.Set<org.semanticweb.owl.model.OWLClassAxiom> |
getParticipatingAxioms()
|
java.util.Set<org.semanticweb.owl.model.OWLClass> |
getParticipatingClasses()
|
org.semanticweb.owl.model.OWLOntology |
getParticipatingOntology()
|
LintPattern |
getPattern()
|
Severity |
getSeverity()
|
void |
setLintFixer(LintFixer fixer)
|
void |
setSeverity(Severity v)
|
java.lang.String |
toString()
It is recommended to use LintFormat.format() instead of calling toString() directly on a Lint. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Lint(LintPattern lintPattern, org.semanticweb.owl.model.OWLOntology participatingOntology)
Method Detail |
---|
public LintPattern getPattern()
LintPattern
which generated this Lint
.public void setLintFixer(LintFixer fixer)
public LintFixer getLintFixer()
public void setSeverity(Severity v)
public Severity getSeverity()
Severity
of this Lint
relative to all the Lint
found for this LintPattern
.public void addParticipatingClass(org.semanticweb.owl.model.OWLClass c)
public void addAllParticipatingClasses(java.util.Collection<? extends org.semanticweb.owl.model.OWLClass> c)
public java.util.Set<org.semanticweb.owl.model.OWLClass> getParticipatingClasses()
public void addParticipatingAxiom(org.semanticweb.owl.model.OWLClassAxiom a)
public void addAllParticipatingAxioms(java.util.Collection<? extends org.semanticweb.owl.model.OWLClassAxiom> a)
public java.util.Set<org.semanticweb.owl.model.OWLClassAxiom> getParticipatingAxioms()
public org.semanticweb.owl.model.OWLOntology getParticipatingOntology()
public boolean applyFix(org.semanticweb.owl.model.OWLOntologyManager manager) throws org.semanticweb.owl.model.OWLOntologyChangeException
LintFixer
to the source OWLOntology where
this Lint
was found, using the given
OWLOntologyManager. The source OWLOntology must be part of the given OWLOntologyManager.
true
if a LintFixer
was available and successfully applied, otherwise false
.
org.semanticweb.owl.model.OWLOntologyChangeException
- if a LintFixer
was available
but org.semanticweb.owl.model.OWLOntologyChangeException was thrown when applying the change to the source OWLOntology.LintFixer.apply(OWLOntologyManager, OWLOntology)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |