Interface AnnotationProvider
- All Known Subinterfaces:
OWLDataFactory
- All Known Implementing Classes:
OWLDataFactoryImpl
public interface AnnotationProvider
Annotation provider interface.
-
Method Summary
Modifier and TypeMethodDescriptiongetOWLAnnotation
(OWLAnnotationProperty property, OWLAnnotationValue value) Gets an annotationdefault OWLAnnotation
getOWLAnnotation
(OWLAnnotationProperty property, OWLAnnotationValue value, Collection<OWLAnnotation> annotations) Gets an annotationgetOWLAnnotation
(OWLAnnotationProperty property, OWLAnnotationValue value, Stream<OWLAnnotation> annotations) Gets an annotationdefault OWLAnnotation
getOWLAnnotation
(OWLAnnotationProperty property, OWLAnnotationValue value, OWLAnnotation annotation) Gets an annotation
-
Method Details
-
getOWLAnnotation
Gets an annotation- Parameters:
property
- the annotation property.value
- The annotation value.- Returns:
- The annotation on the specified property with the specified value
-
getOWLAnnotation
default OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value, Collection<OWLAnnotation> annotations) Gets an annotation- Parameters:
property
- the annotation property.value
- The annotation value.annotations
- A set of annotations. Cannot be null or contain nulls.- Returns:
- The annotation on the specified property with the specified value
-
getOWLAnnotation
default OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value, OWLAnnotation annotation) Gets an annotation- Parameters:
property
- the annotation property.value
- The annotation value.annotation
- Annotation on this annotation. Cannot be null or contain nulls.- Returns:
- The annotation on the specified property with the specified value
-
getOWLAnnotation
OWLAnnotation getOWLAnnotation(OWLAnnotationProperty property, OWLAnnotationValue value, Stream<OWLAnnotation> annotations) Gets an annotation- Parameters:
property
- the annotation property.value
- The annotation value.annotations
- A stream of annotations. Cannot be null or contain nulls.- Returns:
- The annotation on the specified property with the specified value
-