|
|||||||||
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)
|
boolean |
equals(java.lang.Object obj)
|
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. |
int |
hashCode()
|
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, finalize, getClass, 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 URIMethod Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean isAxiomChange()
OWLOntologyChange
isAxiomChange
in class OWLOntologyChange
true
if the change is an OWLAddAxiomChange
or OWLRemoveAxiomChange
otherwise false
.public OWLAxiom getAxiom()
getAxiom
in class OWLOntologyChange
java.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 |