public class OWLEntityRenamer extends Object
Constructor and Description |
---|
OWLEntityRenamer(OWLOntologyManager owlOntologyManager,
Collection<OWLOntology> ontologies) |
Modifier and Type | Method and Description |
---|---|
List<OWLOntologyChange> |
changeIRI(IRI iri,
IRI newIRI)
Changes a IRI for another IRI.
|
List<OWLOntologyChange> |
changeIRI(Map<OWLEntity,IRI> entity2IRIMap) |
List<OWLOntologyChange> |
changeIRI(OWLEntity entity,
IRI newIRI)
Changes the IRI of an entity for another IRI.
|
public OWLEntityRenamer(OWLOntologyManager owlOntologyManager, Collection<OWLOntology> ontologies)
owlOntologyManager
- the ontology manager to useontologies
- the ontologies to usepublic List<OWLOntologyChange> changeIRI(IRI iri, IRI newIRI)
iri
- The IRI to be changednewIRI
- The IRI that the IRI should be changed to.public List<OWLOntologyChange> changeIRI(OWLEntity entity, IRI newIRI)
entity
- The entity whose IRI is to be changed.newIRI
- The new IRIpublic List<OWLOntologyChange> changeIRI(Map<OWLEntity,IRI> entity2IRIMap)
entity2IRIMap
- map of IRIs to renameCopyright © 2020 The University of Manchester. All rights reserved.