org.semanticweb.owl
Class MakeClassesMutuallyDisjoint
java.lang.Object
org.semanticweb.owl.AbstractCompositeOntologyChange
org.semanticweb.owl.MakeClassesMutuallyDisjoint
- All Implemented Interfaces:
- OWLCompositeOntologyChange
public class MakeClassesMutuallyDisjoint
- extends AbstractCompositeOntologyChange
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 24-Jul-2007
Given a set of descriptions, this composite change will make them mutually disjoint.
The composite change offers the option of using one disjoint classes axiom to do this
or using multiple disjoint classes axioms to make them pairwise disjoint (for backwards
compatibility with OWL 1.0).
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MakeClassesMutuallyDisjoint
public MakeClassesMutuallyDisjoint(OWLDataFactory dataFactory,
java.util.Set<? extends OWLDescription> descriptions,
boolean usePairwiseDisjointAxioms,
OWLOntology targetOntology)
- Creates a composite change which makes a set of classes mutually disjoint
- Parameters:
dataFactory
- The data factory which should be used for creating the axiomsdescriptions
- The descriptions which should be made mutually disjoint.usePairwiseDisjointAxioms
- true
if multiple disjoint classes
axioms should be used to make the descriptions pairwise disjoint (for backwards
compatibility with OWL 1.0), or false
if one disjoint classes axiom
should be used (preferred OWL 1.1 method).targetOntology
- The target ontology which the changes will be applied to.
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.