org.semanticweb.owlapi.model
Interface OWLEquivalentClassesAxiom

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

public interface OWLEquivalentClassesAxiom
extends OWLNaryClassAxiom

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


Method Summary
 java.util.Set<OWLSubClassOfAxiom> asSubClassAxioms()
          Gets an equivalent representation of this axiom as subclass axioms.
 boolean containsNamedEquivalentClass()
          Determines if this equivalent classes axiom contains at least one named class (excluding owl:Thing or owl:Nothing).
 boolean containsOWLNothing()
          Determines if this class axiom makes a class expression equivalent to nothing.
 boolean containsOWLThing()
          Determines if this class axiom makes a class expression equivalent to thing.
 OWLEquivalentClassesAxiom getAxiomWithoutAnnotations()
          Gets an axiom that is structurally equivalent to this axiom without annotations.
 java.util.Set<OWLClass> getNamedClasses()
          Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent classes axiom.
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLNaryClassAxiom
getClassExpressions, getClassExpressionsMinus
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiom
accept, accept, getAnnotatedAxiom, getAnnotations, getAxiomType, getNNF, getReferencedEntities, isAnnotated, isLogicalAxiom, isOfType, isOfType
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

containsNamedEquivalentClass

boolean containsNamedEquivalentClass()
Determines if this equivalent classes axiom contains at least one named class (excluding owl:Thing or owl:Nothing).

Returns:
true if the axiom contains at least one named class otherwise false. Note that this method will return false if the only named classes are owl:Thing or owl:Nothing.

getNamedClasses

java.util.Set<OWLClass> getNamedClasses()
Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent classes axiom.

Returns:
A set of classes that represents the named classes that are specified to be equivalent to some other class (expression), excluding the built in classes owl:Thing and owl:Nothing

containsOWLNothing

boolean containsOWLNothing()
Determines if this class axiom makes a class expression equivalent to nothing.

Returns:
true if this axiom contains owl:Nothing as an equivalent class.

containsOWLThing

boolean containsOWLThing()
Determines if this class axiom makes a class expression equivalent to thing.

Returns:
true if this axioms contains owl:Thing as an equivalent class.

asSubClassAxioms

java.util.Set<OWLSubClassOfAxiom> asSubClassAxioms()
Gets an equivalent representation of this axiom as subclass axioms. EquivalentClasses(A B) is equivalent to SubClassOf(A B) and SubClassOf(B A).

Returns:
A set of subclass axioms that when taken together are equivalent to this equivalent classes axiom.

getAxiomWithoutAnnotations

OWLEquivalentClassesAxiom 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