| 
|||||||||
| 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.SetOntologyID
public class SetOntologyID
Author: Matthew Horridge
 The University of Manchester
 Information Management Group
 Date: 01-Apr-2009
| Constructor Summary | |
|---|---|
SetOntologyID(OWLOntology ont,
              OWLOntologyID ontologyID)
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.  | 
 OWLOntologyID | 
getNewOntologyID()
Gets the new URI - i.e.  | 
 OWLOntologyID | 
getOriginalOntologyID()
Gets the original ID of the ontology whose URI was changed  | 
 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  | 
| 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 SetOntologyID(OWLOntology ont,
                     OWLOntologyID ontologyID)
ont - The ontology whose URI is to be changedontologyID - The ontology ID| Method Detail | 
|---|
public boolean isImportChange()
isImportChange in class OWLOntologyChangetrue if this change is an import change, otherwise false.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic 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 OWLOntologyID getOriginalOntologyID()
public OWLOntologyID getNewOntologyID()
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 | ||||||||