edu.stanford.protege.webprotege.criteria.AnyAnnotationValueCriteria Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webprotege-criteria Show documentation
Show all versions of webprotege-criteria Show documentation
Data structures for representing matching criteria
package edu.stanford.protege.webprotege.criteria;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.auto.value.AutoValue;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 12 Jun 2018
*
* Criteria that matches any annotation value
*/
@AutoValue
@JsonTypeName("AnyAnnotationValue")
public abstract class AnyAnnotationValueCriteria implements AnnotationValueCriteria {
@Nonnull
@JsonCreator
public static AnyAnnotationValueCriteria get() {
return new AutoValue_AnyAnnotationValueCriteria();
}
/**
* A convenicen method that returns an instance of {@link AnyAnnotationPropertyCriteria}.
*/
@Nonnull
@JsonCreator
public static AnyAnnotationValueCriteria anyValue() {
return get();
}
@Override
public R accept(@Nonnull AnnotationValueCriteriaVisitor visitor) {
return visitor.visit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy