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
OWLSubPropertyAxiomImpl
public OWLSubPropertyAxiomImpl(OWLDataFactoryImpl factory,
OWLProperty subProperty,
OWLProperty superProperty)
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