org.semanticweb.owl.impl.model
Class OWLClassAxiomImpl

java.lang.Object
  |
  +--org.semanticweb.owl.impl.model.OWLObjectImpl
        |
        +--org.semanticweb.owl.impl.model.OWLClassAxiomImpl
All Implemented Interfaces:
Cloneable, OWLObject, OWLOntologyObject, Serializable
Direct Known Subclasses:
OWLDisjointClassesAxiomImpl, OWLEquivalentClassesAxiomImpl, OWLSubClassAxiomImpl

public abstract class OWLClassAxiomImpl
extends OWLObjectImpl
implements OWLOntologyObject

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

Constructor Summary
OWLClassAxiomImpl(OWLDataFactoryImpl factory)
           
 
Method Summary
protected  void addOntology(OWLOntologyImpl o)
          Add the given ontology to the collection that this class knows it appears in.
 Set getOntologies()
          Returns the collection of ontologies that this object is known to occur in.
protected  boolean removeOntology(OWLOntologyImpl o)
          Remove the given ontology from the collection that this class knows it appears in.
 
Methods inherited from class org.semanticweb.owl.impl.model.OWLObjectImpl
accept, clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLClassAxiomImpl

public OWLClassAxiomImpl(OWLDataFactoryImpl factory)
Method Detail

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
Returns:
a Set value

addOntology

protected void addOntology(OWLOntologyImpl o)
Add the given ontology to the collection that this class knows it appears in.

Parameters:
o - an OWLOntologyImpl value

removeOntology

protected boolean removeOntology(OWLOntologyImpl o)
Remove the given ontology from the collection that this class knows it appears in.

Parameters:
o - an OWLOntologyImpl value


WonderWeb