org.semanticweb.owl.impl.model
Class OWLSubPropertyAxiomImpl

java.lang.Object
  |
  +--org.semanticweb.owl.impl.model.OWLObjectImpl
        |
        +--org.semanticweb.owl.impl.model.OWLPropertyAxiomImpl
              |
              +--org.semanticweb.owl.impl.model.OWLSubPropertyAxiomImpl
All Implemented Interfaces:
Cloneable, OWLObject, OWLOntologyObject, OWLPropertyAxiom, OWLSubPropertyAxiom, Serializable

public class OWLSubPropertyAxiomImpl
extends OWLPropertyAxiomImpl
implements OWLSubPropertyAxiom

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

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

Constructor Summary
OWLSubPropertyAxiomImpl(OWLDataFactoryImpl factory, OWLProperty subProperty, OWLProperty superProperty)
           
 
Method Summary
 void accept(OWLObjectVisitor visitor)
          Accept a visit from a visitor
 void accept(OWLPropertyAxiomVisitor visitor)
          Accept a visit from a visitor
 Set getOntologies()
          Returns the collection of ontologies that this object is known to occur in.
 OWLProperty getSubProperty()
           
 OWLProperty getSuperProperty()
           
 
Methods inherited from class org.semanticweb.owl.impl.model.OWLPropertyAxiomImpl
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

OWLSubPropertyAxiomImpl

public OWLSubPropertyAxiomImpl(OWLDataFactoryImpl factory,
                               OWLProperty subProperty,
                               OWLProperty superProperty)
Method Detail

getSuperProperty

public OWLProperty getSuperProperty()
Specified by:
getSuperProperty in interface OWLSubPropertyAxiom

getSubProperty

public OWLProperty getSubProperty()
Specified by:
getSubProperty in interface OWLSubPropertyAxiom

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 OWLPropertyAxiomImpl
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(OWLPropertyAxiomVisitor visitor)
            throws OWLException
Description copied from interface: OWLPropertyAxiom
Accept a visit from a visitor

Specified by:
accept in interface OWLPropertyAxiom
OWLException


WonderWeb