org.semanticweb.owl.impl.model
Class OWLIndividualAxiomImpl

java.lang.Object
  |
  +--org.semanticweb.owl.impl.model.OWLObjectImpl
        |
        +--org.semanticweb.owl.impl.model.OWLIndividualAxiomImpl
All Implemented Interfaces:
Cloneable, OWLIndividualAxiom, OWLObject, OWLOntologyObject, Serializable
Direct Known Subclasses:
OWLDifferentIndividualsAxiomImpl, OWLSameIndividualsAxiomImpl

public abstract class OWLIndividualAxiomImpl
extends OWLObjectImpl
implements OWLIndividualAxiom

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

Constructor Summary
OWLIndividualAxiomImpl(OWLDataFactoryImpl factory, Set set)
           
 
Method Summary
protected  void addOntology(OWLOntologyImpl o)
          Add the given ontology to the collection that this class knows it appears in.
 Set getIndividuals()
           
 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
 
Methods inherited from interface org.semanticweb.owl.model.OWLIndividualAxiom
accept
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 

Constructor Detail

OWLIndividualAxiomImpl

public OWLIndividualAxiomImpl(OWLDataFactoryImpl factory,
                              Set set)
Method Detail

getIndividuals

public Set getIndividuals()
Specified by:
getIndividuals in interface OWLIndividualAxiom

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