Class AnnotationComponentsCriteria
java.lang.Object
edu.stanford.protege.webprotege.criteria.AnnotationComponentsCriteria
- All Implemented Interfaces:
AnnotationCriteria,Criteria
Matthew Horridge
Stanford Center for Biomedical Informatics Research
11 Jun 2018
Represents criteria to match an annotation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> Raccept(AnnotationCriteriaVisitor<R> visitor) static AnnotationCriteriaA convenicence method to create criteria that will match any annotation.static AnnotationComponentsCriteriaget(AnnotationPropertyCriteria propertyCriteria, AnnotationValueCriteria valueCriteria) A convenience method to create criteria that match an annotation based on its property and its value.static AnnotationComponentsCriteriaget(AnnotationPropertyCriteria propertyCriteria, AnnotationValueCriteria valueCriteria, AnnotationSetCriteria annotationSetCriteria) Creates criteria that match an annotation based on its property, its value, its set of annotations.abstract AnnotationPropertyCriteriaabstract AnnotationSetCriteriaabstract AnnotationValueCriteria
-
Constructor Details
-
AnnotationComponentsCriteria
public AnnotationComponentsCriteria()
-
-
Method Details
-
get
@Nonnull public static AnnotationComponentsCriteria get(@Nonnull AnnotationPropertyCriteria propertyCriteria, @Nonnull AnnotationValueCriteria valueCriteria, @Nonnull AnnotationSetCriteria annotationSetCriteria) Creates criteria that match an annotation based on its property, its value, its set of annotations.- Parameters:
propertyCriteria- The criteria for matching the property.valueCriteria- The criteria for matching the value.annotationSetCriteria- The criteria for matching annotations on the annotation.
-
get
@Nonnull public static AnnotationComponentsCriteria get(@Nonnull AnnotationPropertyCriteria propertyCriteria, @Nonnull AnnotationValueCriteria valueCriteria) A convenience method to create criteria that match an annotation based on its property and its value. The annotation must be present. Annotations on the annotation are ignored.- Parameters:
propertyCriteria- The criteria for matching the property.valueCriteria- The criteria for matching the value.
-
anyAnnotation
A convenicence method to create criteria that will match any annotation. -
getAnnotationPropertyCriteria
-
getAnnotationValueCriteria
-
getAnnotationSetCriteria
-
accept
- Specified by:
acceptin interfaceAnnotationCriteria
-