|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.ImportChange
public class ImportChange
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 18-Mar-2009
| Constructor Summary | |
|---|---|
ImportChange(OWLOntology ont,
OWLImportsDeclaration importDeclaration)
|
|
| Method Summary | |
|---|---|
void |
accept(OWLOntologyChangeVisitor visitor)
|
OWLAxiom |
getAxiom()
If the change is an axiom change (i.e. |
OWLImportsDeclaration |
getImportDeclaration()
Gets the import declaration that the change pertains to. |
boolean |
isAxiomChange()
Determines if the change will cause the addition or removal of an axiom from an ontology. |
boolean |
isImportChange()
Determines if this change is an import change |
| Methods inherited from class org.semanticweb.owlapi.model.OWLOntologyChange |
|---|
getOntology |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportChange(OWLOntology ont,
OWLImportsDeclaration importDeclaration)
| Method Detail |
|---|
public OWLImportsDeclaration getImportDeclaration()
public boolean isImportChange()
isImportChange in class OWLOntologyChangetrue if this change is an import change, otherwise false.public boolean isAxiomChange()
isAxiomChange in class OWLOntologyChangetrue if the change is an OWLAddAxiomChange
or OWLRemoveAxiomChange otherwise false.public OWLAxiom getAxiom()
getAxiom in class OWLOntologyChangejava.lang.UnsupportedOperationException - If the change is not an axiom change (check
with the isAxiomChange method first).public void accept(OWLOntologyChangeVisitor visitor)
accept in class OWLOntologyChange
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||