org.semanticweb.owl.model.change
Class AddEntity
java.lang.Object
|
+--org.semanticweb.owl.model.change.OntologyChange
|
+--org.semanticweb.owl.model.change.AddEntity
- public class AddEntity
- extends OntologyChange
Add a new Entity.
- Version:
- $Id: AddEntity.java,v 1.1.1.1 2003/10/14 17:10:09 sean_bechhofer Exp $
AddEntity
public AddEntity(OWLOntology ontology,
OWLEntity entity,
OntologyChange cause)
- Parameters:
ontology - an OWLOntology valueentity - an OWLEntity valuecause - a OntologyChange value
getEntity
public OWLEntity getEntity()
- The entity that should be added.
- Returns:
- an
OWLEntity value
accept
public void accept(ChangeVisitor visitor)
throws OWLException
- Description copied from class:
OntologyChange
- Accept a visit from a change visitor.
- Specified by:
accept in class OntologyChange
- Parameters:
visitor - a ChangeVisitor value
OWLException
toString
public String toString()
- Overrides:
toString in class Object
WonderWeb