uk.ac.manchester.cs.owl
Class OWLSubClassAxiomImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLAxiomImpl
          extended by uk.ac.manchester.cs.owl.OWLLogicalAxiomImpl
              extended by uk.ac.manchester.cs.owl.OWLClassAxiomImpl
                  extended by uk.ac.manchester.cs.owl.OWLNaryClassAxiomImpl
                      extended by uk.ac.manchester.cs.owl.OWLSubClassAxiomImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLClassAxiom, OWLLogicalAxiom, OWLNaryClassAxiom, OWLObject, OWLSubClassAxiom

public class OWLSubClassAxiomImpl
extends OWLNaryClassAxiomImpl
implements OWLSubClassAxiom

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


Constructor Summary
OWLSubClassAxiomImpl(OWLDataFactory dataFactory, OWLDescription subClass, OWLDescription superClass)
           
 
Method Summary
 void accept(OWLAxiomVisitor visitor)
           
<O> O
accept(OWLAxiomVisitorEx<O> visitor)
           
 void accept(OWLObjectVisitor visitor)
           
<O> O
accept(OWLObjectVisitorEx<O> visitor)
           
 boolean equals(java.lang.Object obj)
           
 AxiomType getAxiomType()
          Gets the axiom type for this axiom.
 OWLDescription getSubClass()
           
 OWLDescription getSuperClass()
           
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLNaryClassAxiomImpl
getDescriptions
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLLogicalAxiomImpl
isLogicalAxiom
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLAxiomImpl
getAnnotationAxioms, getReferencedEntities
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl
compareTo, getOWLDataFactory, getSignature, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLNaryClassAxiom
getDescriptions
 
Methods inherited from interface org.semanticweb.owl.model.OWLAxiom
getAnnotationAxioms, getReferencedEntities, isLogicalAxiom
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLSubClassAxiomImpl

public OWLSubClassAxiomImpl(OWLDataFactory dataFactory,
                            OWLDescription subClass,
                            OWLDescription superClass)
Method Detail

getSubClass

public OWLDescription getSubClass()
Specified by:
getSubClass in interface OWLSubClassAxiom

getSuperClass

public OWLDescription getSuperClass()
Specified by:
getSuperClass in interface OWLSubClassAxiom

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OWLNaryClassAxiomImpl

accept

public void accept(OWLAxiomVisitor visitor)
Specified by:
accept in interface OWLAxiom

accept

public void accept(OWLObjectVisitor visitor)
Specified by:
accept in interface OWLObject

accept

public <O> O accept(OWLAxiomVisitorEx<O> visitor)
Specified by:
accept in interface OWLAxiom

accept

public <O> O accept(OWLObjectVisitorEx<O> visitor)
Specified by:
accept in interface OWLObject

getAxiomType

public AxiomType getAxiomType()
Description copied from interface: OWLAxiom
Gets the axiom type for this axiom.

Specified by:
getAxiomType in interface OWLAxiom
Returns:
The axiom type that corresponds to the type of this axiom.