public interface HasAnnotations
| Modifier and Type | Method and Description | 
|---|---|
| default Stream<OWLAnnotation> | annotations() | 
| default Stream<OWLAnnotation> | annotations(OWLAnnotationProperty p) | 
| default Stream<OWLAnnotation> | annotations(Predicate<OWLAnnotation> p) | 
| default List<OWLAnnotation> | annotationsAsList() | 
| default Set<OWLAnnotation> | getAnnotations()Gets the annotations on this object. | 
| default Set<OWLAnnotation> | getAnnotations(OWLAnnotationProperty annotationProperty)Gets the annotations whose annotation property is equal to  annotationProperty. | 
default Stream<OWLAnnotation> annotations()
default List<OWLAnnotation> annotationsAsList()
default Stream<OWLAnnotation> annotations(Predicate<OWLAnnotation> p)
p - filter predicate for annotations. Can be used to match the annotation property or
        the annotation valuedefault Stream<OWLAnnotation> annotations(OWLAnnotationProperty p)
p - annotation property to filter ondefault Set<OWLAnnotation> getAnnotations()
default Set<OWLAnnotation> getAnnotations(OWLAnnotationProperty annotationProperty)
annotationProperty.annotationProperty - The annotation property that will be equal to the annotation
        property of each returned annotation.annotationProperty.Copyright © 2020 The University of Manchester. All rights reserved.