public abstract class OntologyAnnotationChangeData extends OWLOntologyChangeData
AddOntologyAnnotation
change. 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. |
Set<OWLEntity> |
getSignature()
Gets the (possibly empty) signature of this change data.
|
int |
hashCode() |
String |
toString() |
accept, createOntologyChange
public 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
.public Set<OWLEntity> getSignature()
OWLOntologyChangeData
getSignature
in interface HasSignature
getSignature
in class OWLOntologyChangeData
OWLEntity
objects that represent the signature
of this change data. Not null
.Copyright © 2017 The University of Manchester. All Rights Reserved.