public final class AddOntologyAnnotationData extends OntologyAnnotationChangeData
AddOntologyAnnotation change. | Constructor and Description |
|---|
AddOntologyAnnotationData(OWLAnnotation annotation)
Constructs an
AddOntologyAnnotationData object that describes an
AddOntologyAnnotation change for the OWLAnnotation
specified by the annotation parameter. |
| Modifier and Type | Method and Description |
|---|---|
<O,E extends Exception> |
accept(OWLOntologyChangeDataVisitor<O,E> visitor)
Accepts a visit from an
OWLOntologyChangeDataVisitor. |
AddOntologyAnnotation |
createOntologyChange(OWLOntology ontology)
Creates an
OWLOntologyChange object that pertains to the
specified ontology, which when applied to the specified ontology
enacts the change described by this info object. |
boolean |
equals(Object obj) |
getAnnotation, getSignature, hashCode, toStringpublic AddOntologyAnnotationData(OWLAnnotation annotation)
AddOntologyAnnotationData object that describes an
AddOntologyAnnotation change for the OWLAnnotation
specified by the annotation parameter.annotation - The OWLAnnotation that is the focus of some change. Not
null.NullPointerException - if annotation is null.public AddOntologyAnnotation createOntologyChange(OWLOntology ontology)
OWLOntologyChangeDataOWLOntologyChange object that pertains to the
specified ontology, which when applied to the specified ontology
enacts the change described by this info object.createOntologyChange in class OWLOntologyChangeDataontology - The OWLOntology that the change should apply to. Not
null.OWLOntologyChange object that applies to
ontology and changes ontology is a way that is
consistent with this the information held in this
OWLOntologyChangeData object.public <O,E extends Exception> O accept(OWLOntologyChangeDataVisitor<O,E> visitor) throws E extends Exception
OWLOntologyChangeDataOWLOntologyChangeDataVisitor.accept in class OWLOntologyChangeDataO - The return type for visitor's visit methods.E - The exception type for exceptions thrown by the visitor's visit
methods.visitor - The visitorE - The exception thrown by the visitor's visit methods.E extends ExceptionCopyright © 2014 The University of Manchester. All Rights Reserved.