Class AnnotationComponentsCriteria

java.lang.Object
edu.stanford.protege.webprotege.criteria.AnnotationComponentsCriteria
All Implemented Interfaces:
AnnotationCriteria, Criteria

public abstract class AnnotationComponentsCriteria extends Object implements AnnotationCriteria
Matthew Horridge Stanford Center for Biomedical Informatics Research 11 Jun 2018 Represents criteria to match an annotation
  • 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

      @Nonnull public static AnnotationCriteria anyAnnotation()
      A convenicence method to create criteria that will match any annotation.
    • getAnnotationPropertyCriteria

      @Nonnull public abstract AnnotationPropertyCriteria getAnnotationPropertyCriteria()
    • getAnnotationValueCriteria

      @Nonnull public abstract AnnotationValueCriteria getAnnotationValueCriteria()
    • getAnnotationSetCriteria

      @Nonnull public abstract AnnotationSetCriteria getAnnotationSetCriteria()
    • accept

      @Nonnull public <R> R accept(@Nonnull AnnotationCriteriaVisitor<R> visitor)
      Specified by:
      accept in interface AnnotationCriteria