edu.stanford.protege.webprotege.viz.AnySubClassOfEdgeCriteria 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("AnySubClassOfEdge")
public abstract class AnySubClassOfEdgeCriteria implements EdgeTypeCriteria {
@JsonCreator
@Nonnull
public static AnySubClassOfEdgeCriteria get() {
return new AutoValue_AnySubClassOfEdgeCriteria();
}
@Override
public R accept(@Nonnull EdgeCriteriaVisitor visitor) {
return visitor.visit(this);
}
@Nonnull
@Override
public EdgeCriteria simplify() {
return this;
}
}