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) |
OWLAxiom |
getAxiom()
If the change is an axiom change (i.e.
|
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.
|
Set<OWLEntity> |
getSignature()
Gets the signature of this ontology change.
|
int |
hashCode() |
boolean |
isAddAxiom()
Determines if the change will add an axiom to an ontology.
|
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.
|
OWLOntologyChange |
reverseChange() |
String |
toString() |
getChangeRecord, getOntology, isRemoveAxiompublic SetOntologyID(@Nonnull OWLOntology ont, @Nonnull OWLOntologyID ontologyID)
ont - The ontology whose id is to be changedontologyID - The ontology IDpublic SetOntologyID(@Nonnull OWLOntology ont, @Nonnull IRI ontologyIRI)
ont - The ontology whose id is to be changedontologyIRI - The ontology iripublic SetOntologyIDData getChangeData()
OWLOntologyChangegetChangeData in class OWLOntologyChangeOWLOntologyChangeData associated with this
OWLOntologyChange.public Set<OWLEntity> getSignature()
OWLOntologyChangegetSignature in interface HasSignaturegetSignature in class OWLOntologyChangepublic boolean isImportChange()
OWLOntologyChangeisImportChange in class OWLOntologyChangetrue if this change is an import change, otherwise
false.public boolean isAxiomChange()
OWLOntologyChangeisAxiomChange in class OWLOntologyChangetrue if the change is an OWLAddAxiomChange or
OWLRemoveAxiomChange otherwise false.public boolean isAddAxiom()
OWLOntologyChangeisAddAxiom in class OWLOntologyChangetrue if the change is an AddAxiom change and it will add
an axiom to an ontology, false otherwise.public OWLAxiom getAxiom()
OWLOntologyChangegetAxiom in class OWLOntologyChange@Nonnull public OWLOntologyID getOriginalOntologyID()
@Nonnull public OWLOntologyID getNewOntologyID()
public void accept(OWLOntologyChangeVisitor visitor)
OWLOntologyChangeaccept in class OWLOntologyChangevisitor - The visitorpublic <O> O accept(OWLOntologyChangeVisitorEx<O> visitor)
OWLOntologyChangeaccept in class OWLOntologyChangeO - visitor return typevisitor - The visitorpublic OWLOntologyChange reverseChange()
reverseChange in class OWLOntologyChangeCopyright © 2016 The University of Manchester. All Rights Reserved.