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