edu.stanford.protege.webprotege.viz.RelationshipEdgePropertyEqualsCriteria Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.viz;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.google.auto.value.AutoValue;
import org.semanticweb.owlapi.model.OWLProperty;
import javax.annotation.Nonnull;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 2019-12-05
*/
@AutoValue
@JsonTypeName("RelationshipEdgePropertyEquals")
public abstract class RelationshipEdgePropertyEqualsCriteria implements EdgeCriteria {
@JsonCreator
public static RelationshipEdgePropertyEqualsCriteria get(@Nonnull @JsonProperty("property") OWLProperty property) {
return new AutoValue_RelationshipEdgePropertyEqualsCriteria(property);
}
@Override
public R accept(@Nonnull EdgeCriteriaVisitor visitor) {
return visitor.visit(this);
}
@Nonnull
public abstract OWLProperty getProperty();
@Nonnull
@Override
public EdgeCriteria simplify() {
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy