edu.stanford.protege.webprotege.viz.AnyNodeCriteria Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.viz;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.auto.value.AutoValue;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 2019-12-06
*/
@AutoValue
@JsonTypeName("AnyNode")
public abstract class AnyNodeCriteria implements EdgeNodeCriteria {
@Override
public R accept(@Nonnull EdgeCriteriaVisitor visitor) {
return visitor.visit(this);
}
@Nonnull
@Override
public EdgeCriteria simplify() {
return this;
}
}