|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.model.OWLOntologyChange org.semanticweb.owlapi.model.AddOntologyAnnotation
public class AddOntologyAnnotation
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 24-Mar-2009
Constructor Summary | |
---|---|
AddOntologyAnnotation(OWLOntology ont,
OWLAnnotation annotation)
|
Method Summary | |
---|---|
void |
accept(OWLOntologyChangeVisitor visitor)
|
boolean |
equals(java.lang.Object obj)
|
OWLAnnotation |
getAnnotation()
Gets the annotation that was added to an ontology. |
OWLAxiom |
getAxiom()
If the change is an axiom change (i.e. |
int |
hashCode()
|
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 and hence causes a change to the imports closure of an ontology. |
Methods inherited from class org.semanticweb.owlapi.model.OWLOntologyChange |
---|
getOntology |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AddOntologyAnnotation(OWLOntology ont, OWLAnnotation annotation)
Method Detail |
---|
public boolean isAxiomChange()
OWLOntologyChange
isAxiomChange
in class OWLOntologyChange
true
if the change is an OWLAddAxiomChange
or OWLRemoveAxiomChange
otherwise false
.public OWLAnnotation getAnnotation()
public OWLAxiom getAxiom()
OWLOntologyChange
getAxiom
in class OWLOntologyChange
public boolean isImportChange()
OWLOntologyChange
isImportChange
in class OWLOntologyChange
true
if this change is an import change, otherwise false
.public void accept(OWLOntologyChangeVisitor visitor)
accept
in class OWLOntologyChange
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |