edu.stanford.protege.webprotege.criteria.RootCriteria 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.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import java.util.List;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 11 Jun 2018
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "match")
@JsonSubTypes({
@Type(EntityMatchCriteria.class)
})
public interface RootCriteria extends Criteria {
R accept(RootCriteriaVisitor visitor);
default CompositeRootCriteria asCompositeRootCriteria() {
return CompositeRootCriteria.get(List.of(this), MultiMatchType.ALL);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy