Package org.semanticweb.owlapi.change
Class OntologyAnnotationChangeData
java.lang.Object
org.semanticweb.owlapi.change.OWLOntologyChangeData
org.semanticweb.owlapi.change.OntologyAnnotationChangeData
- All Implemented Interfaces:
Serializable
,HasSignature
- Direct Known Subclasses:
AddOntologyAnnotationData
,RemoveOntologyAnnotationData
Represents the specific non-ontology data required by an
Instances of this class are immutable.
AddOntologyAnnotation
change. Instances of this class are immutable.
- Since:
- 3.3
- Author:
- Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOntologyAnnotationChangeData
(OWLAnnotation annotation) Constructs anOntologyAnnotationChangeData
object that describes anAddOntologyAnnotation
change for theOWLAnnotation
specified by theannotation
parameter. -
Method Summary
Modifier and TypeMethodDescriptionGets theOWLAnnotation
that is the focus of someAddOntologyAnnotation
change.getItem()
Methods inherited from class org.semanticweb.owlapi.change.OWLOntologyChangeData
accept, createOntologyChange, equals, hashCode, toString
Methods inherited from interface org.semanticweb.owlapi.model.HasSignature
getSignature, unsortedSignature
-
Constructor Details
-
OntologyAnnotationChangeData
Constructs anOntologyAnnotationChangeData
object that describes anAddOntologyAnnotation
change for theOWLAnnotation
specified by theannotation
parameter.- Parameters:
annotation
- TheOWLAnnotation
that is the focus of some change.
-
-
Method Details
-
getAnnotation
Gets theOWLAnnotation
that is the focus of someAddOntologyAnnotation
change.- Returns:
- The
OWLAnnotation
.
-
getItem
- Specified by:
getItem
in classOWLOntologyChangeData
- Returns:
- the object this change is adding or removing
-
signature
- Returns:
- Stream of the signature of this object.
-