org.semanticweb.owlapi.model
Interface OWLDisjointUnionAxiom

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLClassAxiom, OWLLogicalAxiom, OWLObject
All Known Implementing Classes:
OWLDisjointUnionAxiomImpl

public interface OWLDisjointUnionAxiom
extends OWLClassAxiom

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group Date: 24-Oct-2006

Represents a DisjointUnion axiom in the OWL 2 Specification.


Method Summary
 OWLDisjointUnionAxiom getAxiomWithoutAnnotations()
          Gets an axiom that is structurally equivalent to this axiom without annotations.
 java.util.Set<OWLClassExpression> getClassExpressions()
          Gets the class expressions which are operands of the disjoint union.
 OWLClass getOWLClass()
          Gets the class which is equivalent to the disjoint union.
 OWLDisjointClassesAxiom getOWLDisjointClassesAxiom()
          Gets the part of this axiom that corresponds to an DisjointClasses axiom.
 OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom()
          Gets the part of this axiom that corresponds to an EquivalentClasses axiom.
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiom
accept, accept, equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotations, getAnnotations, getAxiomType, getNNF, isAnnotated, isLogicalAxiom, isOfType, isOfType
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getOWLClass

OWLClass getOWLClass()
Gets the class which is equivalent to the disjoint union.

Returns:
the class that is equivalent to a disjoint union of other classes.

getClassExpressions

java.util.Set<OWLClassExpression> getClassExpressions()
Gets the class expressions which are operands of the disjoint union.

Returns:
A Set containing the operands of the disjoint union, note that this does not include the OWLClass that is equivalent to the disjoint union.

getOWLEquivalentClassesAxiom

OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom()
Gets the part of this axiom that corresponds to an EquivalentClasses axiom.

Returns:
The equivalent classes axiom part of this axiom. This is essentially, EquivalentClasses(CE, CEUnion) where CEUnion is the union of the classes returned by the getClassExpressions() method and CE is the class returned by the getOWLClass() method.

getOWLDisjointClassesAxiom

OWLDisjointClassesAxiom getOWLDisjointClassesAxiom()
Gets the part of this axiom that corresponds to an DisjointClasses axiom.

Returns:
The disjoint classes axiom part of this axiom. This is essentially, DisjointClasses(CE1, ..., CEn) where CEi in {CE1, ..., CEn} is contained in the classes returned by the getClassExpressions() method.

getAxiomWithoutAnnotations

OWLDisjointUnionAxiom getAxiomWithoutAnnotations()
Description copied from interface: OWLAxiom
Gets an axiom that is structurally equivalent to this axiom without annotations. This essentially returns a version of this axiom stripped of any annotations

Specified by:
getAxiomWithoutAnnotations in interface OWLAxiom
Returns:
The annotationless version of this axiom