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
|
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 interface org.semanticweb.owl.model.OWLEntity |
accept |
OWLEntityImpl
public OWLEntityImpl(OWLDataFactoryImpl factory)
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