Class CoerceConstantsIntoDataPropertyRange

  extended by org.semanticweb.owl.AbstractCompositeOntologyChange
      extended by org.semanticweb.owl.CoerceConstantsIntoDataPropertyRange
All Implemented Interfaces:

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.owl.AbstractCompositeOntologyChange
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


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


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.

A list of ontology changes.