Class AnnotationChange

java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyChange
org.semanticweb.owlapi.model.AnnotationChange
All Implemented Interfaces:
Serializable, HasSignature
Direct Known Subclasses:
AddOntologyAnnotation, RemoveOntologyAnnotation

public abstract class AnnotationChange extends OWLOntologyChange
Since:
3.0.0
Author:
Matthew Horridge, The University of Manchester, Information Management Group
See Also:
  • Constructor Details

    • AnnotationChange

      public AnnotationChange(OWLOntology ont, OWLAnnotation annotation)
      Parameters:
      ont - the ontology to which the change is to be applied
      annotation - the annotation
  • Method Details

    • signature

      public Stream<OWLEntity> signature()
      Returns:
      Stream of the signature of this object.
    • getAnnotation

      public OWLAnnotation getAnnotation()
      Gets the annotation that was added to an ontology.
      Returns:
      The annotation that was added