public class SetOntologyID extends OWLOntologyChange
Constructor and Description |
---|
SetOntologyID(OWLOntology ont,
IRI ontologyIRI)
Creates a set ontology id change using the ontologyIRI, which will set
the ontology id to the new one.
|
SetOntologyID(OWLOntology ont,
OWLOntologyID ontologyID)
Creates a set ontology id change, which will set the ontology id to the
new one.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLOntologyChangeVisitor visitor)
Accepts a visitor.
|
<O> O |
accept(OWLOntologyChangeVisitorEx<O> visitor)
Accepts a visitor.
|
boolean |
equals(Object obj) |
SetOntologyIDData |
getChangeData()
Gets the data (independent of the ontology) associated with this specific change.
|
OWLOntologyID |
getNewOntologyID() |
OWLOntologyID |
getOriginalOntologyID()
Gets the original ID of the ontology whose URI was changed.
|
int |
hashCode() |
OWLOntologyChange |
reverseChange() |
String |
toString() |
getAddedAxiom, getAddedOrRemovedAxiom, getAxiom, getChangeRecord, getOntology, getRemovedAxiom, isAddAxiom, isAxiomChange, isAxiomChange, isImportChange, isRemoveAxiom
getSignature, signature, unsortedSignature
public SetOntologyID(OWLOntology ont, OWLOntologyID ontologyID)
ont
- The ontology whose id is to be changedontologyID
- The ontology IDpublic SetOntologyID(OWLOntology ont, IRI ontologyIRI)
ont
- The ontology whose id is to be changedontologyIRI
- The ontology iripublic SetOntologyIDData getChangeData()
OWLOntologyChange
getChangeData
in class OWLOntologyChange
OWLOntologyChangeData
associated with this OWLOntologyChange
.public OWLOntologyID getOriginalOntologyID()
public OWLOntologyID getNewOntologyID()
public void accept(OWLOntologyChangeVisitor visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
visitor
- The visitorpublic <O> O accept(OWLOntologyChangeVisitorEx<O> visitor)
OWLOntologyChange
accept
in class OWLOntologyChange
O
- visitor return typevisitor
- The visitorpublic OWLOntologyChange reverseChange()
reverseChange
in class OWLOntologyChange
Copyright © 2020 The University of Manchester. All rights reserved.