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

edu.stanford.protege.webprotege.viz.AnySubClassOfEdgeCriteria Maven / Gradle / Ivy

There is a newer version: 2.0.2-WHO
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy