org.semanticweb.owl.impl.model
Class OWLSubClassAxiomImpl

java.lang.Object
  |
  +--org.semanticweb.owl.impl.model.OWLObjectImpl
        |
        +--org.semanticweb.owl.impl.model.OWLClassAxiomImpl
              |
              +--org.semanticweb.owl.impl.model.OWLSubClassAxiomImpl
All Implemented Interfaces:
Cloneable, OWLClassAxiom, OWLObject, OWLOntologyObject, OWLSubClassAxiom, Serializable

public class OWLSubClassAxiomImpl
extends OWLClassAxiomImpl
implements OWLSubClassAxiom

An axiom asserting a subclass relationship between a pair of Descriptions.

Version:
$Id: OWLSubClassAxiomImpl.java,v 1.1.1.1 2003/10/14 17:10:15 sean_bechhofer Exp $
See Also:
Serialized Form

Constructor Summary
OWLSubClassAxiomImpl(OWLDataFactoryImpl factory, OWLDescription subClass, OWLDescription superClass)
           
 
Method Summary
 void accept(OWLClassAxiomVisitor visitor)
          Accept a visit from a visitor
 void accept(OWLObjectVisitor visitor)
          Accept a visit from a visitor
 Set getOntologies()
          Returns the collection of ontologies that this object is known to occur in.
 OWLDescription getSubClass()
           
 OWLDescription getSuperClass()
           
 
Methods inherited from class org.semanticweb.owl.impl.model.OWLClassAxiomImpl
addOntology, removeOntology
 
Methods inherited from class org.semanticweb.owl.impl.model.OWLObjectImpl
clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 

Constructor Detail

OWLSubClassAxiomImpl

public OWLSubClassAxiomImpl(OWLDataFactoryImpl factory,
                            OWLDescription subClass,
                            OWLDescription superClass)
Method Detail

getSuperClass

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

getSubClass

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

getOntologies

public Set getOntologies()
Description copied from interface: OWLOntologyObject
Returns the collection of ontologies that this object is known to occur in.

Specified by:
getOntologies in interface OWLOntologyObject
Overrides:
getOntologies in class OWLClassAxiomImpl
Returns:
a Set value

accept

public void accept(OWLObjectVisitor visitor)
            throws OWLException
Description copied from interface: OWLObject
Accept a visit from a visitor

Specified by:
accept in interface OWLObject
Specified by:
accept in class OWLObjectImpl
OWLException

accept

public void accept(OWLClassAxiomVisitor visitor)
            throws OWLException
Description copied from interface: OWLClassAxiom
Accept a visit from a visitor

Specified by:
accept in interface OWLClassAxiom
OWLException


WonderWeb