org.semanticweb.owl.model
Interface OWLEquivalentClassesAxiom

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLClassAxiom, OWLLogicalAxiom, OWLNaryClassAxiom, OWLObject

public interface OWLEquivalentClassesAxiom
extends OWLNaryClassAxiom

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


Method Summary
 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 description equivalent to nothing.
 boolean containsOWLThing()
          Determines if this class axiom makes a class description equivalent to thing.
 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.owl.model.OWLNaryClassAxiom
getDescriptions
 
Methods inherited from interface org.semanticweb.owl.model.OWLAxiom
accept, accept, getAnnotationAxioms, getAxiomType, getNNF, getReferencedEntities, isLogicalAxiom
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept, 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 (description), excluding the built in classes owl:Thing and owl:Nothing

containsOWLNothing

boolean containsOWLNothing()
Determines if this class axiom makes a class description 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 description equivalent to thing.

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