org.semanticweb.owl.model
Interface OWLEntity
- All Superinterfaces:
- Cloneable, OWLNamedObject, OWLObject, OWLOntologyObject, Serializable
- All Known Subinterfaces:
- OWLAnnotationProperty, OWLClass, OWLDataProperty, OWLIndividual, OWLObjectProperty, OWLProperty
- All Known Implementing Classes:
- OWLAnnotationPropertyImpl, OWLClassImpl, OWLDataPropertyImpl, OWLEntityImpl, OWLIndividualImpl, OWLObjectPropertyImpl, OWLPropertyImpl
- public interface OWLEntity
- extends OWLNamedObject, OWLOntologyObject
A top level interface for entities -- the primitive kinds of things
that are found in Ontologies. OWLEntities accept visits from OWLEntityVisitor.
The use of the Visitor pattern (see Design Patterns, Gamma
et. al. p.331) allows us to extend the functionality of the data
structures without having to alter the underlying implementation.
OWLEntity.java
- Version:
- $Id: OWLEntity.java,v 1.1.1.1 2003/10/14 17:10:08 sean_bechhofer Exp $
accept
public void accept(OWLEntityVisitor visitor)
throws OWLException
- Accept a visit from a visitor
OWLException
WonderWeb