org.semanticweb.owl.impl.model
Class OWLEntityImpl

java.lang.Object
  |
  +--org.semanticweb.owl.impl.model.OWLObjectImpl
        |
        +--org.semanticweb.owl.impl.model.OWLNamedObjectImpl
              |
              +--org.semanticweb.owl.impl.model.OWLEntityImpl
All Implemented Interfaces:
Cloneable, OWLEntity, OWLNamedObject, OWLObject, OWLOntologyObject, Serializable
Direct Known Subclasses:
OWLClassImpl, OWLIndividualImpl, OWLPropertyImpl

public abstract class OWLEntityImpl
extends OWLNamedObjectImpl
implements OWLEntity

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

Field Summary
 
Fields inherited from class org.semanticweb.owl.impl.model.OWLNamedObjectImpl
uri
 
Constructor Summary
OWLEntityImpl(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.OWLNamedObjectImpl
getURI
 
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.OWLEntity
accept
 
Methods inherited from interface org.semanticweb.owl.model.OWLNamedObject
getURI
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, clone, getAnnotations, getAnnotations, getContainedObjects, getMetadata, getOWLConnection, getOWLDataFactory
 

Constructor Detail

OWLEntityImpl

public OWLEntityImpl(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