All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.criteria.AnyAnnotationPropertyCriteria Maven / Gradle / Ivy

There is a newer version: 0.9.2
Show newest version
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
 * 11 Jun 2018
 *
 * Criteria for matching any annotation property
 */
@AutoValue

@JsonTypeName("AnyAnnotationProperty")
public abstract class AnyAnnotationPropertyCriteria implements AnnotationPropertyCriteria {

    @Nonnull
    @JsonCreator
    public static AnyAnnotationPropertyCriteria get() {
        return new AutoValue_AnyAnnotationPropertyCriteria();
    }

    @Nonnull
    public static AnyAnnotationPropertyCriteria anyAnnotationProperty() {
        return get();
    }

    @Override
    public  R accept(@Nonnull AnnotationPropertyCriteriaVisitor visitor) {
        return visitor.visit(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy