org.semanticweb.owl.util
Class OWLEntityRenamer
java.lang.Object
   org.semanticweb.owl.util.OWLEntityRenamer
org.semanticweb.owl.util.OWLEntityRenamer
- public class OWLEntityRenamer 
- extends java.lang.Object
Author: Matthew Horridge
 The University Of Manchester
 Bio-Health Informatics Group
 Date: 11-Dec-2006
 
 Renames entities that have a particular URI.  Entities with the specified
 URI are renamed regardless of whether they are classes, object properties,
 data properties, individuals or data types.
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
OWLEntityRenamer
public OWLEntityRenamer(OWLOntologyManager owlOntologyManager,
                        java.util.Set<OWLOntology> ontologies)
changeURI
public java.util.List<OWLOntologyChange> changeURI(java.net.URI uri,
                                                   java.net.URI newURI)
- Changes a URI for another URI.  This creates the appropriate changes to be
 applied in order to change a URI.
 
- 
- Parameters:
- uri- The URI to be changed
- newURI- The URI that the URI should be changed to.
- Returns:
- A list of ontology changes that should be applied to change the
 specified URI.
 
changeURI
public java.util.List<OWLOntologyChange> changeURI(OWLEntity entity,
                                                   java.net.URI newURI)
- Changes the URI of an entity for another URI.
 
- 
- Parameters:
- entity- The entity whose URI is to be changed.
- newURI- The new URI
- Returns:
- A list of ontology changes that should be applied to change the
 specified entity URI.