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
OWLSubClassAxiomImpl
public OWLSubClassAxiomImpl(OWLDataFactoryImpl factory,
OWLDescription subClass,
OWLDescription superClass)
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