|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.semanticweb.owl.model.OWLOntologyChange
org.semanticweb.owl.model.SetOntologyURI
public class SetOntologyURI
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 12-Dec-2006
A change which sets the URI of an ontology.
| Constructor Summary | |
|---|---|
SetOntologyURI(OWLOntology ont,
java.net.URI newURI)
Creates a set ontology URI change, which will set the URI of the ontology to the specified new URI. |
|
| Method Summary | |
|---|---|
void |
accept(OWLOntologyChangeVisitor visitor)
|
OWLAxiom |
getAxiom()
If the change is an axiom change (i.e. |
java.net.URI |
getNewURI()
Gets the new URI - i.e. |
java.net.URI |
getOriginalURI()
Gets the original URI - i.e. |
boolean |
isAxiomChange()
Determines if the change will cause the addition or removal of an axiom from an ontology. |
| Methods inherited from class org.semanticweb.owl.model.OWLOntologyChange |
|---|
getOntology |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetOntologyURI(OWLOntology ont,
java.net.URI newURI)
ont - The ontology whose URI is to be changednewURI - The new ontology URI| Method Detail |
|---|
public boolean isAxiomChange()
OWLOntologyChange
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 java.net.URI getOriginalURI()
public java.net.URI getNewURI()
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 | ||||||||