org.semanticweb.owlapi
Class CoerceConstantsIntoDataPropertyRange

java.lang.Object
  extended by org.semanticweb.owlapi.AbstractCompositeOntologyChange
      extended by org.semanticweb.owlapi.CoerceConstantsIntoDataPropertyRange
All Implemented Interfaces:
OWLCompositeOntologyChange

public class CoerceConstantsIntoDataPropertyRange
extends AbstractCompositeOntologyChange

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 13-Aug-2007

Coerces constants to have the same type as the range of a property in axioms where the two are used. For example, given, p value "xyz", the "xyz" constant would be typed with the range of p.


Constructor Summary
CoerceConstantsIntoDataPropertyRange(OWLDataFactory dataFactory, java.util.Set<OWLOntology> ontologies)
           
 
Method Summary
 java.util.List<OWLOntologyChange> getChanges()
          Gets the changes which compose this composite change.
 
Methods inherited from class org.semanticweb.owlapi.AbstractCompositeOntologyChange
getDataFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoerceConstantsIntoDataPropertyRange

public CoerceConstantsIntoDataPropertyRange(OWLDataFactory dataFactory,
                                            java.util.Set<OWLOntology> ontologies)
Method Detail

getChanges

public java.util.List<OWLOntologyChange> getChanges()
Description copied from interface: OWLCompositeOntologyChange
Gets the changes which compose this composite change. Once this method has been invoked, it will always return the same list of changes.

Returns:
A list of ontology changes.