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()
Deprecated.
use the stream method
|
default Set<OWLAnnotation> |
getAnnotations(OWLAnnotationProperty annotationProperty)
Deprecated.
use the stream method
|
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 on@Deprecated default Set<OWLAnnotation> getAnnotations()
@Deprecated 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 © 2018 The University of Manchester. All rights reserved.