edu.stanford.protege.webprotege.viz.AnyInstanceOfEdgeCriteria Maven / Gradle / Ivy
package edu.stanford.protege.webprotege.viz;
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
* 2019-12-05
*/
@AutoValue
@JsonTypeName("AnyInstanceOfEdge")
public abstract class AnyInstanceOfEdgeCriteria implements EdgeTypeCriteria {
@JsonCreator
@Nonnull
public static AnyInstanceOfEdgeCriteria get() {
return new AutoValue_AnyInstanceOfEdgeCriteria();
}
@Override
public R accept(@Nonnull EdgeCriteriaVisitor visitor) {
return visitor.visit(this);
}
@Nonnull
@Override
public EdgeCriteria simplify() {
return this;
}
}