public abstract class OntologyAnnotationChangeData extends OWLOntologyChangeData
Represents the specific non-ontology data required by an AddOntologyAnnotation change.
Instances of this class are immutable.
| Constructor and Description |
|---|
OntologyAnnotationChangeData(OWLAnnotation annotation)
Constructs an
OntologyAnnotationChangeData object that describes an AddOntologyAnnotation change
for the OWLAnnotation specified by the annotation parameter. |
| Modifier and Type | Method and Description |
|---|---|
OWLAnnotation |
getAnnotation()
Gets the
OWLAnnotation that is the focus of some AddOntologyAnnotation change. |
int |
hashCode() |
String |
toString() |
accept, createOntologyChangepublic OntologyAnnotationChangeData(OWLAnnotation annotation)
OntologyAnnotationChangeData 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 OWLAnnotation getAnnotation()
OWLAnnotation that is the focus of some AddOntologyAnnotation change.OWLAnnotation. Not null.Copyright © 2013 The University of Manchester. All Rights Reserved.